How do I prevent a manually installed package being upgraded?
Mark Greenwood
fatgerman at ntlworld.com
Sat Sep 26 17:04:13 UTC 2009
Hi All,
I've just built Amarok from the Kubuntu source package by the normal method (fakeroot debain/rules binary) and installed it using sudo dpkg -i.
Now, althought the package I've built and installed has the same version number as the one in the repository, if I do apt-get upgrade it tells me amarok will be updated. But bizarrely the package amarok-common, which was also built at the same time and installed in the same way, doesn't come up as a potential upgrade.
apt-cache policy amarok
amarok:
Installed: 2:2.1.1mysql5.1.30-0ubuntu1~jaunty1
Candidate: 2:2.1.1mysql5.1.30-0ubuntu1~jaunty1
Version table:
2:2.1.1mysql5.1.30-0ubuntu1~jaunty1 0
500 http://gb.archive.ubuntu.com jaunty-backports/main Packages
*** 2:2.1.1mysql5.1.30-0ubuntu1~jaunty1 0
100 /var/lib/dpkg/status
2:2.1mysql5.1.30-0ubuntu2~jaunty2 0
500 http://ppa.launchpad.net jaunty/main Packages
2:2.0.2mysql5.1.30-0ubuntu3 0
500 http://gb.archive.ubuntu.com jaunty/main Packages
apt-cache policy amarok-common
amarok-common:
Installed: 2:2.1.1mysql5.1.30-0ubuntu1~jaunty1
Candidate: 2:2.1.1mysql5.1.30-0ubuntu1~jaunty1
Version table:
*** 2:2.1.1mysql5.1.30-0ubuntu1~jaunty1 0
500 http://gb.archive.ubuntu.com jaunty-backports/main Packages
100 /var/lib/dpkg/status
2:2.1mysql5.1.30-0ubuntu2~jaunty2 0
500 http://ppa.launchpad.net jaunty/main Packages
2:2.0.2mysql5.1.30-0ubuntu3 0
500 http://gb.archive.ubuntu.com jaunty/main Packages
How do I prevent amarok from being upgraded by apt-get upgrade? And why is only one of the two packages being presented as an upgrade? It looks like something is wrong somewhere.
Thanks,
Mark
More information about the kubuntu-users
mailing list