Paul Howarth wrote:
sean wrote:
Paul Howarth wrote:
sean wrote:
Paul Howarth wrote:
On Mon, 2006-02-13 at 22:40 -0500, sean wrote:
on amd64:
rpm -Uvh gnome-volume-manager-1.5.11-1.2.x86_64.rpm
Preparing... ########################################### [100%]
1:gnome-volume-manager
########################################### [100%]
error: unpacking of archive failed on file /usr/bin/magicdev:
cpio: rename failed - Operation not permitted
I've also rebuilt from the src.rpm. Same result. Looked at the
spec file. Nothing odd.
Am I missing some magic handshake?
What's /usr/bin/magicdev on your system?
$ ls -l /usr/bin/magicdev
And what is it in the rpm?
$ rpm -qlpv gnome-volume-manager-1.5.11-1.2.x86_64.rpm | grep
-F /usr/bin/magicdev
Paul.
ls -l /usr/bin/magicdev
-rw-r--r-- 1 root root 0 Feb 26 2003 /usr/bin/magicdev
rpm -qlpv gnome-volume-manager-1.5.11-1.2.x86_64.rpm | grep -F
/usr/bin/magicdev
-rwxr-xr-x 1 root root 262 Feb 13 22:32
/usr/bin/magicdev
Curious; it seems to be just a regular file in both cases. This
problem usually manifests itself when one is a file and the other is
a directory. Can you try removing or renaming /usr/bin/magicdev
before installing the RPM?
Paul.
Really curious. Look:
[root@amd64-3000 development]# rpm -qif /usr/bin/magicdev
file /usr/bin/magicdev is not owned by any package
[root@amd64-3000 development]# rm -f /usr/bin/magicdev
rm: cannot remove `/usr/bin/magicdev': Operation not permitted
[root@amd64-3000 development]# chmod 777 /usr/bin/magicdev
chmod: changing permissions of `/usr/bin/magicdev': Operation not
permitted
[root@amd64-3000 development]# mv /usr/bin/magicdev .
mv: cannot move `/usr/bin/magicdev' to `./magicdev': Operation not
permitted
Maybe it's immutable:
# lsattr /usr/bin/magicdev
Paul.
Wow! Who knew?
chattr -i worked.
Thanks a lot. I'd never heard about immutable, much less
figured that out.
sean
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list