2

I'm using Ubuntu 16.04 and ran an OS update using the Ubuntu Software Center, which was interrupted by a power cut. The error message, A problem occurred when checking for updates. is now present, and I can't open the terminal with the normal hotkey.

After that I tried:

sudo apt-get clean  
sudo apt-get -f install  
sudo apt-get update
sudo apt-get upgrade  

but the problems are still there.

5
  • can you open the terminal from the GUI and run sudo apt update ?
    – Karsus
    Jul 18, 2016 at 20:16
  • All packages are already up to date it seems.
    – Stefan N
    Jul 18, 2016 at 20:18
  • Okay, next go with sudo apt install -f that should fix it.
    – Karsus
    Jul 18, 2016 at 20:19
  • Sorry, i think the problem might be slightly different. I ran the command and it seems as though everything has already been installed as well.
    – Stefan N
    Jul 18, 2016 at 20:21
  • I pressed Enter originally. Unfortunately, the problems are still there.
    – Stefan N
    Jul 18, 2016 at 20:46

1 Answer 1

1

Try to execute the following commands sudo apt-get autoclean sudo apt-get update sudo apt-get upgrade

You can also check the log files:

Use tail -f /var/log/dpkg.log In one terminal, and use the update command in another terminal, you should get the error which is not letting you update.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .