[Bug 387874] New: zypper should refresh repo automatically if it can' t find a stale rpm
https://bugzilla.novell.com/show_bug.cgi?id=387874 Summary: zypper should refresh repo automatically if it can't find a stale rpm Product: openSUSE 11.0 Version: Beta 1 Platform: i586 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: federico@novell.com QAContact: dmacvicar@novell.com Found By: Development If you do "zypper addrepo <url> <name>", the repo is created with auto-refresh turned off by default. Later, if you do "zypper install somepackage", it may be that your cache has info about an old version of the package, which is no longer available in the repository. In this case, zypper gives you an unhelpful error message: | Downloading package yast2-dns-server-2.16.3-12.noarch, 142.0 K (912.0 K unpacked) | Media source 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source' does not contain the desired medium | | Abort, retry, ignore? [A/r/i]: r At this point, I'm thinking, "is the remote repository screwed up? Is it going to a mirror and the mirror is screwed up?". After hitting Retry, I get this: | * Downloading: yast2-dns-server-2.16.3-12.noarch.rpm [done] File './suse/noarch/yast2-dns-server-2.16.3-12.noarch.rpm' not found on medium 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source' | | Abort, retry, ignore? [A/r/i]: a | * Downloading: content [done] | Problem downloading the package file from the repository: | Can't provide ./suse/noarch/yast2-dns-server-2.16.3-12.noarch.rpm : Media Exception | Repository 'Factory OSS' is out of date. Running 'zypper refresh' might help. | $ It is only after I select Abort that zypper gives me a clue of what is happening: the repo cache needs to be refreshed. Zypper should either refresh the repo automatically in that case, or present me with a helpful tip sooner. -- 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=387874
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=387874
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387874#c1
Josef Reidinger
https://bugzilla.novell.com/show_bug.cgi?id=387874
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387874#c2
--- Comment #2 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=387874
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=387874
User gabriel@opensuse.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=387874#c3
Sergio Gabriel
https://bugzilla.novell.com/show_bug.cgi?id=387874
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387874#c4
--- Comment #4 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=387874
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com