[Bug 483426] New: zypper really needs to be able to be more flexible
https://bugzilla.novell.com/show_bug.cgi?id=483426 Summary: zypper really needs to be able to be more flexible Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 While trying to help with bug 440101 I had to install a bunch of rpms by hand from factory. When I was done with that, I tried to revert back to the versions for openSUSE 11.1, using the already-configured repositories for 11.1 (+ Update + a number of others). zypper in -f libzypp yast2-qt-pkg satsolver-tools yast2-pkg-bindings libqdialogsolver1 zypper yast2-ncurses-pkg aria2 yast2-ncurses yast2-libyui libreadline6 Loading repository data... Reading installed packages... Package libzypp-6.2.2-1.1.x86_64 not found in repositories, cannot reinstall. Package yast2-qt-pkg-2.18.4-1.7.x86_64 not found in repositories, cannot reinstall. Package satsolver-tools-0.14.0-1.1.x86_64 not found in repositories, cannot reinstall. Package yast2-pkg-bindings-2.18.2-1.11.x86_64 not found in repositories, cannot reinstall. Package libqdialogsolver1-1.2.6-1.38.x86_64 not found in repositories, cannot reinstall. Package zypper-1.1.0-2.1.x86_64 not found in repositories, cannot reinstall. Package yast2-ncurses-pkg-2.18.1-1.4.x86_64 not found in repositories, cannot reinstall. Package aria2-1.2.0-2.1.x86_64 not found in repositories, cannot reinstall. Package yast2-ncurses-2.18.5-1.1.x86_64 not found in repositories, cannot reinstall. Package yast2-libyui-2.18.6-2.1.x86_64 not found in repositories, cannot reinstall. Package libreadline6-6.0-4.1.x86_64 not found in repositories, cannot reinstall. Resolving package dependencies... Nothing to do. I don't care if that exact version is available, I want the best-available version. Even --force-resolution doesn't help here. Also, how does --repo differ from --from: -r, --repo <alias|#|URI> Install packages only from the specified repository. -t, --type <type> Type of package (package, patch, pattern, product). Default: package. -n, --name Select packages by plain name, not by capability. -C, --capability Select packages by capability. -f, --force Install even if the item is already installed (reinstall). -l, --auto-agree-with-licenses Automatically say 'yes' to third party license confirmation prompt. See 'man zypper' for more details. --debug-solver Create solver test case for debugging. --no-recommends Do not install recommended packages, only required. -R, --no-force-resolution Do not force the solver to find solution, let it ask. --force-resolution Force the solver to find a solution (even an agressive). -D, --dry-run Test the installation, do not actually install. --from <alias|#|URI> Select packages only from specified repository. Do you want the generated solver test case? Otherwise it's probably really easy - grab a package from factory, install it, and then try to get zypper to re-install it using the best-available version. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=483426 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483426#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | Severity|Normal |Enhancement --- Comment #1 from Ján Kupec <jkupec@novell.com> 2009-03-09 07:53:03 MST --- The name of the --force option is really misfortunate as it is in fact --reinstall-the-exact-installed-version. I'll fix this, but later. The new functionality still needs to be defined, though. I'll try to come up with some suggestions. What you suggest might be one of the use cases. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=483426 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483426#c2 --- Comment #2 from Michael Schröder <mls@novell.com> 2009-03-09 07:54:19 MST --- 'zypper dup' does excatly what you want: it brings all of your packages back to versions from the configured repositories. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=483426 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483426#c3 --- Comment #3 from Ján Kupec <jkupec@novell.com> 2009-03-09 07:58:46 MST --- (In reply to comment #0)
Also, how does --repo differ from --from:
Please, one report per bug. It is more work for you, but it is also the only sane way to handle bugs. Thanx!
-r, --repo <alias|#|URI> Install packages only from the specified repository.
The --repo description is wrong. I'll change it to "Consider only the specified repository, ignore others." or something in that fashion. Would that be more clear?
--from <alias|#|URI> Select packages only from specified repository.
This is correct. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=483426 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483426#c4 --- Comment #4 from Ján Kupec <jkupec@novell.com> 2009-03-09 08:00:37 MST --- c#2: yes, but it does it for all packages. We need to be able to do it also per-package. probably 'zypper in -f foo' to reinstall the package with the best available from any repo, and 'zypper in -f -r repo foo' to reinstall from the specified repo. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=483426 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|zypper really needs to be |improve the --force option |able to be more flexible | -- 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.
participants (1)
-
bugzilla_noreply@novell.com