[Bug 597101] New: lots of pacakges in Yast2 package manager are Locked or Taboo'd -- without having set them that way
http://bugzilla.novell.com/show_bug.cgi?id=597101 http://bugzilla.novell.com/show_bug.cgi?id=597101#c0 Summary: lots of pacakges in Yast2 package manager are Locked or Taboo'd -- without having set them that way Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: a3349542@owlpic.com QAContact: jsrain@novell.com Found By: --- Blocker: --- Created an attachment (id=354789) --> (http://bugzilla.novell.com/attachment.cgi?id=354789) yast logs User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100401 SUSE/3.6.3-149.5 Firefox/3.6.3 I have Opensuse 11.2 installed, with only one repo enabled: zypper lr -d # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service ---+------------------+------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------------------------+-------- 10 | OS11-oss | OS11-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.2/repo/oss | I open yast2 --{qt,gtk,ncusrses} sw_single and I see lots of pkgs are either Locked/Protected or Taboo'd. I can unlock any of them, and subsequently install/upgrade/etc. But after restart, they're re-locked/Taboo'd. At zypper cmd line, I get lots of "don't forbid installation of BLAH" messsages if I try to update anything. Again, I can enable for that session, but next time -- locked again. How do I get these unlocked/un-taboo'd permanently? I've attached yast logs. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c2
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c3
--- Comment #3 from Judge Judy
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c4
Judge Judy
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c5
--- Comment #5 from Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c6
--- Comment #6 from Judge Judy
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c7
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c8
--- Comment #8 from Judge Judy
cat /etc/zypp/locks ... type: package match_type: exact - solvable_arch: x86_64 solvable_name: opera ...
I did not recognize it at first sight. The attributes in /etc/zypp/locks are 'OR'ed, so the above matches all packages named opera OR with arch x86_64. That's why it matches almost all packages.
Removing the 'solvable_arch: x86_64' line (or the whole file) should help.
And voila! it does. I'm a little confused why the notes I'm staring at, where I rm'd the locks file, did NOT fix this problem. Maybe something was cached? *This* time around, as above, I was a lot more careful about cleaning-house ...
@Judy: Do you remember how this ebtry was created? By zypper, yast or manually editing the file?
This one was manually installed -- as directed in one of the *suse IRC channels a while back, after lots of discussion and trial-n-error with globs, query strings, etc. It was based, iirc, on reading this: http://en.opensuse.org/Libzypp/Locksfile#Two_locks which states, "... all objects which contains kde(only low letters) in name and description and second lock for everything which have x11 keyword ..." which reads as "AND", rather than "OR", to me. The specific 'problem' I was trying to solve is the "Hulu vs Flash64-bit" issue. I've Firefox 64bit, with Flash 64 bit installed. Hulu doesn't work, atm. So, we installed Opera 32 bit, with Flash 32-bit in its opera-specific plugin dir. Works great to use Opera32+Flash32 for Hulu use. That said, this lock was the only way we found -- so far -- to make zypper/pkg mgr stop trying to up/down grade to opera64 bit, AND, to track the opera32 bit available in the repos ... Is there another/better way? That won't break this again? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c9
Judge Judy
http://bugzilla.novell.com/show_bug.cgi?id=597101
http://bugzilla.novell.com/show_bug.cgi?id=597101#c10
Michael Andres
It was based, iirc, on reading this:
http://en.opensuse.org/Libzypp/Locksfile#Two_locks
which states,
"... all objects which contains kde(only low letters) in name and description and second lock for everything which have x11 keyword ..."
which reads as "AND", rather than "OR", to me.
Yes it does, but it's wrong. I'll fix this.
Works great to use Opera32+Flash32 for Hulu use. That said, this lock was the only way we found -- so far -- to make zypper/pkg mgr stop trying to up/down grade to opera64 bit, AND, to track the opera32 bit available in the repos ...
Is there another/better way? That won't break this again?
It sometimes helps looking for unique 'provides': opera-10.00-7.1.1.i586 provides: opera(x86-32) = 10.00-7.1.1 opera-10.00-7.1.1.x86_64 provides: opera(x86-64) = 10.00-7.1.1 So locking all packages providing 'opera(x86-64)' might be what you want: type: package match_type: exact solvable_provides: opera(x86-64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com