Announcement

Collapse
No announcement yet.

Discover up date won't work?

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

    Discover up date won't work?

    Discover said I have updates and I tried to run it as I usually do but I goth this message.....

    Cannot obtain lock:

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


    Tried to run some commands in Terminal but nothing worked.
    Is there a command that I can run that will fix this?

    Thanks
    G

    PS
    The wife's 22.04 computer is getting the same message.
    Last edited by GregM; Dec 16, 2024, 05:24 PM.
    Greg
    W9WD

    #2
    This seems to be happening. I opened Synaptic, and then Edit > Fix broken packages. Also clicked Check for updates. Somehow -- somehow -- that fixed mine recently. It was a little unclear to me exactly what I did.

    But, the guys here usually say to try this:

    sudo apt update && sudo apt full-upgrade.
    sudo apt-get update
    then
    sudo apt-get upgrade
    then
    sudo apt-get dist-upgrade

    If Discover freezes, then rather than a hard re-boot, you can kill it by,
    ctril-alt-esc
    Last edited by Qqmike; Dec 16, 2024, 05:41 PM.
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment


      #3
      Those are the older version of the apt command, which still work.
      apt-get update refreshes the package list from the repositories.
      apt-get upgrade installs newest versions of all installed packages.
      apt-get dist-upgrade performs the function of upgrade, but also smartly handles changing dependencies with new versions of packages.
      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #4
        I tried your suggestion about opening Synaptic and it would not open.
        Greg
        W9WD

        Comment


          #5
          Have you tried rebooting and then running the commands?
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            I tried
            sudo apt -f install
            ​ a couple of times

            It seemed to work and then I did

            sudo apt-get update && sudo apt-get dist-upgrade
            sudo apt-get clean
            sudo apt-get autoremove --purge​


            and it seems to be working now?
            Greg
            W9WD

            Comment


              #7
              So I backed up my 22.04 disk and then tried to do the 24.04 update from Discover and it failed.
              A little box came up and said it failed for the following reasons...... but it was blank.
              Greg
              W9WD

              Comment


                #8
                Well I kept at it and finally 24.04 started updating.
                It finished but a few things no longer work Like Synaptic.
                Some sudo commands in Terminal don't work.
                Spectacle doesn't work

                It says I have 24.04 but what a mess
                Greg
                W9WD

                Comment

                Working...
                X