[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 <tschmidt@novell.com> 2008-12-04 03:56:36 MST --- 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? But I didn't want to use zyppers repository, I wanted to install the RPM directly from the given path. -- 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#c2 --- Comment #2 from Ján Kupec <jkupec@novell.com> 2008-12-04 04:54:41 MST --- (In reply to comment #1 from Thomas Schmidt)
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 <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mls@novell.com --- Comment #3 from Ján Kupec <jkupec@novell.com> 2008-12-04 04:57:06 MST --- The solvable already has incorrect location: 2008-12-04 11:47:49 <1> bessel(2484) [zypp] RepoProvideFile.cc(provideFile):204 [1]./i586/virtualbox-ose-kmp-pae-2.0.6_2.6.27.7_6.1-2.3.i586.rpm{85,0 K|sha1-deff98eb11e7761c5d329c35b7126288282b062d} mls: do you any idea about this? -- 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#c4 --- Comment #4 from Ján Kupec <jkupec@novell.com> 2008-12-04 05:08:48 MST --- BTW, i can't reproduce the bug. I mounted the RC1 DVD (x86_64) to /mnt/DVD1 and added it via 'zypper ar /mnt/DVD1 t'. Then: $ zypper -v in /mnt/DVD1/suse/x86_64/gvim-7.2-6.22.x86_64.rpm The following package is going to be upgraded: gvim-7.2-6.22.x86_64 (Plain RPM files cache, openSUSE) So it has chosen the tmp rpm repo. Good. So i increased priority of my 't' repo to make it choose that instead: $ zypper mr -p 1 t Repository 't' priority has been set to 1. $ zypper -v in /mnt/DVD1/suse/x86_64/gvim-7.2-6.22.x86_64.rpm ... The following package is going to be upgraded: gvim-7.2-6.22.x86_64 (t, openSUSE) Overall download size: 1.0 M. No additional space will be used or freed after the operation. Continue? [YES/no]: committing Retrieving package gvim-7.2-6.22.x86_64 (1/1), 1.0 M (2.4 M unpacked) Installing: gvim-7.2-6.22 [done] committingCommitResult 1 (errors 0, remaining 0, srcremaining 0) It works. So there must be something different in your setup. Please retry also with the latest software management stack (should be in factory). -- 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#c5 --- Comment #5 from Ján Kupec <jkupec@novell.com> 2008-12-04 05:11:10 MST --- Tried with RC2 .iso, works as well. -- 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#c6 --- Comment #6 from Thomas Schmidt <tschmidt@novell.com> 2008-12-04 05:37:53 MST --- The repo is an nfs mount here. Would a timeout result in the same error message? Because /mounts/dist is quite slow today, and maybe rpm and zypper have different timeout values? -- 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#c7 --- Comment #7 from Ján Kupec <jkupec@novell.com> 2008-12-04 06:23:52 MST --- I doubt that. Timeout would (should) be correctly reported as timeout, not as file-not-found. Additionally, the package location is wrong in the solv file according to the log (unless 'suse/' prefix is hardcoded somewhere, which i doubt). -- 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 mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456385#c8 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mls@novell.com | --- Comment #8 from Michael Schröder <mls@novell.com> 2008-12-04 07:15:38 MST --- Regarding #3: The "suse" part is not in the SOLV file, but automatically added by libzypp for YAST repo types. -- 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 mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456385#c9 --- Comment #9 from Michael Schröder <mls@novell.com> 2008-12-04 07:23:19 MST --- The SOLV file stored with the repo in not a "plaindir" solv file. So it's another glitch in that awful "repo2solv.sh" script, it doesn't get forced into "plaindir" mode. We could fix this by forcing "plaindir" when the "-R" option (recurse) is 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=456385 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com Priority|P5 - None |P4 - Low -- 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.
participants (1)
-
bugzilla_noreply@novell.com