[Bug 487626] New: Add "update unconditionally" option for zypper
https://bugzilla.novell.com/show_bug.cgi?id=487626 Summary: Add "update unconditionally" option for zypper Classification: openSUSE Product: openSUSE 11.2 Version: Alpha 0 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: martin.schlander@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Opera/9.64 (X11; Linux x86_64; U; da) Presto/2.1.1 In YaST you have the option: Right click -> All in this list -> Update unconditionally. Zypper seems to lack equivalent functionality. 'Zypper up' seems to be the equivalent of "Update if newer available". For example when using a fast changing repos like the KDE build service repos you'll often have packages which are actually newer, but have lower build/release number ("red packages" in YaST sw_single). There seems to be no simple way of fixing/avoiding this situation with zypper. An option for zypper to update everything in the repos, even if the version is "older", would be nice. 'zypper up -unconditionally' or something like that. PS: I'm not sure if enhancement requests like this, should go here or in openfate, but I figured it's too small for openfate. 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=487626
User sven.burmeister@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c1
Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=487626
User andrea@opensuse.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c2
andrea florio
https://bugzilla.novell.com/show_bug.cgi?id=487626
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c3
Michael Andres
For example when using a fast changing repos like the KDE build service repos you'll often have packages which are actually newer, but have lower build/release number ("red packages" in YaST sw_single). There seems to be no simple way of fixing/avoiding this situation with zypper.
An option for zypper to update everything in the repos, even if the version is "older", would be nice.
Did you try to give those repos a higher priority, so the solver will prefer their packages independent of their version? -- 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=487626
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c4
--- Comment #4 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=487626
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c5
--- Comment #5 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=487626
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c6
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=487626
User andrea@opensuse.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c7
--- Comment #7 from andrea florio
https://bugzilla.novell.com/show_bug.cgi?id=487626
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c8
--- Comment #8 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=487626
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c9
--- Comment #9 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=487626
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c10
--- Comment #10 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=487626
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c11
--- Comment #11 from Ján Kupec
$ zypper --root rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE} ' | xargs \ zypper in --dry-run
eh, here's the right command: $ rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE} ' | \ xargs zypper --root /tmp/myroot in --dry-run -- 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=487626
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c12
--- Comment #12 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=487626
User sven.burmeister@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=487626#c13
--- Comment #13 from Sven Burmeister
participants (1)
-
bugzilla_noreply@novell.com