Elementary OS, issue with updates.

Ludo -  
mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   -

Hello,

I can't seem to do my updates on Elementary OS.

When I go to the "App Center," at the top of the window, there's a small orange icon that shows the number of available updates. I click on it, and then I get the message Searching for updates. Downloading a list of available updates for the system and installed applications. I've left the computer on for 2 hours, and nothing happens, I'm still stuck with this message.

How can I manually do the updates in graphical mode?

Thank you.


2 answers

  1. luckydu43 Posted messages 4497 Registration date   Status Member Last intervention   1 177
     

    Hello,

    In that case, my first instinct is not to persist with the interface but to run a few commands :-)

    The problem may come from the dependency repositories, run

    sudo software-properties-gtk

    This will open a graphical interface; check that all the repository sources are checked.

    Here is a list of the default repositories; you can restore it with the following commands:

    sudo tee /etc/apt/sources.list <<EOF deb http://fr.archive.ubuntu.com/ubuntu focal main restricted universe multiverse deb http://fr.archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse deb http://fr.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu focal-security main restricted universe multiverse EOF

    Whether you used one method or the other, follow up with:

    sudo apt update && sudo apt upgrade -y && sudo apt autoremove

    Another workaround is to go through another application manager.

    Assuming that the application center cannot update or install, let’s run one last command:

    sudo apt install gnome-software

    This store acts as the application center while waiting for a future version to fix the problem.


    MAANGs don’t have oil but they have data!
    Do you feel my Big Data?
    Sacrifice a few freedoms for more security and you lose them ALL.
    ALL YOUR DATABASE ARE BELONG TO US

    1
  2. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 944
     

    Hello,

    • Are you able to browse the Internet with this computer?
    • What software do you use to perform updates?
    • Are you connecting or have you connected to the Internet with this computer via a proxy? If so, with software like discover, it may be necessary to clear one of its transaction tables to "repair" it.
      • Example with discover (see here)
        sudo apt update sudo apt install sqlitebrowser sudo sqlitebrowser /var/lib/PackageKit/transactions.db # Clear the proxy table, then relaunch discover
    • What do the following return:
    sudo apt update sudo apt upgrade

    Good luck

    0