add-apt-repository generates useless save files

Bug #1263001 reported by Edward Z. Yang on 2013-12-20
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Medium
Unassigned

Bug Description

When I run 'add-apt-repository', the script generates a save file for /etc/apt/sources.list and every file /etc/apt/sources.list.d. This is completely pointless, because add-apt-repository doesn't (and shouldn't) touch *any* of these files; it should simply add a new file to /etc/apt/sources.list.d.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: software-properties-common 0.92.28
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Fri Dec 20 15:30:58 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-11-21 (29 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

Edward Z. Yang (ezyang) wrote :
Changed in software-properties (Ubuntu):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Anders Kaseorg (andersk) wrote :

Unfortunately, it actually does touch all of those files—it bumps all their timestamps to the present. This destroys valuable forensic information for future me trying to figure out when and why I added these PPAs.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers