[Bug 1274323] [NEW] apt-add-repository cannot add http: repository URL with custom series
Casey Marshall
casey.marshall at canonical.com
Wed Jan 29 23:00:47 UTC 2014
Public bug reported:
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://archive.admin.canonical.com/ubuntu precise-
cat-haproxy main"
This appended the following to /etc/apt/sources.list:
deb http://archive.admin.canonical.com/ubuntu precise main precise-cat-haproxy
deb-src http://archive.admin.canonical.com/ubuntu precise main precise-cat-haproxy
But what I wanted was:
deb http://archive.admin.canonical.com/ubuntu precise-cat-haproxy main
deb-src http://archive.admin.canonical.com/ubuntu precise-cat-haproxy main
I could see this affecting other users who maintain their own apt
repositories and want to specify their own series.
Environment details:
root at juju-canonistack-machine-17:~# lsb_release -rd
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)
** Affects: python-apt (Ubuntu)
Importance: Undecided
Status: New
--
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/1274323
Title:
apt-add-repository cannot add http: repository URL with custom series
Status in “python-apt” package in Ubuntu:
New
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://archive.admin.canonical.com/ubuntu precise-
cat-haproxy main"
This appended the following to /etc/apt/sources.list:
deb http://archive.admin.canonical.com/ubuntu precise main precise-cat-haproxy
deb-src http://archive.admin.canonical.com/ubuntu precise main precise-cat-haproxy
But what I wanted was:
deb http://archive.admin.canonical.com/ubuntu precise-cat-haproxy main
deb-src http://archive.admin.canonical.com/ubuntu precise-cat-haproxy main
I could see this affecting other users who maintain their own apt
repositories and want to specify their own series.
Environment details:
root at juju-canonistack-machine-17:~# lsb_release -rd
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1274323/+subscriptions
More information about the foundations-bugs
mailing list