Feedback

type to search

changing ownership of `;a': No such file or directory

Asked by

I’m using ARM9 SBC with Debian Etch. While I’m upgrading to Lenny by apt-get dist-upgrade, I got this mesage


Preconfiguring packages …
Setting up libuuid1 (1.41.3-1) …
chown: changing ownership of `;a': No such file or directory
dpkg: error processing libuuid1 (—configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libuuid1
E: Sub-process /usr/bin/dpkg returned an error code (1)

what should I do, then?

Linux ts7000 2.6.21-ts #4 PREEMPT Wed Jan 27 17:12:25 MST 2010 armv4tl GNU/Linux
or Cancel

3 answers

2

rhonda [ Editor ]

You need to find out where this file actually lives. The ; character might be an issue here, it would need to get escaped.

You can find the postinst script of the package in /var/lib/dpkg/info/libuuid1.postinst. Take a look at the file and search for lines with “chown” in them, and you might want to look which files in which directory it likes to change. Fix the code there.

 You can also run the script manually in debug mode. Do this (as root) with:

sh -x /var/lib/dpkg/info/libuuid1.postinst configure



This should get you debug output.

Said that general advice, actually the only chown I see in that file is this line: chown libuuid:libuuid /var/lib/libuuid - do you have a different line with chown in your file?
or Cancel
0

sectau

# chown libuuid:libuuid /var/lib/libuuid                        
chown: changing ownership of `\2671': No such file or directory 
or Cancel
0

thepsin

i got this after sh -x /var/lib/dpkg/info/libuuid1.postinst configure


+ set -e
+ ADDUSERCONF=/etc/adduser.conf
+ test -f /etc/adduser.conf
++ sed -n ’s/^:space:FIRSTSYSTEMUID:space:=:space:[“‘\’‘]\?([^”’\‘’])[“‘\’‘]\?/\1/p’ /etc/adduser.conf
+ FIRSTSYSTEMUID=100
++ sed -n ’s/^:space:LASTSYSTEMUID:space:=:space:[”‘\’‘]\?([^“’\‘’])[”‘\’‘]\?/\1/p’ /etc/adduser.conf
+ LASTSYSTEMUID=999
++ sed -n ’s/^:space:FIRSTSYSTEMGID:space:=:space:[“‘\’‘]\?([^”’\‘’])[“‘\’‘]\?/\1/p’ /etc/adduser.conf
+ FIRSTSYSTEMGID=
++ sed -n ’s/^:space:LASTSYSTEMGID:space:=:space:[”‘\’‘]\?([^“’\‘’])[”‘\’‘]\?/\1/p’ /etc/adduser.conf
+ LASTSYSTEMGID=
+ test -z 100
+ test -z 999
+ test -z ‘’
+ FIRSTSYSTEMGID=100
+ test -z ‘’
+ LASTSYSTEMGID=999
+ getent group
+ grep -q libuuid
+ getent passwd
+ grep -q libuuid
+ mkdir -p /var/lib/libuuid
+ chown libuuid:libuuid /var/lib/libuuid
chown: changing ownership of `;a': No such file or directory

or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.