7

I installed the Ambiance Evolution Theme from a custom PPA, which overwrote the original Ambiance. Same for Midori, Flash and other apps. Is it advisable to downgrade these packages to the Ubuntu-provided versions before an upgrade?

2 Answers 2

4

No, it is not safe to simply remove a ppa through the package manager without restoring defaults. This can cause unwanted side effects (e.g. if this were graphics drivers you will have no access to the GUI).

To fully reset your system to defaults and to remove any unwanted ppa we may use the script ppa-purge Install ppa-purge

sudo apt-get install ppa-purge
sudo ppa-purge -purge <nameofppa>

followed by

sudo apt-get update
1
  • 2
    And how do we know the 'nameofppa'?
    – kris
    May 16, 2022 at 0:43
3

Yes it safer to remove PPAs and their packages. Ubuntu upgrades are tested for default installations, not installation in which everything is changed by PPAs. By removing extra repositories (not just PPAs, but also third party repositories) and their associated packages, you return the system to their original state.

After the upgrade, you're free to install your preferred PPAs of course.

3
  • 1
    Thanks for your prompt answer! Do you know if there is an application or a script that removes third party repositories and PPAs just to re-enable them as the upgrade completes?
    – Tigull
    Jun 27, 2011 at 17:32
  • 1
    @Tigull: see How can PPAs be removed?. You need to manually add your programs/ PPAs back afterwards. Your PPAs are listed in files inside the /etc/apt/sources.list.d directory.
    – Lekensteyn
    Jun 27, 2011 at 17:37
  • The ppa-purge tool also has an autocomplete function that shows you the available PPA's. So you can also see what's purgeable by double-tabbing. Jan 25, 2023 at 8:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .