[Bug 385972] New: make zypper dup error out if more than one repository exists
https://bugzilla.novell.com/show_bug.cgi?id=385972 Summary: make zypper dup error out if more than one repository exists Product: openSUSE 11.0 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: dmueller@novell.com QAContact: dmacvicar@novell.com CC: coolo@novell.com Found By: --- I've just learned over lunch that calling "zypper dup" is wrong if you have both buildservice repositories and a distribution repository enabled. apparently one has to call it with -r <name>, where <name> points to the distribution one wants to upgrade to, and the other repositories (e.g. buildservice addons) must not be dup'ed, but only updated via update -t package. I've verified that this indeed fixes the "reinstalling/downgrading package" issues everyone seems to be complaining about. It would be nice if zypp/zypper could detect this situation and advise the user, or alternatively do the right thing automatically. I'm not sure if channels of distributions (e.g. the factory channel, or a future openSUSE 11.0 channel) can be detected in some way.. if it does, then it could automatically add the -r argument if there is only one distribution channel enabled, and altneratively error out if more than one distribution channel is in the sources list and no -r argument was given. -- 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=385972
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c1
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=385972
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c2
Ján Kupec
I've just learned over lunch that calling "zypper dup" is wrong if you have both buildservice repositories and a distribution repository enabled.
apparently one has to call it with -r <name>, where <name> points to the distribution one wants to upgrade to, and the other repositories (e.g. buildservice addons) must not be dup'ed, but only updated via update -t package. I've verified that this indeed fixes the "reinstalling/downgrading package" issues everyone seems to be complaining about.
Hm. If that is so, this feature is really important :O) Just a side question: how does installation handle this (if at all)?
It would be nice if zypp/zypper could detect this situation and advise the user, or alternatively do the right thing automatically.
I'm not sure if channels of distributions (e.g. the factory channel, or a future openSUSE 11.0 channel) can be detected in some way.. if it does, then it
Currently they can't, we need to add means of such identification (as well as identification of update repos).
could automatically add the -r argument if there is only one distribution channel enabled, and altneratively error out if more than one distribution channel is in the sources list and no -r argument was given.
yup, sounds good -- 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=385972
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c3
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=385972
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c4
--- Comment #4 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=385972
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=385972
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=385972
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c5
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=385972
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c6
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=385972
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c7
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=385972
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c8
--- Comment #8 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=385972
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385972#c9
--- Comment #9 from Duncan Mac-Vicar
participants (1)
-
bugzilla_noreply@novell.com