[Bug 2086506] Re: Upgrade to 24.10 deletes unmigrated apt sources

Jeffery To 2086506 at bugs.launchpad.net
Wed Nov 6 16:02:51 UTC 2024


Before the upgrade (git ls-tree --name-only -r
3fa412b511779a847d7b347f8a3423b5c8aed117^ apt/sources.list.d/):

apt/sources.list.d/boamaod-ubuntu-nautilus-compare.list
apt/sources.list.d/byobu-ubuntu-ppa.list
apt/sources.list.d/dlech-ubuntu-keepass2-plugins.list
apt/sources.list.d/docker.list
apt/sources.list.d/dropbox.list.distUpgrade
apt/sources.list.d/google-chrome.list
apt/sources.list.d/google-chrome.sources.orig
apt/sources.list.d/jtaylor-ubuntu-keepass.list
apt/sources.list.d/libreoffice-ubuntu-ppa.list
apt/sources.list.d/mozillateam-ubuntu-ppa.list
apt/sources.list.d/node.list
apt/sources.list.d/phoerious-ubuntu-keepassxc.list
apt/sources.list.d/playonlinux.list.distUpgrade
apt/sources.list.d/plexmediaserver.list.distUpgrade
apt/sources.list.d/slack.list
apt/sources.list.d/slack.sources.orig
apt/sources.list.d/stefansundin-ubuntu-truecrypt.list
apt/sources.list.d/teamviewer.list
apt/sources.list.d/third-party.sources
apt/sources.list.d/ubuntu.sources
apt/sources.list.d/ubuntuhandbook1-ubuntu-keepass2.list
apt/sources.list.d/virtualbox.list
apt/sources.list.d/zoom-mirror.list

After the upgrade (git ls-tree --name-only -r
9086a719ce26e11947f6bc21cb4e3fcb56dbb865 apt/sources.list.d/):

apt/sources.list.d/google-chrome.sources
apt/sources.list.d/google-chrome.sources.orig
apt/sources.list.d/slack.sources
apt/sources.list.d/slack.sources.orig
apt/sources.list.d/teamviewer.list
apt/sources.list.d/third-party.sources
apt/sources.list.d/ubuntu.sources

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Incomplete => 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.
  --- 
  ProblemType: Bug
  ApportVersion: 2.30.0-0ubuntu4
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CrashReports:
   640:0:131:28850:2024-10-30 04:46:18.181102991 +0800:2024-10-30 04:46:36.868369747 +0800:/var/crash/_usr_sbin_update-apt-xapian-index.0.crash
   640:1000:131:88754455:2024-11-01 04:01:19.302233934 +0800:2024-11-01 04:01:20.302233934 +0800:/var/crash/_usr_bin_gnome-software.1000.crash
   664:0:131:0:2024-10-30 04:46:36.800368722 +0800:2024-10-30 04:46:36.800368722 +0800:/var/crash/_usr_sbin_update-apt-xapian-index.0.upload
   600:120:131:37:2024-10-30 04:46:38.272390909 +0800:2024-10-30 04:46:38.271390894 +0800:/var/crash/_usr_sbin_update-apt-xapian-index.0.uploaded
   640:1000:131:31183:2024-10-30 12:29:25.436804056 +0800:2024-10-30 16:04:32.486732897 +0800:/var/crash/_usr_bin_podman-compose.1000.crash
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 24.10
  InstallationDate: Installed on 2010-10-17 (5134 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  Package: ubuntu-release-upgrader (not installed)
  ProcVersionSignature: Ubuntu 6.11.0-9.9-generic 6.11.0
  Tags: oracular wayland-session dist-upgrade
  Uname: Linux 6.11.0-9-generic x86_64
  UpgradeStatus: Upgraded to oracular on 2024-10-29 (8 days ago)
  UserGroups: adm admin cdrom debian-tor dialout libvirt libvirtd lpadmin plugdev sambashare sudo vboxusers
  VarLogDistupgradeTermlog:
   
  _MarkForUpload: True

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