[Bug 1291799] Re: add-apt-repository edits wrong file when readding after upgrading across multiple distro releases
Scott Ritchie
scottritchie at ubuntu.com
Thu Mar 20 06:04:28 UTC 2014
Yes, the new file gets created (there was a trusty.list above), but does
it have the right content (ie, an active deb line)?
--
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/1291799
Title:
add-apt-repository edits wrong file when readding after upgrading
across multiple distro releases
Status in “software-properties” package in Ubuntu:
Incomplete
Bug description:
I have added the same PPA across Raring, Saucy, and now Trusty. I
would re-add it with add-apt-repository after updating.
These are the files I now have on my system in /etc/apt/sources.list.d:
scottritchie-build-tests-raring.list
scottritchie-build-tests-raring.list.distUpgrade
scottritchie-build-tests-raring.list.save
scottritchie-build-tests-saucy.list
scottritchie-build-tests-saucy.list.distUpgrade
scottritchie-build-tests-saucy.list.save
scottritchie-build-tests-trusty.list
The bug here is that the actual content of these has been munged in a
weird way. I would expect the -raring.list and -saucy.list files to
be commented out and the -trusty.list to contain the active line,
however instead:
raring.list:
deb http://ppa.launchpad.net/scottritchie/build-tests/ubuntu trusty main # disabled on upgrade to saucy disabled on upgrade to trusty
# deb-src http://ppa.launchpad.net/scottritchie/build-tests/ubuntu raring main
saucy.list:
# deb-src http://ppa.launchpad.net/scottritchie/build-tests/ubuntu saucy main
trusty.list:
# deb-src http://ppa.launchpad.net/scottritchie/build-tests/ubuntu trusty main
It looks like add-apt-repository is just editing the first file it finds with the listing, rather than leaving it commented out and editing the new file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1291799/+subscriptions
More information about the foundations-bugs
mailing list