Page 1 of 1

ppa-purge in Mint 13 pointing to "oneiric"

Posted: Sat Jun 30, 2012 8:09 am
by esteban1uy
Hi!
The package "ppa-purge" in Mint 13 (version 0.2.8+bzr56-1linuxmint12 as reported by apt-cache) has a little bug.
Instead of pointing to "precise", it still points to "oneiric".
It is very easy to fix (just sudo gedit /usr/sbin/ppa-purge and replace "oneiric" with "precise") but some users would find it a little problematic.

Re: ppa-purge in Mint 13 pointing to "oneiric"

Posted: Sat Jun 30, 2012 8:58 am
by remoulder
https://bugs.launchpad.net/linuxmint is the place to report bugs, but this looks like an ubuntu bug so would need to posted upstream.

Re: ppa-purge in Mint 13 pointing to "oneiric"

Posted: Sat Jun 30, 2012 11:52 am
by esteban1uy
remoulder wrote:https://bugs.launchpad.net/linuxmint is the place to report bugs, but this looks like an ubuntu bug so would need to posted upstream.
It can't be an Ubuntu bug because you can force the install of Ubuntu's version of ppa-purge, and if you take care of changing DISTRIB_CODENAME=maya to DISTRIB_CODENAME=precise in /etc/lsb-release, you can use Ubuntu's ppa-purge without a problem.

Just do an apt-cache policy ppa-purge and you'll see this:

Code: Select all

     0.2.8+bzr56-1linuxmint12 0
        700 http://packages.linuxmint.com/ maya/upstream amd64 Packages
     0.2.8+bzr56 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
Because the default apt pinning, the candidate for all regular users is always Mint's version, not Ubuntu's.
The most probable reason that Maya's own ppa-purge script is still pointing to "oneiric" is that some dev forgot to make the change when the package was ported from Lisa to Maya (look at the 1linuxmint12 part of the package name).

Re: ppa-purge in Mint 13 pointing to "oneiric"

Posted: Wed Jul 04, 2012 6:29 pm
by xenopeek
Good find! Thanks for sharing it here so others may find a solution. For the developers to work on it, indeed please submit it also to the Launchpad link shared.

Re: ppa-purge in Mint 13 pointing to "oneiric"

Posted: Sat Jul 07, 2012 12:33 pm
by kmb42vt
@esteban1uy - Did you submit a bug report? If so, could you post a link to it as I'd like to add my "Bug effects you also" to it. :)

Re: ppa-purge in Mint 13 pointing to "oneiric"

Posted: Sat Jul 07, 2012 12:45 pm
by esteban1uy
kmb42vt wrote:@esteban1uy - Did you submit a bug report? If so, could you post a link to it as I'd like to add my "Bug effects you also" to it. :)
Yes, of course: https://bugs.launchpad.net/linuxmint/+bug/1021095

For the moment, you can workaround the bug this way:

Code: Select all

sudo gedit /usr/sbin/ppa-purge
Now go to line 99 and you'll find:

Code: Select all

[ -z "$DIST" ] && DIST="oneiric"
So replace "oneiric" with "precise" and save.

Re: ppa-purge in Mint 13 pointing to "oneiric"

Posted: Sat Jul 07, 2012 1:27 pm
by kmb42vt
esteban1uy wrote:
kmb42vt wrote:@esteban1uy - Did you submit a bug report? If so, could you post a link to it as I'd like to add my "Bug effects you also" to it. :)
Yes, of course: https://bugs.launchpad.net/linuxmint/+bug/1021095

For the moment, you can workaround the bug this way:

Code: Select all

sudo gedit /usr/sbin/ppa-purge
Now go to line 99 and you'll find:

Code: Select all

[ -z "$DIST" ] && DIST="oneiric"
So replace "oneiric" with "precise" and save.
Yup, I changed that quite awhile back due to your post I believe and I only came upon this little problem by accident. I was scanning through the Mint forums one night and just happened upon your post. And it's specific to Mint since the port of Ubuntu's "ppa-purge" package had one small flaw that allowed fairly large consequences (like it doesn't work). One of GNU/Linux weakest points--no organization of information.

Anyway, thanks for filing the bug. I've added my two cents and "subscribed" Clem to it as well since nothing has been done about it yet. Not sure if I was supposed to do that but he can yell at me if I was wrong. :D