Update problems. Failed to download repository

This is something that has been around for a couple of days now.
My internet connection is just fine for everything except this.
Where do I start looking ?
I have the same version of Cinnamon on another PC and that’s working OK.

Hi, did you check if the file with the repositories is correctly configured? Did you ever modify it? Regards

You can also find /etc/apt/sources.list.d/ to troubleshoot these issues or go to Software & Updates app to do the same.

It shows that you screenshot Ubuntu Cinnamon 24.04 LTS in 4K resolution but it was cropped. :grin:

So again, troubleshoot with 2 ways to fix that.
If there is an obsoleted .sources file that is no longer relevant like Steam Deb or something, you’ll want to remove them in file manager in sudo mode or admin mode if you can.

I have a same problem and I always troubleshoot the repository issues by checking on this path.

/etc/apt/sources.list.d/ (SUDO/ROOT MODE REQUIRED)

Unless if you’re on a version of Ubuntu that is no longer supported like 23.10 or older.

As older LTS releases of Ubuntu like 22.04, 20.04, 18.04 (Ubuntu Pro), 16.04 (Ubuntu Pro) or 14.04 (Ubuntu Pro), they should still be able to do so.

Of course I’ts cropped.
The dialogue box is the only thing of interest.

1 Like

Not as far as I know.
It just started out of the blue.

I just took a look at the server download settings and changed from main to USA, or was it the other way round ?
I forget.

But Ubuntu generated this image for me.
What does all this mean ?

Does running sudo apt update in Terminal also produce errors?
If so, could you please post the full terminal output from that command?

Here it is

Failed to exec method /usr/lib/apt/methods/https ( via /usr/lib/apt/methods/https)
Failed to exec method /usr/lib/apt/methods/https ( via /usr/lib/apt/methods/https)
Failed to exec method /usr/lib/apt/methods/https ( via /usr/lib/apt/methods/https)
Failed to exec method /usr/lib/apt/methods/https ( via /usr/lib/apt/methods/https)
Failed to exec method /usr/lib/apt/methods/https ( via /usr/lib/apt/methods/https)
Failed to exec method /usr/lib/apt/methods/https ( via /usr/lib/apt/methods/https)
Failed to exec method /usr/lib/apt/methods/https ( via /usr/lib/apt/methods/https)
Failed to exec method /usr/lib/apt/methods/http ( via /usr/lib/apt/methods/http)
Failed to exec method /usr/lib/apt/methods/http ( via /usr/lib/apt/methods/http)
Failed to exec method /usr/lib/apt/methods/http ( via /usr/lib/apt/methods/http)
Failed to exec method /usr/lib/apt/methods/http ( via /usr/lib/apt/methods/http)
Failed to exec method /usr/lib/apt/methods/http ( via /usr/lib/apt/methods/http)
Reading package lists… Done
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (100)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (100)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (100)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (100)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (100)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (100)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (100)
E: Method /usr/lib/apt/methods/https did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Failed to fetch https://repo.radeon.com/amdgpu/6.2.3/ubuntu/dists/noble/InRelease
E: Failed to fetch https://linux.brostrend.com/dists/stable/InRelease
E: Failed to fetch https://repo.radeon.com/rocm/apt/6.2.3/dists/noble/InRelease
E: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/dists/noble-apps-security/InRelease
E: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/dists/noble-apps-updates/InRelease
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/noble-infra-security/InRelease
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/noble-infra-updates/InRelease
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/InRelease
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-updates/InRelease
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-backports/InRelease
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-security/InRelease
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
N: Missing Signed-By in the sources.list(5) entry for β€˜https://repo.radeon.com/amdgpu/6.2.3/ubuntu’
N: Missing Signed-By in the sources.list(5) entry for β€˜https://repo.radeon.com/rocm/apt/6.2.3’

Thanks. What is the output from running

ls -la /usr/lib/apt/methods

It wouldn’t hurt to see this as well;

less  /etc/resolv.conf 

Here it is

total 944
drwxr-xr-x 2 root root 4096 Apr 25 2024 .
drwxr-xr-x 5 root root 4096 Apr 25 2024 …
-rwxr-xr-x 1 root root 76256 Mar 31 2024 cdrom
-rwxr-xr-x 1 root root 59872 Mar 31 2024 copy
-rwxr-xr-x 1 root root 59872 Mar 31 2024 file
-rwxr-xr-x 1 root root 121328 Mar 31 2024 ftp
-rwxr-xr-x 1 root root 104928 Mar 31 2024 gpgv
-rwxr-xr-x 1 root root 186848 Mar 31 2024 http
lrwxrwxrwx 1 root root 4 Mar 31 2024 https β†’ http
-rwxr-xr-x 1 root root 104928 Mar 31 2024 mirror
lrwxrwxrwx 1 root root 6 Mar 31 2024 mirror+copy β†’ mirror
lrwxrwxrwx 1 root root 6 Mar 31 2024 mirror+file β†’ mirror
lrwxrwxrwx 1 root root 6 Mar 31 2024 mirror+ftp β†’ mirror
lrwxrwxrwx 1 root root 6 Mar 31 2024 mirror+http β†’ mirror
lrwxrwxrwx 1 root root 6 Mar 31 2024 mirror+https β†’ mirror
-rwxr-xr-x 1 root root 88544 Mar 31 2024 rred
-rwxr-xr-x 1 root root 76272 Mar 31 2024 rsh
lrwxrwxrwx 1 root root 3 Mar 31 2024 ssh β†’ rsh
-rwxr-xr-x 1 root root 63968 Mar 31 2024 store

