[Bug 1602052] [NEW] ubuntu-release-upgrader should offer to actually purge PPA's
Erick Brunzell
lbsolost at yahoo.com
Tue Jul 12 01:57:00 UTC 2016
Public bug reported:
We currently only disable PPA's prior to beginning a release upgrade and
I wonder if it would be possible to actually purge the PPA's or at least
list the PPA's and recommend (or demand) that the user purge all PPA's
prior to performing the upgrade?
I think it would be preferable to refuse to proceed with the upgrade
than to have it fail once the process has begun, eh? I learned with a
little help that the following command lists all PPA's in use:
for PPA_FILE in $(ls /etc/apt/sources.list.d/*.list); do egrep -v '^#|^
*$' ${PPA_FILE} | grep "ppa.launchpad.net" | cut -d "/" -f4-5; done
Then it's fairly easy to use ppa-purge to return the OS to a fairly out-
of-box state package-wise. I don't know however what would happen with
previously used PPA's that may have been disabled even though packages
installed and/or upgraded via that PPA are still in use on the system.
Maybe just a harsh warning would suffice if made prominent enough? I
know we like to limit pop-ups but sometimes they're just needed.
This should be considered a "wish list" bug, but I've thought about this
for a while and bug #1600495 convinced me it was worth the electronic
ink to mention it.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1602052
Title:
ubuntu-release-upgrader should offer to actually purge PPA's
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
We currently only disable PPA's prior to beginning a release upgrade
and I wonder if it would be possible to actually purge the PPA's or at
least list the PPA's and recommend (or demand) that the user purge all
PPA's prior to performing the upgrade?
I think it would be preferable to refuse to proceed with the upgrade
than to have it fail once the process has begun, eh? I learned with a
little help that the following command lists all PPA's in use:
for PPA_FILE in $(ls /etc/apt/sources.list.d/*.list); do egrep -v
'^#|^ *$' ${PPA_FILE} | grep "ppa.launchpad.net" | cut -d "/" -f4-5;
done
Then it's fairly easy to use ppa-purge to return the OS to a fairly
out-of-box state package-wise. I don't know however what would happen
with previously used PPA's that may have been disabled even though
packages installed and/or upgraded via that PPA are still in use on
the system.
Maybe just a harsh warning would suffice if made prominent enough? I
know we like to limit pop-ups but sometimes they're just needed.
This should be considered a "wish list" bug, but I've thought about
this for a while and bug #1600495 convinced me it was worth the
electronic ink to mention it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1602052/+subscriptions
More information about the foundations-bugs
mailing list