[Bug 2086506] [NEW] Upgrade to 24.10 deletes unmigrated apt sources

Jeffery To 2086506 at bugs.launchpad.net
Fri Nov 1 22:33:50 UTC 2024


Public bug reported:

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.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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