Here it is.

This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).

Do not edit.

This file might be symlinked as /etc/resolv.conf. If you’re looking at

/etc/resolv.conf and seeing this text, you have followed the symlink.

This is a dynamic resolv.conf file for connecting local clients to the

internal DNS stub resolver of systemd-resolved. This file lists all

configured search domains.

Run β€œresolvectl status” to see details about the uplink DNS servers

currently in use.

Third party programs should typically not access this file directly, but only

through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a

different way, replace this symlink by a static file or a different symlink.

See man:systemd-resolved.service(8) for details about the supported modes of

operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search .
~
~
~
~
~
~
~
~
~
~
(END)

where did this come from?

options edns0 trust-ad

Did you add that?

Your permissions look good in " /usr/lib/apt/methods"

If you run

findmnt | less -S

what does it show for mount options for the filesystem containing /usr/lib/apt/methods?

Does journalctl -b show any messages related to this failure from the time you run sudo apt update?

@1fallen that line in /etc/resolv.conf is normal and default.

No, I have not added or edited anything.

I do it differently and I forget that I change it ie:
The bottom of mine are as follows

nameserver 127.0.0.53
nameserver 8.8.8.8
nameserver 8.8.4.4

But that’s my way and have not had a single issue since 22.04 thru 25.04 Plucky. :smiley:

Here it is.

β”œβ”€/snap/brave/460 /dev/loop1 squashfs >
β”œβ”€/snap/brave/462 /dev/loop0 squashfs >
β”œβ”€/snap/canonical-livepatch/286 /dev/loop4 squashfs >
β”œβ”€/snap/core/17200 /dev/loop5 squashfs >
β”œβ”€/snap/core18/2829 /dev/loop6 squashfs >
β”œβ”€/snap/core18/2846 /dev/loop7 squashfs >
β”œβ”€/snap/core20/2379 /dev/loop9 squashfs >
β”œβ”€/snap/core20/2434 /dev/loop8 squashfs >
β”œβ”€/snap/core22/1663 /dev/loop10 squashfs >
β”œβ”€/snap/core22/1722 /dev/loop11 squashfs >
β”œβ”€/snap/core24/609 /dev/loop12 squashfs >
β”œβ”€/snap/firefox/5361 /dev/loop13 squashfs >
β”œβ”€/snap/core24/490 /dev/loop14 squashfs >
β”œβ”€/snap/gnome-3-28-1804/198 /dev/loop15 squashfs >
β”œβ”€/snap/gtk2-common-themes/13 /dev/loop18 squashfs >
β”œβ”€/snap/firefox/5437 /dev/loop16 squashfs >
β”œβ”€/snap/gnome-42-2204/176 /dev/loop17 squashfs >
β”œβ”€/snap/gtk-common-themes/1535 /dev/loop19 squashfs >
β”œβ”€/snap/hplip-printer-app/826 /dev/loop20 squashfs >
β”œβ”€/snap/hplip-printer-app/853 /dev/loop21 squashfs >
β”œβ”€/snap/kf5-5-113-qt-5-15-11-core22/1 /dev/loop22 squashfs >
β”œβ”€/snap/mediainfo-gui/36 /dev/loop24 squashfs >
β”œβ”€/snap/makemkv/627 /dev/loop23 squashfs >
β”œβ”€/snap/mediainfo-gui/38 /dev/loop25 squashfs >
β”œβ”€/snap/picard/1747 /dev/loop26 squashfs >
β”œβ”€/snap/skype/375 /dev/loop27 squashfs >
β”œβ”€/snap/snapd/23258 /dev/loop29 squashfs >
β”œβ”€/snap/snapd/21759 /dev/loop31 squashfs >
β”œβ”€/snap/skype/378 /dev/loop28 squashfs >
β”œβ”€/snap/telegram-desktop/6357 /dev/loop30 squashfs >
β”œβ”€/snap/telegram-desktop/6394 /dev/loop32 squashfs >
β”œβ”€/snap/thunderbird/593 /dev/loop33 squashfs >
β”œβ”€/snap/video-downloader/1224 /dev/loop35 squashfs >
β”œβ”€/snap/thunderbird/609 /dev/loop34 squashfs >
β”œβ”€/snap/video-downloader/1227 /dev/loop36 squashfs >
β”œβ”€/snap/vlc/3777 /dev/loop37 squashfs >
β”œβ”€/var/snap/firefox/common/host-hunspell /dev/sda2[/usr/share/hunspell] ext4 >
β”œβ”€/mnt/wwn-0x5002538f53408453-part1 /dev/sdb1 fuseblk >
└─/mnt/wwn-0x5002538e00000000-part1 /dev/sdc1 fuseblk >
(END)

Apologies, I should have given more details - unfortunately the pertinent info from your findmnt output is cut off to the top and right relative to what you copy-pasted here.

To get the full findmnt output in a format you can copy-paste, run

findmnt > ./findmnt.txt

and copy the contents of the created findmnt.txt file.

To make command output easier to read and avoid it being reformatted, it would be helpful if you could please post it in between lines of triple-backticks, like so:

Thanks :slightly_smiling_face:

need at least one file to send
Try ` --help’ for more information.

Not sure what you mean, what @halogen2 meant is, run in terminal:

findmnt > ./findmnt.txt

Then with your text-editor β€œgedit” I’ll assume here, use:

gedit  ./findmnt.txt

Copy all shown and paste it back here using β€œ</>” see screentshot.
2024-12-22_14-56

1 Like