[Bug 456385] New: zypper refuses to install rpm
https://bugzilla.novell.com/show_bug.cgi?id=456385 Summary: zypper refuses to install rpm Product: openSUSE 11.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: tschmidt@novell.com QAContact: qa@suse.de Found By: --- Created an attachment (id=257989) --> (https://bugzilla.novell.com/attachment.cgi?id=257989) zypper.log When I try:
sudo zypper in /mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/suse/i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm
it refuses to install with: .. File './i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm' not found on medium 'dir:///mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/' however plain RPM can install without problems:
sudo rpm -Uvh /mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/suse/i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm Preparing... ########################################### [100%] 1:virtualbox-ose-kmp-pae ########################################### [100%] 23258 blocks
The file is there and readable:
ls -l /mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/suse/i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm -r--r--r-- 1 root root 86600 2008-12-01 21:17 /mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/suse/i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm
Verbose zypper output:
sudo zypper -vvvv in /mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/suse/i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm Verbosity: 4 Non-option program arguments: '/mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/suse/i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm' '/mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/suse/i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm' looks like an RPM file. Will try to download it. Initializing Target Checking whether to refresh metadata for 11.1 non-oss Checking whether to refresh metadata for 11.1 rc2 Checking whether to refresh metadata for Plain RPM files cache Checking whether to refresh metadata for dbxml Checking whether to refresh metadata for 11.1 oss Checking whether to refresh metadata for packman 11.1 Checking whether to refresh metadata for Hauptaktualisierungs-Repository Loading repository data... Reading installed packages... Force resolution: Yes Resolving package dependencies... Force resolution: Yes
The following NEW package is going to be installed: virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586 (11.1 rc2, openSUSE) Overall download size: 85,0 K. After the operation, additional 190,0 K will be used. Continue? [YES/no]: committing Retrieving package virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586 (1/1), 85,0 K (190,0 K unpacked) File './i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm' not found on medium 'dir:///mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/' Abort, retry, ignore? [A/r/i]: i Warning: You have chosen to ignore a problem with download or installation of a package which might lead to broken dependencies of other packages. It is recommended to run 'zypper verify' after the operation has finished. committingCommitResult 1 (errors 0, remaining 0, srcremaining 0) -- 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=456385
User tschmidt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c1
--- Comment #1 from Thomas Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=456385
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c2
--- Comment #2 from Ján Kupec
I have configured /mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/ as a repository, it seems zypper takes it and forgets to add the suse/ part to the filename?
Indeed. The question is why. 2008-12-04 11:47:49 <5> bessel(2484) [zypp] Exception.cc(log):119 MediaSetAccess.cc(provideFileInternal):282 CAUGHT: MediaHandler.cc(getFile):1234: File './i586/virtualbox-ose-kmp-ae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm' not found on medium 'dir:///mounts/dist/install/SLP/openSUSE-11.1-RC2/i386/DVD1/'
But I didn't want to use zyppers repository, I wanted to install the RPM directly from the given path.
This is a bit unusual situation - the same package is in another repo. Zypper just adds a requirement to the solver, and solver chooses which one to install. It's not ideal, but it's also not urgent, so let's fix the first error first. -- 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=456385
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c3
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=456385
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c4
--- Comment #4 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=456385
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c5
--- Comment #5 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=456385
User tschmidt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c6
--- Comment #6 from Thomas Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=456385
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c7
--- Comment #7 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=456385
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c8
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=456385
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456385#c9
--- Comment #9 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=456385
Duncan Mac-Vicar
participants (1)
-
bugzilla_noreply@novell.com