mintUpdate does not respect Lock Version

Bug #1049389 reported by SiKing
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Gwendal LE BIHAN

Bug Description

Running LM9-main.
In Synaptic I have locked a package to a particular version. In my specific case, I locked Skype to version 2.x.
mintUpdate is pestering me that a new version of Skype (version 4.x) is now available.
The preferred behaviour is that mintUpdate should respect the Lock Version setting from Synaptic, and not show me this package as available for update. A possible acceptable solution would be to show it in mintUpdate as a level 5 update.

Revision history for this message
Zalbor (zalbor) wrote :

I agree, when I lock a package's version it shouldn't be displayed as an upgrade. In my case, this is forcing Firefox 15 instead of 15.0.1 because it has support for KDE.

Changed in linuxmint:
assignee: nobody → Gwendal LE BIHAN (gwendal-lebihan-dev)
Revision history for this message
yarly (ih8junkmai1) wrote :

Any movement on this ticket? Still present in Linux mint 15

LInux Mint 15.

1. open synaptic,
2. select single/multiple installed packages
3. select "lock version" under the "Package" menu
4. open mintupdate, click refresh.

# WORKAROUND
 ( mintupdate does respect dpkg version locking used with "dpkg --set-selections PACKAGENAME hold")

mintupdate does not respect Synaptic's version lock feature and thus displays updates which should not be included. Upstream managed to integrate their update manager to respect Synaptic's version lock feature despite Synaptic failing to properly implement version locking with "dpkg".

It can be verified that Synaptic fails to lock packages with dpkg using a variation of the following commands.
Replace firexox with the package name of your choosing.

# Check firefox status (Install indicates package can be upgraded)
dpkg --get-selections | grep firefox

# Version lock the package firefox
echo "firefox hold" | sudo dpkg --set-selections

# Remove lock on firefox
echo "firefox hold" | sudo dpkg --set-selections

Revision history for this message
yarly (ih8junkmai1) wrote :

Syntax error on the last post. fixed it below

# Remove lock on firefox
echo "firefox install" | sudo dpkg --set-selections

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.