Serious Ubuntu upgrade problem
I successfully added the Musescore 2 PPA for Ubuntu Trusty, then attempted to update to install MS. Oddly, it didn't update. I uninstalled Musescore 1.3. Still no sign of MS 2. I know, I did it backwards, and I didn't create a backup either.
Still, what files would I look for? Sometimes a program is installed that doesn't appear automatically in the menus. If I can guess what file to look for and the correct command line, I can add the menu item manually.
But I also have a broken system. Update gives an error message that "Not all updates can be installed". It offers a partial update, which will lead to a lot of unneeded qt packages (and packages to be removed), among others--if I choose to accept it. Is there any chance that this breakage is due to the PPA? Does the PPA involve replacing qt library components?
EDIT: It's pretty much diagnosed in the next message. Suggestions welcome. Thanks.
Comments
sudo apt-get update
sudo apt-get upgrade gets me:
The following packages have been kept back:
libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5
libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5sql5 libqt5sql5-sqlite
libqt5svg5 libqt5test5 libqt5webkit5 libqt5webkit5-qmlwebkitplugin
libqt5widgets5 libqt5xml5 qtdeclarative5-localstorage-plugin
qtdeclarative5-qtquick2-plugin qtdeclarative5-window-plugin
The following packages will be upgraded:
apport apport-gtk gir1.2-gtk-3.0 libgail-3-0 libgtk-3-0 libgtk-3-bin
libgtk-3-common libnautilus-extension1a nautilus nautilus-data oneconf
oneconf-common python-apport python-oneconf python-problem-report
python3-apport python3-oneconf python3-problem-report
18 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
*************
EDIT: The packages that were held back are indeed from the PPA. It appears that I have have version 5.2.1 of libqt*, and I need 5.3. Suggestions?
*************
In reply to sudo apt-get update sudo by RexC
First of all, I suggest cleaning your system by running the following:
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get autoclean
Next, I would suggest not to install Musescore via the Ubuntu PPA, as it's currently (and somewhat inexplicably) out-of-date (version 2.0). Unusually (and handily) though, the official Ubuntu Wily repository has the latest stable version of Musescore (2.0.2), and you can install it by temporarily adding the Wily repo to your update locations. Here's how:
1. Go to: System Settings>Software & Updates
2. Click the "Other Software" tab, and click "Add"
3. Copy/paste the following into the APT line:
deb.http://cz.archive.ubuntu.com/ubuntu wily main universe
...then click "Add source". Make sure the new APT line is checked, let the cache update and then close the "Software & Updates" and "System Settings" windows.
4. Open Synaptic Package Manager, click "reload" and search for Musescore 2 - you should see version 2.0.2. available to install.
5. Install it (Synaptic will mark any necessary dependencies - make sure you install everything marked).
6. To prevent update error messages afterwards, uncheck (or even remove) the Wily repository APT line after installing. Allow cache to update again.
That's it!
In reply to First of all, I suggest by Xasman
1. I did an autoremove, but it did not touch any of the files in question.
2. Clean just clears the download cache. What does that have to do with missing files?
3. Autoclean is a restricted version of clean, and is therefore superfluous if autoclean has already been run.
4. Are you sure it's safe installing Musescore from the wrong repository? Is it even possible?
In reply to 1. I did an autoremove, but by RexC
"Are you sure it's safe installing Musescore from the wrong repository?"
I'm not in the habit of deliberately misleading people. All I can say is that it works with no discernible ill-effects here (on Ubuntu 15.04)
"Is it even possible?"
Yes - as I said, I have it working fine here (on Ubuntu 15.04). I wouldn't have mentioned it if I wasn't sure it were possible.
In fact I learned about it from this post from Tiago Vaz (the MuseScore package maintainer for Ubuntu): https://musescore.org/en/node/71466#comment-329841
EDIT: This works on Ubuntu 15.04, but of course I can't vouch for earlier versions. On re-reading I just noticed that you're still on 14.04 (you mentioned "Trusty" but I'm afraid I missed it - for some reason the Ubuntu OS version names never seem to mean much to me). Posts in the thread mentioned above do seem to imply that the 2.0.2 MS package will only work in 15.04 or later.
In reply to sudo apt-get update sudo by RexC
OK, I tried updating from another Ubuntu Trusty computer. This time I uninstalled Musescore 1.3 first, with the Ubuntu Software Center.
I still have the same problem with the libqt5 version. (Some of the packages, like oneconf* have nothing to do with Musescore, but that's irrelevant.) I have version 5.2.1, but I need 5.3. I possibly could update all those packages manually, BUT there's a BIG PROBLEM:
libqt5core5 is required for such items as signon-ui, ubuntu-desktop, unity-control-center-signon, etc. I'm extremely reluctant to tinker with these packages.
This is starting to look like possibly a huge packaging problem. Suggestions?
In reply to OK, I tried updating from by RexC
I recently changed from Mint17.2 Raphaella (based on Ubuntu 14.04 Trusty) for Kubuntu 15.04 Vivid, added http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu vivid (and source), and installed Musescore 2.0.2
In reply to I recently changed from by robert leleu
Thanks. Unfortunately, there is a problem.
If I open your link in a Web browser, I get a direct look at the files. There are some mysterious choices, e.g.
binary-i386 (version 2.0.0, not 2.0.2) vs.
debian-installer/binary-i386 (which lacks version info).
binary-i386 requires libqt >=5.3.0, so that doesn't solve the library problem at all, since updating from 5.2.1 may break other software. Worse yet, all the files appear to be empty. Did I miss something?
In reply to OK, I tried updating from by RexC
"Suggestions?"
Upgrade to Ubuntu 15.04
In reply to "Suggestions?" Upgrade to by Xasman
By the way, I was under the impression that the QT libraries are only required if and when compiling Musescore from source. AFAIK, those QT libraries are already included inside the pre-built packages.
In reply to By the way, I was under the by Xasman
No, according to Synaptic and all the documentation I have seen, Musescore depends on the qt libraries, and they must be installed as required components.
OK, it turns out that ubuntu-desktop is indeed a libqt package, and updating or nuking it will not destroy my Ubuntu system. The command to install is not
sudo apt-get upgrade,
as the Ubuntu PPA instructions state (if you can find them), but
sudo apt-get install musescore.
All is well. Now if I can just figure out how to get 2.0.2 instead of 2.0.
In reply to OK, it turns out that by RexC
have you tried KXStudio's repository, which should work in ubuntu? http://kxstudio.linuxaudio.org/Repositories
Just run those commands and then sudo apt-get install musescore. They have 2.0.2 with qt statically linked.
In reply to have you tried KXStudio's by ericfontainejazz
Thanks. I've seen that suggestion, among others, and may try it.
This is WAY harder than it should be. At a minimum we need better documentation. I've started a new thread here: https://musescore.org/en/node/74591 .
In reply to OK, it turns out that by RexC
Rats, I can't edit my previous posts. It turns out that I forgot to enable updates from Ubuntu backports. This can be done in the Ubuntu Software Center (Edit > Software Sources...), although it's a little bit hidden. I believe that will be sufficient to get version 2 through the update tools instead of the command line.
I still think a link to clear and simple documentation is needed on the download page.
In reply to Rats, I can't edit my by RexC
Ubuntu backports has nothing to do with it. Disregard my previous message, except for the part about better documentation being needed.
Version 2.0.2 will be released with Ubuntu 15.10 (Wily).
http://packages.ubuntu.com/wily/musescore
In the mean time, and for other releases, the official PPA does seem to work, and updated instructions for its use have been posted.