Software updater - failed to download repository information

I am running with ubuntu 22.04.5 LTS

software updater - failed to download repository information This happens every time. I then goto settings and it tells me everything is up to date. This dance is every time. It also infers that I am not connected. Both my wifi and my network is connected says settings. I can go all over the place with no problem.

I have two machines running. One has this dance - the other works.

Thoughts?

Is there any output that looks strange from sudo apt update and sudo apt-dist-upgrade?

1 Like

Please post the output of commands or logs so we can help you troubleshoot any issues.

Nope - its exactly as I said…

@drufus2002 you’re saying that when you do the above the only thing you see is:

failed to download repository information

??? Because that would be incredibly weird behavior. Usually it should at least show it’s trying to connect to something.

Please post output from command inxi -r
if you don’t have inxi you can install it with sudo apt install inxi

1 Like

Thank you for the reply…

greg@greg-OptiPlex-790:~$ inxi -r
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
    2: deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
    3: deb http://us.archive.ubuntu.com/ubuntu/ jammy universe
    4: deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates universe
    5: deb http://us.archive.ubuntu.com/ubuntu/ jammy multiverse
    6: deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
    7: deb http://us.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
    8: deb http://us.archive.ubuntu.com/ubuntu/ jammy-security main restricted
    9: deb http://us.archive.ubuntu.com/ubuntu/ jammy-security universe
    10: deb http://us.archive.ubuntu.com/ubuntu/ jammy-security multiverse
  Active apt repos in: /etc/apt/sources.list.d/jcfp-ubuntu-nobetas-jammy.list
    1: deb https://ppa.launchpadcontent.net/jcfp/nobetas/ubuntu/ jammy main
  Active apt repos in: /etc/apt/sources.list.d/me-davidsansome-ubuntu-clementine-jammy.list
    1: deb https://ppa.launchpadcontent.net/me-davidsansome/clementine/ubuntu/ jammy main
  Active apt repos in: /etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-jammy.list
    1: deb https://ppa.launchpadcontent.net/team-xbmc/ppa/ubuntu/ jammy main
  Active apt repos in: /etc/apt/sources.list.d/ubuntu-esm-apps.list
    1: deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
    2: deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
  Active apt repos in: /etc/apt/sources.list.d/ubuntu-esm-infra.list
    1: deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
    2: deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main
greg@greg-OptiPlex-790:~$

Since this only happens on one machine I will just ignore it.

Thank you for the replies…

You’re saying that this is the “software updater”. Do you mean the GUI Ubuntu Store, or the command line?

Please post the entire output from both of these commands:

sudo apt update
sudo apt upgrade

Aside: I’d recommend not doing this. Use apt full-upgrade or apt dist-upgrade, not upgrade. You’ll find packages often get held back using upgrade.

2 Likes

Packages are supposed to be held back — their release is being phased. It’s a good idea to allow this, because I’ve often seen that bugs rear their heads, and then it’s fortunate that they weren’t installed on my machine. (There’s only one in error right now, but I’ve sometimes seen quite a few in error.)

As another aside, I read that dist-upgrade was deprecated in favour of full-upgrade. I don’t know if that’s correct.

I’m not talking about phasing. apt upgrade will not upgrade (i.e. will hold back) packages where the upgrade requires the installation of another package. apt dist-upgrade (and other variants) will not hold packages back, if they also require some other package to install.

2 Likes

Ah, right, thank you. I’ve hardly ever needed to use it, but you’re right, it can make a difference.

1 Like

This topic was automatically closed after 29 days. New replies are no longer allowed.