[Bug 1311056] Re: apt-add-repository adds duplicate commented/disabled source lines
Peter Sabaini
peter.sabaini at canonical.com
Mon Jul 8 07:58:59 UTC 2019
We're seeing this in the context of a charm where add-apt-repository is
called periodically. We ended up with a sources.list file weighing in at
2.6Mb, which created problems for the regex engine there. In light of
this can I ask to reconsider the "low" importance of this bug?
FTR. this is Bionic, software-properties ver 0.96.24.32.7
** Tags added: canonical-bootstack
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1311056
Title:
apt-add-repository adds duplicate commented/disabled source lines
Status in python-apt package in Ubuntu:
Triaged
Status in software-properties package in Ubuntu:
Triaged
Bug description:
Trusty Tahr 14.04
0 root at osprey:/etc/apt/sources.list.d#cat aims-aims-desktop-trusty.list
deb http://ppa.launchpad.net/aims/aims-desktop/ubuntu trusty main
# deb-src http://ppa.launchpad.net/aims/aims-desktop/ubuntu trusty main
0 root at osprey:/etc/apt/sources.list.d#apt-add-repository -y ppa:aims/aims-desktop
gpg: keyring `/tmp/tmp0ufdhnmv/secring.gpg' created
gpg: keyring `/tmp/tmp0ufdhnmv/pubring.gpg' created
gpg: requesting key BE796FF2 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp0ufdhnmv/trustdb.gpg: trustdb created
gpg: key BE796FF2: public key "Launchpad PPA for AIMS" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
0 root at osprey:/etc/apt/sources.list.d#cat aims-aims-desktop-trusty.list deb http://ppa.launchpad.net/aims/aims-desktop/ubuntu trusty main
# deb-src http://ppa.launchpad.net/aims/aims-desktop/ubuntu trusty main
# deb-src http://ppa.launchpad.net/aims/aims-desktop/ubuntu trusty main
0 root at osprey:/etc/apt/sources.list.d#
That deb-src line should have stayed commented out, and not been
duplicated. (Commented deb lines should of course be uncommented, as
already fixed per https://bugs.launchpad.net/ubuntu/+source/python-
apt/+bug/1042916 .)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1311056/+subscriptions
More information about the foundations-bugs
mailing list