Since I upgraded my GPU, I removed the Intel's Open Source Technology Center Driver following the procedure from this question.
By doing so a bunch of software was downgraded as expected but some other kinda unrelated were removed.
The following packages were automatically installed and are no longer required:
gnome-software-common libgtkspell3-3-0 libmowgli-2-0 libqt5keychain1 libqtkeychain1 libsnapd-glib1
snapd-login-service
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
gnome-software libnvpair1 libuutil1 libzfs2 libzpool2 ubuntu-software ubuntu-zfs zfsutils
The following NEW packages will be installed:
autoconf automake autopoint dh-autoreconf libcrypto++9v5 libltdl-dev libqt5keychain0 libtool libuv1 m4
The following packages will be upgraded:
appstream debhelper libappstream4 libarchive13
The following packages will be DOWNGRADED:
libguess1 libowncloudsync0 libshairplay0 mkvtoolnix mkvtoolnix-gui nethogs nodejs owncloud-client
owncloud-client-l10n spl spl-dkms synergy xboxdrv zfs-dkms zfs-doc
Among those were gnome-software
and ubuntu-software
. If I try to reinstall them I get a dependency error:
sudo apt install gnome-software ubuntu-software
...
The following packages have unmet dependencies:
gnome-software : Depends: appstream but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
This is the output of apt policy appstream
:
Installed: 0.10.6-1~ubuntu16.04.1
Candidate: 0.10.6-1~ubuntu16.04.1
Version table:
*** 0.10.6-1~ubuntu16.04.1 100
100 http://mx.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
100 /var/lib/dpkg/status
0.10.3-1~ubuntu16.04~ppa2 500
500 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial/main amd64 Packages
0.9.4-1ubuntu2 500
500 http://mx.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
0.9.4-1 500
500 http://mx.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Everything points to the backports repos messing things up, but I find it strange that the developers didn't noticed such an obvious problem and that thought leads me to think that the true problem is somewhere else. What can I do to fix the Software Center?
I'm on Ubuntu Unity x86_64 16.04
appstream
was installed, since automatic installation of backports was not enabled... In any case, downgradingappstream
to a lower version will probably do the trick. – fkraiem Feb 03 '17 at 17:03sudo apt install appstream=0.10.3-1~ubuntu16.04~ppa2
which is the immediate previous version and then could installgnome-software
without problems. – eridani Feb 03 '17 at 17:07appstream
was upgraded to the backports version is that you used to have a version between0.10.3
and0.10.6
, which was provided by the old repository. When that repository was removed, that version was no longer available, so the package was upgraded. – fkraiem Feb 04 '17 at 12:00