I have been dealing with an issue all day here. I cannot seem to have apt-get work for anything whatsoever. I have been through several parameters here including trying these following solutions:
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
- detect processes to see if I need to establish kill method
- remounting
r+w
permissions and usingchmod
and/orchown
methods - used
rm -rf
to remove lock files from directories (which I know is not the best solution) - tried using autoremove, autoclean, clean,....
I have tried many things and cannot find a proper solution. Is there a way to restore system settings and still keep home files?
Thanks everyone!
apt-get
lock disappears when you reboot. – Danibix Apr 11 '16 at 21:17sudo apt-get upgrade --force-yes
by [edit]ing your question and putting it there or provide a link to http://paste.ubuntu.com? – Fabby Apr 12 '16 at 12:45Reading state information... Done E: The package jdk1.8.0-77 needs to be reinstalled, but I can't find an archive for it. Synaptic also refuses to open, with blocking screen:E: The package jdk1.8.0-77 needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report. – DragonLord Apr 12 '16 at 21:21