** Summary changed:

- apt-get doesn't use the same pinning as synaptic
+ synaptic: ‘Lock Version’ is broken; use dpkg hold

** Description changed:

+ ‘Lock Version’ in Synaptic uses apt_preferences(5) (“pinning”).  This is
+ never recognized by non-Apt tools, e.g. dpkg.  Also, as these settings
+ are stored in a file private to Synaptic, other Apt tools do not
+ recognize them either.
+ 
+ This feature is to be removed.  In its place implement support for dpkg
+ holds which are handled properly by all Apt and Dpkg tools.
+ 
+ * Original Description
+ 
  this is minor annoyance. but I figured, this might as well be a bug
  which might need to be fixed bf dapper comes out. I mean, I'm pretty
  sure I'll be pinning fx 1.5 in Dapper, when fx 2.0 comes out...
  
  here is the problem:
  
  I have fx 1.5.0.2 thus don't need the 1.0.8 update. I pinned it (and its
  friend, shown below) to 1.0.7 using synaptic's packages>lock version,
  but when I do apt-get upgrade, it still wants to upgrade firefox.
  synaptic is just fine, it doesn't prompt me to update fx. here is the
  output for your viewing pleasure:
  
  Code:
- :~$ sudo apt-get -s upgrade 
- Reading package lists... 
- Done Building dependency tree... 
- Done 
- The following packages will be upgraded: 
- firefox firefox-gnome-support 
- 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 
- Inst firefox-gnome-support [1.0.7-0ubuntu20] (1.0.8-0ubuntu5.10 
Ubuntu:5.10/breezy-security) [] 
- Inst firefox [1.0.7-0ubuntu20] (1.0.8-0ubuntu5.10 
Ubuntu:5.10/breezy-security) 
- Conf firefox (1.0.8-0ubuntu5.10 Ubuntu:5.10/breezy-security) 
+ :~$ sudo apt-get -s upgrade
+ Reading package lists...
+ Done Building dependency tree...
+ Done
+ The following packages will be upgraded:
+ firefox firefox-gnome-support
+ 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ Inst firefox-gnome-support [1.0.7-0ubuntu20] (1.0.8-0ubuntu5.10 
Ubuntu:5.10/breezy-security) []
+ Inst firefox [1.0.7-0ubuntu20] (1.0.8-0ubuntu5.10 Ubuntu:5.10/breezy-security)
+ Conf firefox (1.0.8-0ubuntu5.10 Ubuntu:5.10/breezy-security)
  Conf firefox-gnome-support (1.0.8-0ubuntu5.10 Ubuntu:5.10/breezy-security)
  
  both of these were supposed to be pinned by synaptic...
  
  Here is my cat /var/lib/synaptic/preferences
  -------------
  Package: firefox
  Pin: version 1.0.7-0ubuntu20
  Pin-Priority: 1001
  
  Package: firefox-gnome-support
  Pin: version 1.0.7-0ubuntu20
  Pin-Priority: 1001
  --------------
  
  I don't have a /etc/apt/preferences which is ok
  
  Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/42178

Title:
  synaptic: ‘Lock Version’ is broken; use dpkg hold

To manage notifications about this bug go to:
https://bugs.launchpad.net/synaptic/+bug/42178/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to