[Bug 2086506] Re: Upgrade to 24.10 deletes unmigrated apt sources
Jeffery To
2086506 at bugs.launchpad.net
Wed Nov 6 16:08:05 UTC 2024
What happened to teamviewer.list might be of interest:
commit 3fa412b511779a847d7b347f8a3423b5c8aed117
Author: root <root at computer>
Date: Wed Oct 30 00:11:25 2024 +0800
daily autocommit
diff --git a/apt/sources.list.d/teamviewer.list b/apt/sources.list.d/teamviewer.list
index 9761554b..636afe37 100644
--- a/apt/sources.list.d/teamviewer.list
+++ b/apt/sources.list.d/teamviewer.list
@@ -1,20 +1 @@
-### TeamViewer DEB repository list
-
-### NOTE: Manual changes to this file
-### - prevent it from being updated by TeamViewer package updates
-### - will be lost after using the 'teamviewer repo' command
-### The original file can be restored with this command:
-### cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list
-### which has the same effect as 'teamviewer repo default'
-
-### NOTE: It is preferred to use the following commands to edit this file:
-### teamviewer repo - show current repository configuration
-### teamviewer repo default - restore default configuration
-### teamviewer repo disable - disable the repository
-### teamviewer repo stable - make all regular TeamViewer packages available (default)
-### teamviewer repo preview - additionally, make feature preview packages available
### teamviewer repo development - additionally, make the latest development packages available
-
-deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
-
-# deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb preview main
Every line was removed except:
### teamviewer repo development - additionally, make the latest
development packages available
--
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