Bugzilla – Bug 728856
rpm fails if current directory is not accessible by root
Last modified: 2017-05-11 14:36:19 UTC
nfs home... $ LANG=C sudo zypper in dosbox Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: dosbox 1 new package to install. Overall download size: 735.0 KiB. After the operation, additional 2.5 MiB will be used. Continue? [y/n/?] (y): Installing: dosbox-0.74-10.1.2 [error] Installation of dosbox-0.74-10.1.2 failed: (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: Unable to open current directory: Permission denied Abort, retry, ignore? [a/r/i] (a): Problem occured during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint. $ regression from 11.4
I'm inclined to classify this as "doctor it hurts when I do this" and close it as WONTFIX ;)
why did it work on 11.4?
bug in 11.4? :)
https://bugzilla.redhat.com/show_bug.cgi?id=672576 this sucks
*** Bug 758475 has been marked as a duplicate of this bug. ***
So should we workaround this in zypper as redhat did it in yum? NFS and sshfs are pretty common setups these days and cnf recommends running a sudo zypper install line
*** Bug 768305 has been marked as a duplicate of this bug. ***
Closing this. Sorry.
JFYI: libzypp works around this commit f59bad784ed00f8868b3aed01073e1a02bb65d33 Date: Thu Jul 4 13:11:05 2013 +0200 Workaround bnc#819354 by executing rpm in /. (bnc#827609)