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
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