View Single Post
Posts: 11 | Thanked: 8 times | Joined on Nov 2012 @ Koksijde Belgium
#3
Originally Posted by michaaa62 View Post
Did you delete the dpkg directory, like /var/lib/dpkg, or the apt directory, like /var/cache/apt???
Please clarify to not further butcher your package management, since the first is a dirctory, while the second is a symlink to either /opt or /home/user/MyDocs.

So please give the output of all of these commands
Code:
ls -al /var/lib/dpkg
ls -al /var/cache/apt
ls -al /var/cache/apt/archives
ls -al /opt/var/cache/apt
ls -al /home/user/MyDocs/.apt-cache
Thanks for the fast reply!

Hmm, I think I've deleted the dpkg directory... But I tried allot of things in the past months...
Here is the output of the commands :
1) drwxr-xr-x 2 root root 296 Nov 12 16:30
drwxr-xr-x 27 root root 2104 Nov 12 16:30
-rw- r --r-- 1 root root 0 Nov 12 16:30 available
-rw-r----- 1 root root 0 Nov 12
16:30 lock

2) l rwx rwx rwx 1 root root 21 Nov 12 12:51 /var/cache/apt -> /home/user/.apt-cache

3) ls: /var/cache/apt/archives: No such file or directory

4)drwxr-xr-x 3 root root 4096 Jun 16 12:56 .
drwxr-xr-x 3 root root 4096 Jul 25 2010 ..
drwxr-xr-x 3 root root 4096 Jul 5 19:01 archives
-rw-r--r-- 1 root root 8088113 Jun 16 12:57 pkgcache.bin
- rw-r--r-- 1 root root 8045550 Jun 16 12:57 srcpkgcache.bin

5) ls: /home/user/MyDocs/.apt-cache: No such file or directory



Thanks!
 

The Following User Says Thank You to Haha yamaha For This Useful Post: