Ub11
May 18th, 2011, 09:26 AM
Problem: Cannot delete file
System: Ubuntu 11.04 with KDE desktop
Symptoms:
When I try to start Synaptic, I get
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
Running the requested command in terminal, I get
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/dpkg/updates/0001' for reading: No such file or directory
ubuntu@ubuntu:/var/lib/dpkg/updates$ ls -l
total 4
-rw-r--r-- 0 root root 835 2011-05-16 21:51 0001
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo rm 0001
rm: cannot remove `0001': No such file or directory
ubuntu@ubuntu:/var/lib/dpkg/updates$ file 0001
0001: regular file, no read permission
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo chmod a+r 0001
ubuntu@ubuntu:/var/lib/dpkg/updates$ ls -l
total 4
-rw-r--r-- 0 root root 835 2011-05-16 21:51 0001
ubuntu@ubuntu:/var/lib/dpkg/updates$ file 0001
0001: regular file, no read permission
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo rm 0001
rm: cannot remove `0001': No such file or directory
Please help to delete the problem: /var/lib/dpkg/updates/0001
Also tried to move, copy and rename the file and also to delete the updates folder with rmdir.
Also tried rm -i * but it seems there is only the one file in the folder.
The only strange result is the "total 4" when I run the ls -l command: What does this mean?
Please help, I am on the verge of a re-install.
System: Ubuntu 11.04 with KDE desktop
Symptoms:
When I try to start Synaptic, I get
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
Running the requested command in terminal, I get
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/dpkg/updates/0001' for reading: No such file or directory
ubuntu@ubuntu:/var/lib/dpkg/updates$ ls -l
total 4
-rw-r--r-- 0 root root 835 2011-05-16 21:51 0001
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo rm 0001
rm: cannot remove `0001': No such file or directory
ubuntu@ubuntu:/var/lib/dpkg/updates$ file 0001
0001: regular file, no read permission
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo chmod a+r 0001
ubuntu@ubuntu:/var/lib/dpkg/updates$ ls -l
total 4
-rw-r--r-- 0 root root 835 2011-05-16 21:51 0001
ubuntu@ubuntu:/var/lib/dpkg/updates$ file 0001
0001: regular file, no read permission
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo rm 0001
rm: cannot remove `0001': No such file or directory
Please help to delete the problem: /var/lib/dpkg/updates/0001
Also tried to move, copy and rename the file and also to delete the updates folder with rmdir.
Also tried rm -i * but it seems there is only the one file in the folder.
The only strange result is the "total 4" when I run the ls -l command: What does this mean?
Please help, I am on the verge of a re-install.