Mailinglist Archive: opensuse-bugs (19828 mails)

< Previous Next >
[Bug 385972] New: make zypper dup error out if more than one repository exists
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 2 May 2008 05:53:28 -0600 (MDT)
  • Message-id: <bug-385972-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dmueller@xxxxxxxxxx
QAContact: dmacvicar@xxxxxxxxxx
CC: coolo@xxxxxxxxxx
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.

< Previous Next >