2011-09-20 16:44:03 |
moma |
bug |
|
|
added bug |
2011-09-20 20:25:04 |
Brian Murray |
summary |
add-apt-repository writes duplicate entries to /etc/apt/sources.list |
add-apt-repository will write duplicate entries to /etc/apt/sources.list |
|
2011-09-20 20:25:08 |
Brian Murray |
software-properties (Ubuntu): status |
New |
Triaged |
|
2011-09-20 20:25:11 |
Brian Murray |
software-properties (Ubuntu): importance |
Undecided |
Low |
|
2011-09-20 20:25:44 |
Brian Murray |
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) |
Hello,
Add-apt-repository command allows one 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 run twice, adds duplicate entries.
$ sudo add-apt-repository "deb http://archive.canonical.com/ubuntu oneiric partner
$ grep -Ri partner /etc/apt/sources.list
ProblemType: BugDistroRelease: 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/bashSourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2011-09-20 20:30:54 |
Brian Murray |
tags |
amd64 apport-bug oneiric running-unity |
amd64 apport-bug oneiric running-unity testcase |
|
2011-10-11 16:53:19 |
Sebastien Bacher |
software-properties (Ubuntu): assignee |
|
Michael Vogt (mvo) |
|
2011-10-17 08:54:31 |
Robert Roth |
bug |
|
|
added subscriber Robert Roth |
2011-11-28 20:02:07 |
Nick Russo |
bug |
|
|
added subscriber Nick Russo |
2011-11-28 20:07:21 |
Nick Russo |
attachment added |
|
patch to SoftwareProperties.py to make add_source_from_line idempotent https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/854841/+attachment/2611651/+files/SoftwareProperties.py.diff |
|
2011-11-28 20:16:41 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug oneiric running-unity testcase |
amd64 apport-bug oneiric patch running-unity testcase |
|
2011-11-28 20:16:43 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2011-12-08 10:37:39 |
Sebastien Bacher |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2011-12-12 20:04:53 |
Jamie Strandboge |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2011-12-12 22:20:33 |
Nick Russo |
bug |
|
|
added subscriber Nick Russo |
2011-12-12 23:42:17 |
Nick Russo |
attachment added |
|
simple patch to SoftwareProperties.py to make add_source_from_line idempotent https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/854841/+attachment/2630432/+files/SoftwareProperties.py.diff |
|
2011-12-12 23:43:06 |
Nick Russo |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2012-01-25 21:17:36 |
Brian Murray |
software-properties (Ubuntu): assignee |
Michael Vogt (mvo) |
Brian Murray (brian-murray) |
|
2012-01-25 21:17:40 |
Brian Murray |
software-properties (Ubuntu): status |
Triaged |
In Progress |
|
2012-01-25 22:28:28 |
Launchpad Janitor |
branch linked |
|
lp:software-properties |
|
2012-01-25 22:49:43 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2012-01-25 22:49:51 |
Brian Murray |
removed subscriber Ubuntu Review Team |
|
|
|
2012-02-03 13:35:14 |
Launchpad Janitor |
software-properties (Ubuntu): status |
In Progress |
Fix Released |
|
2012-02-03 13:35:14 |
Launchpad Janitor |
cve linked |
|
2011-4407 |
|
2012-02-03 14:44:26 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/software-properties |
|
2012-02-07 15:28:32 |
John Doe |
bug |
|
|
added subscriber John Doe |