I want to install Open JDK or Oracle JDK to my machine but I got an error during installation. The error is:
Selecting previously unselected package oracle-java8-installer.
dpkg: warning: files list file for package 'unity-scope-gourmet' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'unity-scope-guayadeque' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'unity-scope-gmusicbrowser' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'unity-scope-manpages' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'unity-scope-firefoxbookmarks' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'unity-scope-gdrive' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'unity-scope-home' missing; assuming package has no files currently installed
E: Sub-process /usr/bin/dpkg returned an error code (2)
I searched on Google and try to something for install/reinstall this packages. Finally i try to remove Unity. I faced this error for my every tries. I am using Xmonad. How can I fix this issue?
dpkg-deb
shouldn't needsudo
, thefind
command should probably be terminated after the first match. And instead ofdpkg-deb -c ... | awk ... |
, where you're processingtar
's verbose output, you could usetar
to print only the paths:dpkg-deb --fsys-tarfile {} | tar t | ...
– muru Jan 01 '16 at 12:21install
but toremove
the package? – Timo Mar 05 '18 at 19:55