Announcement

Collapse
No announcement yet.

error when normally updating system through Discover

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    error when normally updating system through Discover

    It said to copy paste the notification:
    "Cannot obtain lock:

    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem."

    When I follow these instructions, it also doesn´t work because i'm not a super user (?), which is strange because it is my own private laptop.

    Thanks in advance for your help!

    BR, Sebas

    #2
    You need to use sudo with the command.

    Code:
    sudo dpkg --configure -a
    and follow that with
    Code:
    sudo apt -f install
    to also install other things that were blocked by whatever failed the first time.

    then, to make sure there aren't other issues:\

    Code:
    sudo apt update
    sudo apt upgrade
    Discover does not show the full error, so this manually refreshes the package list, checks for updates, and installs them. You will see more complete errors if there is anything wrong. The "Cannot obtain lock:" may be an issue, so we'd need to see more to be able to fix that if necessary

    Comment


      #3
      Thank you so much claydoh! It worked perfectly :-)

      Comment

      Working...
      X