[Bug 264685] New: Get rid of package locks in package manager
https://bugzilla.novell.com/show_bug.cgi?id=264685 Summary: Get rid of package locks in package manager Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: guru@unixtech.be QAContact: jsrain@novell.com Since as long as I can remember, YaST2 has been "locking" packages for whatever reasons (because they're not built by the SUSE team ?). Please get rid of that "feature", it provides no benefit, just headaches and is pretty much a spit in the face of any 3rd party packager (like me) as our packages are "locked out" by YaST2. If not (or additionally), could anyone provide details about why/when it is locking packages ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=264685 ------- Comment #1 from martin.schlander@gmail.com 2007-04-14 16:54 MST ------- I agree that this is a big problem. A lot of times when you update things or remove things, you get the conflict dialog telling you to unlock packages before you can proceed. I have also experienced problems because of locked packages when using zypper. I'm not sure if zypper even offers a way to unlock locked packages. The feature to update packages in sw_single using "Package" > "All Packages" > "Update if a newer version is available" seems to disregard the locks anyway. If packages weren't locked automagically then this feature could perphaps respect the locks that people actually enable themselves. I see no benefit from the automatic locking, only problems. Getting rid of it for good would be nice, imho. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=264685 ------- Comment #2 from guru@unixtech.be 2007-04-14 17:38 MST ------- Oh, right, I meant the "automatically locked packages" in YaST2, not the "taboo locks" that are explicitly set by users. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=264685 ------- Comment #3 from kkaempf@novell.com 2007-04-16 02:07 MST ------- Package locks are there to protect 3rd party packages from being removed/replaced/upgraded without the users notice. There are a lot of packages in the suse distribution which are built with more conservative settings than those coming from 3rd party repositories. Replacing them without warning would also cause user complaints. The current implementation has room for improvement, we are well aware of this. I would welcome an open discussion on opensuse-factory on how to - protect 3rd party packages - lock installed packages (protect them from being removed/upgraded) - lock uninstalled packages (protect them from being installed) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=264685 ------- Comment #4 from guru@unixtech.be 2007-04-16 14:30 MST ------- Hi Klaus (In reply to comment #3)
Package locks are there to protect 3rd party packages from being removed/replaced/upgraded without the users notice.
Could you give some insight about how exactly YaST2 decides it automatically sets a lock on a package (or not) ? Are packages not built by SUSE automatically locked ? If so, how does it detect the former ? by the key it was signed with, the %{VENDOR}, ... ?
There are a lot of packages in the suse distribution which are built with more conservative settings than those coming from 3rd party repositories. Replacing them without warning would also cause user complaints.
Yes in some scenarios (e.g. SLES or possibly SLED) and no in others. The typical SUSE user at home would most probably want to install certain packages from at least one or two well-known repositories (especially the one starting with P), e.g. wrt full multimedia support. That conservative behaviour is actually quite annoying in those use cases.
The current implementation has room for improvement, we are well aware of this.
Mmmmyeah.. but it has been like that for ages (and an annoyance to many for ages ;)).
I would welcome an open discussion on opensuse-factory on how to - protect 3rd party packages - lock installed packages (protect them from being removed/upgraded) - lock uninstalled packages (protect them from being installed)
That's a good idea, indeed. Let's move the discussion there and summarize the results here, if there are any. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=264685 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |LATER ------- Comment #5 from kkaempf@novell.com 2007-04-18 04:25 MST ------- To be discussed on opensuse-factory. Will be tracked as a feature (FATE ##302135) later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=264685#c6
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=264685#c7
Klaus Kämpf
participants (1)
-
bugzilla_noreply@novell.com