Upgrade to 1.6 giving issues

comedit

New Member
Jun 13, 2010
9
0
1
I try to upgrade :


but I get this error:

59 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/44.0MB of archives.
After this operation, 2321kB disk space will be freed.
Do you want to continue [Y/n]? y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 26401 files and directories currently installed.)
Preparing to replace dpkg 1.14.25 (using .../dpkg_1.14.29_amd64.deb) ...
Unpacking replacement dpkg ...
dpkg: error processing /var/cache/apt/archives/dpkg_1.14.29_amd64.deb (--unpack):
unable to create `./usr/bin/dpkg-query': Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/dpkg_1.14.29_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

My apt-sourcefile loooks like this:

deb http://ftp.nl.debian.org/debian lenny main contrib

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve

# security updates
deb http://security.debian.org/ lenny/updates main contrib


I do not have a clue what is going wrong

Thanks in advance for your quick reply
 
pm:~# ls -lsa /usr/bin/dpkg-query
112 -rwxr-xr-x 1 root root 109928 Feb 3 2009 /usr/bin/dpkg-query

pm:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/pve/root 99083868 1219928 92830776 2% /
tmpfs 1027016 0 1027016 0% /lib/init/rw
udev 10240 2684 7556 27% /dev
tmpfs 1027016 4 1027012 1% /dev/shm
/dev/mapper/pve-data 613224568 125028548 488196020 21% /var/lib/vz
/dev/sda1 516040 31828 458000 7% /boot


HHope this helps
 
Hi,
that's looks normal... but i'm wonder about the relative path ( ./usr/bin/dpkg-query ).

Perhaps you can try to change the working directory to / - so the relative path match.

You use the root-account for "apt-get upgrade"?

Udo
 
Hi,
that's looks normal... but i'm wonder about the relative path ( ./usr/bin/dpkg-query ).

Perhaps you can try to change the working directory to / - so the relative path match.

I would not know how to do that ?

You use the root-account for "apt-get upgrade"?

yes I am logged in as root

Luc
 
Hi,
that's looks normal... but i'm wonder about the relative path ( ./usr/bin/dpkg-query ).

Perhaps you can try to change the working directory to / - so the relative path match.

I would not know how to do that ?

You use the root-account for "apt-get upgrade"?

yes I am logged in as root

Luc
Hi,
Code:
cd /
apt-get upgrade

Udo
 
Still an issue:

Unpacking replacement dpkg ...
dpkg: error processing /var/cache/apt/archives/dpkg_1.14.29_amd64.deb (--unpack):
unable to create `./usr/bin/dpkg-query': Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/dpkg_1.14.29_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pm:/#