LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help, installing filesystem package , I get weird error message (https://www.linuxquestions.org/questions/linux-software-2/help-installing-filesystem-package-i-get-weird-error-message-227459/)

marius7sv 09-06-2004 06:27 PM

Help, installing filesystem package , I get weird error message
 
when I try to install this package
I'm getting next errors :

Marius:~/marius# rpm -i filesystem-2.2.1-3.i386.rpm

warning: group lock does not exist - using root
error: unpacking of archive failed on file /var/mail: cpio: rename failed - Is a directory

what it's wrong, help me

os linspire 4.5.439

sether 09-06-2004 06:30 PM

have you tried it as root?

marius7sv 09-06-2004 06:34 PM

yes
 
I'm root, what it may be wrong ?

sether 09-06-2004 06:36 PM

you tried it as "marius" or did you actually log out and login as "root"?

marius7sv 09-06-2004 06:40 PM

no
 
before install I su root but at the shell command remain Marius.....

Marius:~/marius# su root
Marius:~/marius#
Marius:~/marius# rpm -i filesystem-2.2.1-3.i386.rpm
warning: group lock does not exist - using root
error: unpacking of archive failed on file /var/mail: cpio: rename failed - Is a directory

MC_8 01-26-2005 05:27 PM

Hope this helps:

Code:

[root@directbuyinc up2date]# rpm -U filesystem-2.3.0-1.i386.rpm
error: unpacking of archive failed on file /var/mail: cpio: rename failed - Is a  directory
[root@directbuyinc up2date]# ll /var/mail*
lrwxrwxrwx  1 root root  10 Jan 25 00:59 /var/mail;41f5eae8 -> spool/mail
lrwxrwxrwx  1 root root  10 Jan 26 16:19 /var/mail;41f81573 -> spool/mail
lrwxrwxrwx  1 root root  10 Jan 26 16:56 /var/mail;41f81e51 -> spool/mail
lrwxrwxrwx  1 root root  10 Jan 26 17:11 /var/mail;41f8238c -> spool/mail
lrwxrwxrwx  1 root root  10 Jan 26 17:17 /var/mail;41f824f3 -> spool/mail
lrwxrwxrwx  1 root root  10 Jan 26 17:17 /var/mail;41f82505 -> spool/mail
 
/var/mail:
total 0
lrwxrwxrwx  1 root root 10 Sep 21 03:35 mail~old -> spool/mail
[root@directbuyinc up2date]# rm -rf /var/mail*
[root@directbuyinc up2date]# ln -s /var/spool/mail /var/mail
[root@directbuyinc up2date]# ll /var/mail*
lrwxrwxrwx  1 root root 15 Jan 26 17:21 /var/mail -> /var/spool/mail
[root@directbuyinc up2date]# rpm -U filesystem-2.3.0-1.i386.rpm
[root@directbuyinc up2date]# ll /var/mail*
lrwxrwxrwx  1 root root 10 Jan 26 17:21 /var/mail -> spool/mail



All times are GMT -5. The time now is 06:13 AM.