ppa-purge in Mint 13 pointing to "oneiric"

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

ppa-purge in Mint 13 pointing to "oneiric"

Postby esteban1uy on Sat Jun 30, 2012 8:09 am

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.
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

Linux Mint is funded by ads and donations.
 

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

Postby remoulder on Sat Jun 30, 2012 8:58 am

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.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7669
Joined: Fri May 09, 2008 1:14 pm

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

Postby esteban1uy on Sat Jun 30, 2012 11:52 am

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).
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

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

Postby xenopeek on Wed Jul 04, 2012 6:29 pm

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.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13668
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

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

Postby kmb42vt on Sat Jul 07, 2012 12:33 pm

@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)
User avatar
kmb42vt
Level 5
Level 5
 
Posts: 883
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont

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

Postby esteban1uy on Sat Jul 07, 2012 12:45 pm

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.
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

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

Postby kmb42vt on Sat Jul 07, 2012 1:27 pm

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

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Hendrick, Mark Phelps, Reorx and 39 guests