Kod: Zaznacz cały
reboot
Próbuję to naprawić reinstalacja ale to na nic:
Kod: Zaznacz cały
E: Sub-process /usr/bin/dpkg returned an error code (100)
Dodam jeszcze, że mam Debiana 5.0 (VPS)
Kod: Zaznacz cały
reboot
Kod: Zaznacz cały
E: Sub-process /usr/bin/dpkg returned an error code (100)
Kod: Zaznacz cały
cd /var/cache/apt/archives
sudo rm -f `ls | grep dpkg`
sudo apt-get update
reinstaluj dpkg
Kod: Zaznacz cały
sudo dpkg-reconfigure dpkg //albo
apt-get update
Kod: Zaznacz cały
/usr/sbin/dpkg-reconfigure: please specify a package to reconfigure
Kod: Zaznacz cały
sudo dpkg-reconfigure dpkg
Kod: Zaznacz cały
ls -l /usr/bin/dpkg
Kod: Zaznacz cały
188:/# dpkg-reconfigure dpkg
dpkg-query: failed to open package info file `/usr/local/var/dpkg/status' for reading: No such file or directory
/usr/sbin/dpkg-reconfigure: dpkg is not installed
Kod: Zaznacz cały
188:/# ls -l /usr/bin/dpkg
-rwxrwxrwx 1 root root 481920 Mar 8 20:57 /usr/bin/dpkg
Kod: Zaznacz cały
188:/# apt-get install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... Done
dpkg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
/usr/bin/dpkg: /usr/bin/dpkg: cannot execute binary file
E: Sub-process /usr/bin/dpkg returned an error code (126)
Kod: Zaznacz cały
dpkg
Kod: Zaznacz cały
dpkg -l | grep dpkg