apt-add-repository cannot add http: repository URL with custom series
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I ran into this issue working with a private apt repository at Canonical, in the context of adding a configured repository from a Juju charm install hook, but it seems like a general issue which may affect users of apt-add-repository.
I added a custom repo with:
apt-add-repository "http://
This appended the following to /etc/apt/
deb http://
deb-src http://
But what I wanted was:
deb http://
deb-src http://
I could see this affecting other users who maintain their own apt repositories and want to specify their own series.
Environment details:
root@juju-
Description: Ubuntu 12.04.4 LTS
Release: 12.04
ii python-apt 0.8.3ubuntu7.1 Python interface to libapt-pkg
ii python-apt-common 0.8.3ubuntu7.1 Python interface to libapt-pkg (locales)