[Bug 744879] Re: apt-get dist-upgrade is overwriting compiled packages

Indra Ginanjar 744879 at bugs.launchpad.net
Thu Aug 30 10:31:10 UTC 2012


After testing, i'm going to revising my previous comment,
The truth is,
Package - Lock Version on Synaptic is only works for Synaptic only.

To prevent upgrading version by apt-get upgrade and Update Manager,

        echo "squid3 hold" | sudo dpkg --set-selections

After doing that apt-get upgrade, is saying

        The following packages have been kept back:
          squid3

Update Manager is still showing squid3 but it's uncheckable

Well this satisfy me.. \(^ ^)/

Note:
1) To cancel holding version, i'm using 
        echo "squid3 install" | sudo dpkg --set-selections
2) I found really usefull infos here, http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/744879

Title:
  apt-get dist-upgrade is overwriting compiled packages

Status in “apt” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: apt

  I have compiled Firefox with apt-get source firefox --build. After
  this I installed the created .deb package I made an apt-get dist-
  upgrade. apt said that there is a newer package of firefox but the
  packages has the same name. apt shouldn't overwrite compiled packages
  if both are the same version. I'm using Ubuntu 11.04 dev with apt
  0.8.13ubuntu2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/744879/+subscriptions




More information about the foundations-bugs mailing list