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
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
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
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
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
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
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
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
`/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.
> 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
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
> 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
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
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.
> 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
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
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
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
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
** 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
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
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://
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
** 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
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
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
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
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
28 matches
Mail list logo