Bug 350532 - YaST Software management will not allow a package to be locked
Summary: YaST Software management will not allow a package to be locked
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: All openSUSE 10.3
: P2 - High : Major with 6 votes (vote)
Target Milestone: ---
Assignee: Michael Andres
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-22 22:51 UTC by andrew spackman
Modified: 2008-06-04 10:28 UTC (History)
4 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew spackman 2007-12-22 22:51:15 UTC
Within Software Management there is the option to lock a package so that it does not get deleted or updated. Although this selection is still allowed to be made it is not saved on exit and reverts back to an unlocked status. This old status is shown the next time the Software Management module is used. 
The status of locked should be saved as the updater will try and upgrade this package if it is not locked. (package is X11-video-nvidiaG01)
Comment 2 Duncan Mac-Vicar 2008-01-10 00:09:47 UTC
This is a duplicate of a later bug. The feature is not implemented in the UI.

Andrew, you can add X11-video-nvidiaG01 to /etc/zypp/locks file.

i cant find the duplicate.
Comment 3 andrew spackman 2008-01-10 06:04:44 UTC
Ok, but I'm a little confused now. If this is not implemented in the UI why is there an option there to lock the package and when you do a padlock appears against it? I have also seen packages locked by the system and have had to unlock them to perform a particular upgrade to another package.
Comment 4 Justus Koerber 2008-01-20 12:00:45 UTC
This bug also exist on i386 arch. A lock issued in yast2 will be ignored by zypper (e.g. when using zypper up --type=package).
As flash is broken for most browser and the xorg bug this bug is becoming more and more critical.
Comment 5 Duncan Mac-Vicar 2008-02-01 14:38:44 UTC
Comment #3, the lock is valid, but only for that session, it is not persistent, regression since we migrated from the old package manager.
Comment 6 andrew spackman 2008-02-01 18:47:45 UTC
Ok, I think I understand what is going on with this now. The remaining question is whether this will be fixed for OpenSUSE 11 or even 10.3?
Comment 8 andrew spackman 2008-05-14 07:35:52 UTC
Hi, Do we have any update as to wether this is fixed in OpenSUSE 11?
Comment 9 Forgotten User t-K-SYtr-p 2008-05-30 21:30:14 UTC
Hello, anybody home?
Comment 10 Michael Andres 2008-06-04 10:28:26 UTC
(Yes, but on vacation or busy with 11.0 - sorry.)

This is fixed on 11.0. 
Locks applied via yast or zypper are remembered on commit.