HD Install :: chown, chgrp, and chmod errors on HDD installation
OK, I think I have ironed out all of my setup issues on the system except for installing programs. I have installed DSL to the hard drive with no problems except this. For instance, when I try to install the Citrix ICA Client for Linux, I get the following errors (it never installs properly):
chgrp: failed to get attributes of `/usr/lib/ICAClient/icons/pn32.xpm': No such file or directory
chmod: failed to get attributes of `/usr/lib/ICAClient/nls': No such file or directory
chown: failed to get attributes of `/usr/lib/ICAClient/nls': No such file or directory
chgrp: failed to get attributes of `/usr/lib/ICAClient/nls': No such file or directory
chmod: failed to get attributes of `/usr/lib/ICAClient/nls/en': No such file or directory
chown: failed to get attributes of `/usr/lib/ICAClient/nls/en': No such file or directory
chgrp: failed to get attributes of `/usr/lib/ICAClient/nls/en': No such file or directory
chmod: failed to get attributes of `/usr/lib/ICAClient/nls/en/pna.nls': No such file or directory
chown: failed to get attributes of `/usr/lib/ICAClient/nls/en/pna.nls': No such file or directory
Now, on KNOPPIX this all works fine... so this is exclusive to DSL. I've tried it on multiple machines as well with the same result. Does anyone have any clue as to what may be causing this to happen and how I can fix it? I am logged in as root (of course) when I do the installation. HELP!!! I like this distro but the whole purpose was to build an ICA client to reuse old hardware... and if it doesnt do that I have to move to another distro. I WANT TO STAY WITH DSL!!! 
Ok, I have tried everything I can think of with this... I've tried downloading and unpacking as damnsmall and installing as root... installing as damnsmall (in the home dir)... and every other conceivable combination with same result. I've tried chowning and chmoding all destinations... no go. Something is screwy with permissions by I cannot put my finger on it. Has NOBODY seen this issue before? This is happening on multiple machines with DSL... not with Knoppix.
Anyone? Anyone?
1) Do these files and directories really exist? Were they installed in the EXACT SAME LOCATION as listed in the error message? Do an 'ls -l' in that folder or use emelfm to check the files.
2) Can you manually change the attributes yourself using chmod or chown from the command line?
3) Can you use Nedit to create a dummy file in your /home/damnsmall directory and then use chmod or chown to see if these commands work at all?
4) What kind of file system is the partition where your /usr directory is located? Are you booting DSL from the liveCD or are you booting from hard disk using LILO?
5) Please report the results of the following command:
# ls -l /
1) No.. they were never copied. The installer was trying to install those files but I guess was unable to.
2) Yes, like I said before, I tried that. I chmoded, chowned, etc... to no avail. The directory structure has the right permissions but still no go.
3) Yeah I tried that and the commands are working fine.
4) EXT2. I am booting from the HDD/lilo
5) see below:
total 3226
drwxr-xr-x 2 root root 2048 Nov 10 19:33 bin
drwxr-xr-x 2 root root 1024 Dec 2 14:20 boot
drwxr-xr-x 2 root root 1024 Apr 14 2001 cdrom
-rwxr-xr-x 1 root root 1310 Aug 25 12:35 checklist
drwxr-xr-x 10 root root 29696 Dec 2 15:59 dev
drwxr-xr-x 57 root root 3072 Dec 4 09:30 etc
drwxr-xr-x 2 root root 1024 Apr 14 2001 floppy
drwxrwsr-x 4 damnsmall staff 1024 Dec 2 14:07 home
drwxr-xr-x 4 root root 3072 Oct 15 20:50 lib
-rwxr-xr-x 1 root root 151528 Jul 14 13:55 linuxrc
drwx------ 2 root root 12288 Dec 2 14:06 lost+found
-rw-r--r-- 1 root root 3072000 Dec 2 14:20 miniroot
drwxr-xr-x 7 root root 1024 Dec 2 14:21 mnt
drwxr-xr-x 2 root root 1024 Nov 26 2002 none
dr-xr-xr-x 40 root root 0 Dec 2 07:59 proc
drwxr-xr-x 5 root root 1024 Nov 10 19:10 root
drwxr-xr-x 2 root root 2048 Oct 30 15:59 sbin
drwxrwxrwt 3 root root 1024 Dec 3 09:45 tmp
drwxr-xr-x 15 root root 1024 Oct 30 11:48 usr
drwxr-xr-x 15 root root 1024 Oct 11 23:50 var
lrwxrwxrwx 1 root root 23 Dec 2 14:07 vmlinuz -> boot/vmlinuz-2.4.20-xfs
Can you post the link to the installation program?
Maybe someone here can duplicate this problem. Other than running out of disk space, I'm out of ideas at the moment.
Next Page...
original here.