ppa-purge in Mint 13 pointing to "oneiric"

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
esteban1uy

ppa-purge in Mint 13 pointing to "oneiric"

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

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

Post 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.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
esteban1uy

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

Post 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).
User avatar
xenopeek
Level 25
Level 25
Posts: 29611
Joined: Wed Jul 06, 2011 3:58 am

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

Post 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.
Image
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

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

Post 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. :)
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
esteban1uy

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

Post 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.
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

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

Post 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
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
Locked

Return to “Beginner Questions”