touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #113517
[Bug 1509702] Re: add-apt-repository adds same repository multiple times
The add-apt-repository command adds always a new "deb-src" line no
matter if the source is enabled or disabled.
Example:
$ cat /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-wily.list
deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
------
$ sudo add-apt-repository ppa:audio-recorder/ppa
$ cat /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-wily.list
deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
# deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
------
$ sudo add-apt-repository ppa:audio-recorder/ppa
$ cat /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-wily.list
deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
# deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
# deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
------
It seems like the "deb" lines are treated correctly while "deb-src" lines are duplicated.
The [Remove]-button in the GUI (software-properties-gtk) works fine. It
removes all extra lines.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1509702
Title:
add-apt-repository adds same repository multiple times
Status in software-properties package in Ubuntu:
New
Bug description:
Hello,
I am running Ubuntu 15.10 and noticed that add-apt-repository adds the same source-repository multiple times.
I have accidentally run the add-apt command several times.
$ sudo add-apt-repository ppa:audio-recorder/ppa
A screenshot.
[url=http://bildr.no/view/ZktOZDRI][img]http://bildr.no/thumb/ZktOZDRI.jpeg[/img][/url]
I have one `audio-recorder-ubuntu-ppa-wily.list` file in /the
etc/apt/sources.list.d/ folder:
$ cat /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-wily.list
deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
# deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
# deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
# deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main
-----
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10 Codename: wily
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: software-properties-gtk 0.96.13
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Oct 24 19:43:44 2015
InstallationDate: Installed on 2015-10-19 (4 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151017)
PackageArchitecture: all
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/1509702/+subscriptions
References