0

I hadn't updated elementaryOS for a while.

My OSupdate has 29 components with update in the Appcenter.

If I am in the Appcenter and click on Update, the OS asks my password and then the update cancels itself, and I don't know why.

I thought, if I cannot update with the Appcenter, then I can update with Terminal. I tried following commands (from Update with terminal instead of AppCenter) :

sudo apt update : I then have in the Appcenter the following message : "Failed to fetch updates - This may have been caused by external, manually added software repositeries or a corrupted sources file." (see the image below)

sudo apt full-upgrade : E: dkpg was interrupted, you must manually run "sudo dkpg --configure -a" to resolve the problem

sudo apt-get update : in the Terminal I read Reading package list...done In the Appcenter I have the same error message as with sudo apt update

sudo apt-get dist-upgrade : same error message as with sudo apt full-upgrade

image description : my error with sudo apt update and sudo apt-get update

I just hope someone knows how to deal with this. Perhaps with another command text or if I could understand the error messages and what to do with them.

Anyway thanks to anyone trying to help.

  • Have you tried sudo dkpg --configure -a ? – a-tokarev Sep 8 at 7:45
  • It answers "sudo: dkpg: command not found". I thought I coudn't use the sudo dkpg command because it is the first time I use it. – Linoobie Sep 13 at 18:46
  • Perhaps there are other commands to ask the OS to upgrade. I also have Firefox updates to make. – Linoobie Sep 13 at 18:48
  • Go to folder /usr/bin and see if dpkg (and other files, which names begin with dpkg) is there. – a-tokarev Sep 14 at 8:52
  • There is a dpkg file with 23 other dpkg files (from dpkg-architecture to dpkg-vendor). Tell me all other info you need. – Linoobie Sep 14 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.