[Bug 547485] New: zypper [in|up] -r does NOT work
http://bugzilla.novell.com/show_bug.cgi?id=547485 Summary: zypper [in|up] -r does NOT work Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: bitdealer@gmail.com QAContact: qa@suse.de Found By: --- Just installed openSUSE 11.2 RC1 from DVD and "zypper se -v libxine" shows: v | libxine1 | package | 1.1.16.3-2.pm.6.9 | x86_64 | packman i | libxine1 | package | 1.1.16.1-6.2 | x86_64 | oss All repositories are added manually and have the same priority (99): 3 | oss | oss | Yes | Yes | 99 4 | packman | packman | Yes | Yes | 99 # zypper in -r packman libxine1 Loading repository data... Reading installed packages... 'libxine1' is already installed. Resolving package dependencies... Nothing to do. # zypper up -r packman libxine1 Loading repository data... Reading installed packages... No update candidate for 'libxine1'. Resolving package dependencies... Nothing to do. So please tell me how I am supposed to switch to the Packman version of libxine1 if I'm unwilling to use Yast which is happy to do as I wish? And yes, it works with Yast which I do NOT want to use because: 1. it isn't available on a serverl (read as without X) installation 2. it has to work with zypper as well. -- 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=547485 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=547485#c1 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com --- Comment #1 from Michael Andres <ma@novell.com> 2009-10-16 02:34:47 MDT --- Please attach a solver testcase (see http://en.opensuse.org/Bugs/YaST#I_want_to_report_a_bug_related_to_package_d...). -- 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=547485 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |bitdealer@gmail.com -- 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=547485 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- 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=547485 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=547485#c2 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P3 - Medium Status|NEEDINFO |NEW Info Provider|bitdealer@gmail.com | Severity|Blocker |Normal --- Comment #2 from Michael Andres <ma@novell.com> 2009-10-16 02:57:36 MDT --- Sorry, but I don't need the testcase. I overlooked that the installed packages is from oss. The packaman package has a different vendor than the installed one, so it is not considered to be a candidate for automatic update. You have to explicitly request installation of the pacman version: zypper in libxine1-1.1.16.3-2.pm.6.9 Enhancement for zypper would be: - Better reporting if no auto-update candidate was found. Tell about the available candidates and why they are not used automatically. Ask to install one of them instead. -- 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=547485 User bitdealer@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=547485#c3 Stephan Kleine <bitdealer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bitdealer@gmail.com --- Comment #3 from Stephan Kleine <bitdealer@gmail.com> 2009-10-16 08:07:44 MDT --- Can't you do that via the -r switch cause typing the whole thing including all version, release and so on is quite some pita and me using -r should make it pretty obvious what I want (get the thing from the specified repo)? Besides that if -r isn't for overriding the vendor then what else should it be good for (assumed that normally different repos have different vendors)? -- 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=547485 http://bugzilla.novell.com/show_bug.cgi?id=547485#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #4 from Ján Kupec <jkupec@novell.com> 2010-01-13 14:21:11 UTC --- (In reply to comment #2)
Enhancement for zypper would be:
- Better reporting if no auto-update candidate was found. Tell about the available candidates and why they are not used automatically. Ask to install one of them instead.
Right, planned (bug #482307) (In reply to comment #3)
Can't you do that via the -r switch cause typing the whole thing including all version, release and so on is quite some pita and me using -r should make it pretty obvious what I want (get the thing from the specified repo)?
No, the --force used together with -r or --from will be used to force the installation from that repo, even if zypper says the best version is already installed. Not sure how exactly we'll do it, but something along these lines. See bug 483426.
Besides that if -r isn't for overriding the vendor then what else should it be good for (assumed that normally different repos have different vendors)?
-r avoids loading metadata of all repos except those specified. It acts as if only the specified repos were enabled. To install package from specified repo, use --from. But even that can tell you that the package is already installed if the package would change vendor or the specified repo has lower priority. In that case --force should force the installation (but this is not implemented yet). This is duplicate of bug 482307 and bug 483426. Thanx for the report. *** This bug has been marked as a duplicate of bug 483426 *** http://bugzilla.novell.com/show_bug.cgi?id=483426 -- 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