[Bug 2086506] Re: Upgrade to 24.10 deletes unmigrated apt sources
Nick Rosbrook
2086506 at bugs.launchpad.net
Wed Nov 6 15:16:09 UTC 2024
Can you please run `apport-collect 2086506` to attach logs etc., so we
have a better idea of what happened? Can you also share the contents of
/etc/apt/sources.list.d/ after the upgrade?
I do not completely follow what you are describing. Are you saying that
unused/disabled sources were removed? Or that some *enabled* source you
expected to be migrated to deb822 was not actually migrated?
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2086506
Title:
Upgrade to 24.10 deletes unmigrated apt sources
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
During previous upgrades, most of my one-line-style sources (.list) in
/etc/apt/sources.list.d were not migrated to deb822 style (.sources)
(I believe because I added the signed-by option to them), and were
left disabled (renamed to .list.distUpgrade) after the upgrade.
The upgrade from noble to oracular again did not migrate the one-line-
style sources, however it deleted the source files instead of keeping
them disabled.
Luckily I have etckeeper installed so I was able to restore the files
and spend the (IMHO unnecessary) time to convert them to deb822 format
so that nothing like this will happen again.
Looking at the git history, it appears the .list files were renamed to
.list.migrate without adding a corresponding .sources file (and
without renaming/copying the .list file to .list.distUpgrade), then
later the .list.migrate files (and .list.distUpgrade files of
successfully migrated sources) were deleted.
I have been through 20+ Ubuntu upgrades, and there has been times when
something went wrong and I had to fix the upgrade in some way, but
this is the first time the process has deleted my configuration files
without any notice or error message. My guess is this is an
unintentional programming error, but I am still deeply disappointed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2086506/+subscriptions
More information about the foundations-bugs
mailing list