A quick question about PPAs

Tommy Trussell tommy.trussell at gmail.com
Sun Feb 14 16:12:39 UTC 2016


On Sat, Feb 13, 2016 at 6:08 AM, Amichai Rotman <amichai at iglu.org.il> wrote:

> Hi All,
>
> Just a quick question:
>
> I am using the Libreoffice PPAs since version 4.3. I added the 5.0 version
> and now I'd like to add the *5.1* version.
>
> I was wondering what's the best way to get rid of the old PPAs:
>
> If i run  'apt-purge' on both 4.3 and 5.0 and then 'add-apt-repository'
> for the 5.1 version?
>
> How do I remove an old version of a PPA without removing the whole
> Libreoffice installation?
>
> I guess I just add the new 5.1 version and delete the two old
> 'libreoffice*.list' files from the '/etc/apt/sources.list.d' directory and
> then run 'apt-get update' and 'apt-get upgrade' - but I am not completely
> sure it's the right way, so I thought I'd ask before I try...
>
>
As you may know, the tricky part about adding a PPA is when it updates
ancillary packages that are not so obvious. For example, in order to run an
updated LibreOffice you might need to run a version of Java (or some other
package) that isn't provided by your release of Ubuntu. If you just
"disconnect" the PPA and remove LibreOffice, the non-standard packages stay
at the new version, which can cause your package manager to block updates
to other standard packages because it can't resolve conflicts.

Here's a link that may offer useful procedures:

http://askubuntu.com/questions/307/how-can-ppas-be-removed

As you can see, the top answer recommends installing and using the
ppa-purge utility. It will (as best it can) "downgrade" the packages from
the PPA to better match a "pristine" system. Then the apt-get purge command
can safely remove the packages from the system before you switch to a new
PPA.

If these things don't work, post again to let us know what messages you see.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160214/08293cf3/attachment.html>


More information about the ubuntu-users mailing list