Comment 8 for bug 1575351

Revision history for this message
Bruce Pieterse (octoquad) wrote : Re: tell me I have OS updates and will not install said updates.

I just want to add that it also does not know how to handle held packages. I currently have the MongoDB PPA added to my system and explicitly held the 3.0.10 packages for the M102 course I just completed.

This is normally done with:

sudo apt-get update
sudo apt-get install -y mongodb-org=3.0.10 mongodb-org-server=3.0.10 mongodb-org-shell=3.0.10 mongodb-org-mongos=3.0.10 mongodb-org-tools=3.0.10

echo "mongodb-org hold" | sudo dpkg --set-selections
echo "mongodb-org-server hold" | sudo dpkg --set-selections
echo "mongodb-org-shell hold" | sudo dpkg --set-selections
echo "mongodb-org-mongos hold" | sudo dpkg --set-selections
echo "mongodb-org-tools hold" | sudo dpkg --set-selections

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

If a package is held, it shouldn't really be counted as 1 update in gnome-software and possibly skipped. At the moment, it tries to update the packages, reloads then just shows them again as an update.