[Bug 854841] [NEW] add-apt-repository writes duplicate entries to /etc/apt/sources.list
moma
osmoma at online.no
Tue Sep 20 16:44:03 UTC 2011
Public bug reported:
Hello,
Add-apt-repository command seems to add duplicate entries to sources list. Would it be possible to improve this utility it so it adds only unique entries?
Eg. This command, when runned twice, adds duplicate entries.
$ sudo add-apt-repository "deb http://archive.canonical.com/ubuntu oneiric partner
$ grep -Ri partner /etc/apt/sources.list
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-software-properties 0.81.9
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Tue Sep 20 18:38:17 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110919)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: software-properties (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug oneiric running-unity
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/854841
Title:
add-apt-repository writes duplicate entries to /etc/apt/sources.list
Status in “software-properties” package in Ubuntu:
New
Bug description:
Hello,
Add-apt-repository command seems to add duplicate entries to sources list. Would it be possible to improve this utility it so it adds only unique entries?
Eg. This command, when runned twice, adds duplicate entries.
$ sudo add-apt-repository "deb http://archive.canonical.com/ubuntu oneiric partner
$ grep -Ri partner /etc/apt/sources.list
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-software-properties 0.81.9
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Tue Sep 20 18:38:17 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110919)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/854841/+subscriptions
More information about the foundations-bugs
mailing list