Sete comandos para recriar o arquivo de lista para cada pacote (para uma máquina de 64 bits).
Mas primeiro corra
sudo apt-get autoclean
para remover DEBs desnecessários em /var/cache/apt/archives
. Isso é necessário que os seguintes comandos funcionem corretamente.
find /var/cache/apt/archives/ -type f -name 'unity-scope-gourmet_*amd64.deb' -print -quit | xargs -I{} dpkg-deb --fsys-tarfile {} | tar t | cut -f2- -d. | sed 's|^/$|/.|' | sed 's|/$||' | sudo tee /var/lib/dpkg/info/unity-scope-gourmet.list; sudo chmod ugo+r /var/lib/dpkg/info/unity-scope-gourmet.list
find /var/cache/apt/archives/ -type f -name 'unity-scope-guayadeque_*amd64.deb' -print -quit | xargs -I{} dpkg-deb --fsys-tarfile {} | tar t | cut -f2- -d. | sed 's|^/$|/.|' | sed 's|/$||' | sudo tee /var/lib/dpkg/info/unity-scope-guayadeque.list; sudo chmod ugo+r /var/lib/dpkg/info/unity-scope-guayadeque.list
find /var/cache/apt/archives/ -type f -name 'unity-scope-gmusicbrowser_*amd64.deb' -print -quit | xargs -I{} dpkg-deb --fsys-tarfile {} |tar t | cut -f2- -d. | sed 's|^/$|/.|' | sed 's|/$||' | sudo tee /var/lib/dpkg/info/unity-scope-gmusicbrowser.list; sudo chmod ugo+r /var/lib/dpkg/info/unity-scope-gmusicbrowser.list
find /var/cache/apt/archives/ -type f -name 'unity-scope-manpages_*amd64.deb' -print -quit | xargs -I{} dpkg-deb --fsys-tarfile {} | tar t | cut -f2- -d. | sed 's|^/$|/.|' | sed 's|/$||' | sudo tee /var/lib/dpkg/info/unity-scope-manpages.list; sudo chmod ugo+r /var/lib/dpkg/info/unity-scope-manpages.list
find /var/cache/apt/archives/ -type f -name 'unity-scope-firefoxbookmarks_*amd64.deb' -print -quit | xargs -I{} dpkg-deb --fsys-tarfile {} | tar t | cut -f2- -d. | sed 's|^/$|/.|' | sed 's|/$||' | sudo tee /var/lib/dpkg/info/unity-scope-firefoxbookmarks.list; sudo chmod ugo+r /var/lib/dpkg/info/unity-scope-firefoxbookmarks.list
find /var/cache/apt/archives/ -type f -name 'unity-scope-gdrive_*amd64.deb' -print -quit | xargs -I{} dpkg-deb --fsys-tarfile {} | tar t | cut -f2- -d. | sed 's|^/$|/.|' | sed 's|/$||' | sudo tee /var/lib/dpkg/info/unity-scope-gdrive.list; sudo chmod ugo+r /var/lib/dpkg/info/unity-scope-gdrive.list
find /var/cache/apt/archives/ -type f -name 'unity-scope-home_*amd64.deb' -print -quit | xargs -I{} dpkg-deb --fsys-tarfile {} | tar t | cut -f2- -d. | sed 's|^/$|/.|' | sed 's|/$||' | sudo tee /var/lib/dpkg/info/unity-scope-home.list; sudo chmod ugo+r /var/lib/dpkg/info/unity-scope-home.list
Alguns testes depois, o comando
sudo apt-get install --reinstall unity-scope-gourmet unity-scope-guayadeque unity-scope-gmusicbrowser unity-scope-manpages unity-scope-firefoxbookmarks unity-scope-gdrive unity-scope-home
também deve ajudar.