[Bug 889405] Re: Readding repo using apt-add-repository can cause invalid repo line
Alessandro Menti
889405 at bugs.launchpad.net
Sun Nov 13 13:21:49 UTC 2011
I tried using the "ppa:mythbuntu/0.24" and the bug still occurred.
However, I think enough information has been collected and is ready to
be worked on by an Ubuntu developer. Thus, I'm asking for this bug to be
marked as Triaged and let them handle it from here. Thanks for taking
the time to make Ubuntu better!
[Note to developers: as Thomas suggested in comment #2, bug #889406 is
probably closely related to this. I'm asking that to be marked Triaged
as well].
** Changed in: software-properties (Ubuntu)
Status: Incomplete => Confirmed
** Description changed:
Removing and readding a PPA can cause invalid repository lines. This
doesn't seem to be the case with all repositories, but I've reproduced
it consistently with the below steps.
Steps to reproduce.
1) apt-add-repository ppa:mythbuntu/0.25
2) apt-add-repository --remove ppa:mythbuntu/0.25
3) apt-add-repository ppa:mythbuntu/0.25
Expected result: repository .list file contains
deb http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
deb-src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
Actual result: repository .list file contains
deb-src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
This causes apt to fail with an invalid line error.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apt 0.8.16~exp5ubuntu13
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: wl
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CheckboxSubmission: c3d828e0d2c138c690c7f5d2faaf0b57
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Fri Nov 11 23:37:35 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
- PATH=(custom, no user)
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ PATH=(custom, no user)
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
+
+ Confirmed in Ubuntu 11.10 with python-software-properties 0.81.13.1.
** Tags added: testcase
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/889405
Title:
Readding repo using apt-add-repository can cause invalid repo line
Status in “software-properties” package in Ubuntu:
Confirmed
Bug description:
Removing and readding a PPA can cause invalid repository lines. This
doesn't seem to be the case with all repositories, but I've reproduced
it consistently with the below steps.
Steps to reproduce.
1) apt-add-repository ppa:mythbuntu/0.25
2) apt-add-repository --remove ppa:mythbuntu/0.25
3) apt-add-repository ppa:mythbuntu/0.25
Expected result: repository .list file contains
deb http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
deb-src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
Actual result: repository .list file contains
deb-src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main
This causes apt to fail with an invalid line error.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apt 0.8.16~exp5ubuntu13
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: wl
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CheckboxSubmission: c3d828e0d2c138c690c7f5d2faaf0b57
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Fri Nov 11 23:37:35 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
Confirmed in Ubuntu 11.10 with python-software-properties 0.81.13.1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/889405/+subscriptions
More information about the foundations-bugs
mailing list