[Bug 294496] New: libzypp always returns 0 as a media number
https://bugzilla.novell.com/show_bug.cgi?id=294496 Summary: libzypp always returns 0 as a media number Product: openSUSE 10.3 Version: Alpha 6 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: ma@novell.com ReportedBy: lslezak@novell.com QAContact: kkaempf@novell.com CC: dmacvicar@novell.com Found By: --- Package::mediaNr() always return 0 regardless of the real medium number. Interesting fact is that downloading and installing from the correct medium works: 2007-07-25 15:26:25 <1> cyclops(16895) [zypp] PackageProvider.cc(providePackage):98 provide Package [S1:0][package]man-pages-it-0.3.0-590.noarch 2007-07-25 15:26:25 <1> cyclops(16895) [YCP] SlideShow.ycp:688 Package 'man-pages-it' is remote 2007-07-25 15:26:25 <1> cyclops(16895) [zypp] RepoProvideFile.cc(provideFile):190 provideFile [3]./suse/noarch/man-pages-it-0.3.0-590.noarch.rpm{573.1 K|sha1-13260f1fd525cd806db82e502948be3927a781b6} 2007-07-25 15:26:25 <1> cyclops(16895) [zypp] RepoProvideFile.cc(provideFile):212 Providing file of repo '20070725-133326' from ftp://cml.suse.cz/netboot/find/openSUSE-10.3-Alpha5plus-i386-Build452-CD1/ 2007-07-25 15:26:25 <0> cyclops(16895) [zypp] MediaSetAccess.cc(rewriteUrl):481 Rewriting url ftp://cml.suse.cz/netboot/find/openSUSE-10.3-Alpha5plus-i386-Build452-CD1/ 2007-07-25 15:26:25 <0> cyclops(16895) [zypp] MediaSetAccess.cc(rewriteUrl):510 Url rewrite result: ftp://cml.suse.cz/netboot/find/openSUSE-10.3-Alpha5plus-i386-Build452-CD3/ The result is that yast reports all packages installed from the first medium (in the slideshow details window). Or just look at the packager, it also reports media number 0 for all packages. -- 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=294496#c1
Michael Andres
Interesting fact is that downloading and installing from the correct medium works:
The information is kept in the packages OnMediaLocation object. Looks like Package does not overload mediaNumber to return the OnMediaLocation::mediaNumber. -- 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=294496#c2
--- Comment #2 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=294496#c3
Stanislav Visnovsky
participants (1)
-
bugzilla_noreply@novell.com