[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-06-19 Thread Julian Andres Klode
I'm going to mark this as Won't Fix for mantic given how late we are in the mantic release cycle; and that it only affects those people who upgraded early in the mantic development cycle. ** Changed in: python-apt (Ubuntu Mantic) Status: Confirmed => Won't Fix -- You received this bug not

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-06-03 Thread makslane
I have the same issue ugrading from 23.10 to 24.04. After remove the vscode.list the upgrade works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2047447 Title: No valid source.list found while upgr

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-04-17 Thread Paul Smith
Will do, thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2047447 Title: No valid source.list found while upgrading from mantic to noble To manage notifications about this bug go to: https://b

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-04-17 Thread Nick Rosbrook
Paul, please open a separate bug report. We need to see your sources.list, sources.list.d/* etc. to see what is going on. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2047447 Title: No valid source

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-04-16 Thread Paul Smith
I can confirm that I have the same issue on two separate 23.10-based systems, but removing vscode.list from /etc/apt/sources.list.d/ has no effect. I get the following warning with "sudo do-release-upgrade -d": Updating repository information No valid sources.list entry found While scanning you

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-15 Thread Xavier Humbert
I can confirm that putting aside vscode.list allowed me to do the upgrade Thanks Xavier -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2047447 Title: No valid source.list found while upgrading from m

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-14 Thread A
Hello from noble by the way ) ``` $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu Noble Numbat (development branch) Release:24.04 Codename: noble ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-14 Thread Nick Rosbrook
We decided it would be best to just SRU python-apt to mantic to fix this, rather than write a workaround in ubuntu-release-upgrader. Updating the tasks to reflect that. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Confirmed => Invalid ** Changed in: ubuntu-release-upgrader (Ubun

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-14 Thread A
`/etc/apt/sources.list.d/vscode.list` seems created on every vscode update. Seems there some script about it in deb. I definitely remember that I removed that file in past. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-14 Thread A
> That is not the case Seems you are right In my case there was `/etc/apt/sources.list.d/vscode.list` with content ``` ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. ``` If wipe out/remove this file then upgrader does not

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-14 Thread A
It was upgraded too in prev update ``` $ cat /etc/apt/sources.list.d/vscode.sources Types: deb URIs: http://packages.microsoft.com/repos/code Suites: stable Components: main Architectures: amd64 Signed-By: /etc/apt/trusted.gpg.d/microsoft.gpg ``` -- You received this bug notification because you

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-14 Thread Nick Rosbrook
> The problem not in "sources" file but "empty" /etc/apt/sources.list That is not the case. You can easily verify this by testing with an empty /etc/apt/sources.list, and /etc/apt/sources.list.d/ubuntu.sources which contains: Types: deb URIs: http://archive.ubuntu.com/ubuntu Suites: mantic mantic

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-14 Thread Nick Rosbrook
Very odd. I am able to upgrade just fine using your sources, Xavier. For now, I will work on fixing the issue I described[1] since it is at least *one* way to reproduce this error. [1] https://bugs.launchpad.net/ubuntu/+source/ubuntu-release- upgrader/+bug/2047447/comments/7 -- You received thi

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread Xavier Humbert
Files attached ** Attachment added: "aptsources.tar.bz2" https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2047447/+attachment/5755869/+files/aptsources.tar.bz2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread A
> Copying those sources as-is into /etc/apt/sources.list.d/ubuntu.sources works fine for me The problem not in "sources" file but "empty" /etc/apt/sources.list Upgrader say about it "No valid sources.list entry found While scanning your repository information no entry about mantic could be foun

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread Nick Rosbrook
Thanks, Xavier. Can you please attach a tarball with all of those .sources? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2047447 Title: No valid source.list found while upgrading from mantic to nob

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread Xavier Humbert
Yes I have some more : [xavier@imladris ~]$ ll /etc/apt/sources.list.d/*sources -rw-r--r-- 1 root root 122 Sep 1 2023 /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-groovy.sources -rw-r--r-- 1 root root 1805 Sep 12 2023 /etc/apt/sources.list.d/ancestris-ubuntu-ancestris-stable-lunar.so

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread Nick Rosbrook
Xavier - Copying those sources as-is into /etc/apt/sources.list.d/ubuntu.sources works fine for me. Did you have any other sources? Any other /etc/apt/sources.list.d/*.sources? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bu

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread Julian Andres Klode
The comment one is fixed in noble, I'm not sure what Xavier's ubuntu.sources is about though, there's probably subtle errors in there that get lost in the comment. So... Suffice it to say, this is a rather niche issue as 23.10 did not actually ship with ubuntu.sources, so it affects a few people w

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread Julian Andres Klode
** Changed in: python-apt (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2047447 Title: No valid source.list found while upgrading from mantic to noble To

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-13 Thread Xavier Humbert
Hi Nick This file : Types: deb URIs: http://fr.archive.ubuntu.com/ubuntu/ Suites: mantic mantic-updates mantic-backports Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg Types: deb URIs: http://security.ubuntu.com/ubuntu Suites: mantic-secu

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-12 Thread Nick Rosbrook
This appears to be a bug in python-apt. It fails to parse .sources files which contain a comment paragraph which is not connect to a source stanza (I think). I.e., this first scenario is fine: root@mantic:~# cat /etc/apt/sources.list.d/ubuntu.sources # This comment is OK. Types: deb URIs: http://

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-12 Thread Nick Rosbrook
Xavier - do you happen to have the /etc/apt/sources.list.d/ubuntu.sources that was on your machine for the failed upgrade attempt? ** Also affects: python-apt (Ubuntu Mantic) Importance: Undecided Status: New ** Also affects: ubuntu-release-upgrader (Ubuntu Mantic) Importance: Undeci

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-12 Thread Nick Rosbrook
** Also affects: python-apt (Ubuntu) Importance: Undecided Status: New ** Changed in: python-apt (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/20474

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-10 Thread A
By the way `software-properties-qt` (and may be others like *-gtk) does not take into account that *.sources files. But it should be issued as another bug I think. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-08 Thread Nick Rosbrook
Actually, I can very easily reproduce this with just these sources: root@mantic:~# cat /etc/apt/sources.list # Move to /etc/apt/sources.list.d/ubuntu.sources root@mantic:~# cat /etc/apt/sources.list.d/ubuntu.sources # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-08 Thread Nick Rosbrook
Hm, did you not have a populated /etc/apt/sources.list.d/ubuntu.sources before the upgrade? ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Confirmed => Incomplete ** Changed in: ubuntu-release-upgrader (Ubuntu) Importance: Undecided => Medium -- You received this bug notifica

[Bug 2047447] Re: No valid source.list found while upgrading from mantic to noble

2024-03-04 Thread Xavier Humbert
Workaround : As mentioned by A (zorn-v), the culprit is the (deprecated) file /etc/apt/sources.list Populating with a minimal content : deb http://fr.archive.ubuntu.com/ubuntu mantic main deb http://fr.archive.ubuntu.com/ubuntu mantic universe allows the installation to continue, with a ton of