sh: tar: command not found

Issues related to software problems.
Post Reply
pmtechwl
Posts: 1
Joined: 2016/10/24 11:23:38

sh: tar: command not found

Post by pmtechwl » 2016/10/24 11:31:10

Problems with tar:

Centos 5.11 32-Bit with Directadmin

At installing csf i get:

Unpacking new csf package...
sh: tar: command not found
sh: line 0: cd: csf: Bestand of map bestaat niet
sh: install.sh: Bestand of map bestaat niet

Installing tar:
Running Transaction
Installing : tar 1/1
Error unpacking rpm package 2:tar-1.15.1-32.el5_8.i386
error: unpacking of archive failed on file /bin/tar: cpio: rename

Failed:
tar.i386 2:1.15.1-32.el5_8
Locate Tar:
[root@server ~]# whereis tar
tar: /bin/tar /usr/include/tar.h




Anyone can help me?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: sh: tar: command not found

Post by TrevorH » 2016/10/24 11:55:05

Error unpacking rpm package 2:tar-1.15.1-32.el5_8.i386
error: unpacking of archive failed on file /bin/tar: cpio: rename
That usually means that either the file is marked immutable using chattr or someone has created a directory called the same thing.

We don't support DirectAdmin or CSF. You'll need to ask questions of their support channels as panels make so many changes to the o.s that we can no longer support it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply