Wrong url in elementary.list and patches.list files

Bug #1629646 reported by thisara kasun
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
elementary OS
New
Undecided
Unassigned

Bug Description

I just noticed that following files in /etc/apt/sources.list.d have wrong urls which causes Elementary Loki updates not be delivered fine.

-elementary.list-
deb http://ppa.launchpad.net/elementary-os/stable/ubuntu loki main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu loki main

-patches.list-
deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu loki main
deb-src http://ppa.launchpad.net/elementary-os/os-patches/ubuntu loki main

Which needs to be updated as follows,

-elementary.list-
deb http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial main

-patches.list-
deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu xenial main
deb-src http://ppa.launchpad.net/elementary-os/os-patches/ubuntu xenial main

Here's the 'apt update' error before the fix,
---
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/elementary-os/stable/ubuntu loki Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/elementary-os/os-patches/ubuntu loki Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/elementary-os/stable/ubuntu/dists/loki/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/elementary-os/os-patches/ubuntu/dists/loki/main/source/Sources 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
---

This brought updates for many pantheon-specific stuff.
If this is common for other users too,they might be missing future updates from Elementary not even knowing so.

thisara kasun (thisu)
description: updated
Revision history for this message
Chinarut (chinarut) wrote :

as of a fresh install of 5.1 (hera) as of March 7, 2020, this issue is still outstanding.

"hera: needed to be replaced with "bionic" in the following 4 source lists:

/etc/apt/sources.list
/etc/apt/sources.list.d/elementary.list
/etc/apt/sources.list.d/patches.list
/etc/apt/sources.list.d/appcenter.list

Revision history for this message
Vasyl Zaulychny (zaulychny) wrote :

Same on my laptop running elementary os "Hera". The only diff is that file

/etc/apt/sources.list

is correct and no <hera> mentioned in the deb sources...

I have updated
/etc/apt/sources.list.d/elementary.list
/etc/apt/sources.list.d/patches.list
/etc/apt/sources.list.d/appcenter.list

and it works. No more nasty popup at the update of elementary os that some sources are wrong

Revision history for this message
Vasyl Zaulychny (zaulychny) wrote :

This bug is very bad as it spoils/ruins all work of the Elementary OS team. Impact => Any installed OS just never get updates...

On my opinion, it must be fixed asap. Note, After my manual fix of the files as explained above I got 45 components updated! Surprise, I do apply updates every few days and I never suspect that messages about some "missing PPA" were just about all Elementary OS stuff... I'm new to PPA but now lessons learned.

Revision history for this message
Vasyl Zaulychny (zaulychny) wrote :

Issue already solved according to EOS team. See https://github.com/elementary/os/issues/406#issuecomment-720748064

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.