Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 22:49
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
PPM and Python (in slacko-5.4)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
xophist


Joined: 10 Dec 2012
Posts: 26
Location: Coastal Texas

PostPosted: Sat 09 Feb 2013, 14:19    Post subject:  PPM and Python (in slacko-5.4)  

Running slacko-5.4 PAE (3.4.17-PAE), no modifications or user installed packages.

I wanted to learn about Puppy Package Manager, so ran this:

/usr/local/petget/pkg_chooser.sh

From the GUI, I searched for Python, selecting the slackware-14.0 repository.

To my surprise, it showed Python already installed:

Green checkmark beside python-2.7.3, and text (ALREADY INSTALLED) under description.

However, "which python" confirms there is no python executable, and a "find" on python shows no python binary installed.

Why does PPM suggest that python-2.7.3 is installed, when there is no useful python environment actually installed?

I am looking for insight into how the package manager works, more than for info about how to get python installed (which I think is easy).
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3808
Location: World_Hub

PostPosted: Sat 09 Feb 2013, 15:15    Post subject:  

Xophist- THIS is the page you wanna start with.
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 442
Location: Oslo, Norway

PostPosted: Sun 10 Feb 2013, 02:43    Post subject:  

Semme, that link is probably not the one intended!

tallboy

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1663
Location: wales

PostPosted: Sun 10 Feb 2013, 07:32    Post subject:  

hi xophist,

the package manager lists all programs contained in the separate 'devx.sfs' as installed, whether the actual devx is installed or not. the devx contains python, hence it showing as installed in the ppm.

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739

Last edited by 666philb on Sun 10 Feb 2013, 12:37; edited 1 time in total
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 442
Location: Oslo, Norway

PostPosted: Sun 10 Feb 2013, 10:56    Post subject:  

I write this from a lucid 528, so forgive me if I remember incorrectly regarding the slacko 5.4. I had the same problem with python in 5.4, the problem is that there is no alternative python version listed in the ppm. It actually seem like the python that is installed, lack all binarys. And the ppm will not let you install an already installed package.

tallboy

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
xophist


Joined: 10 Dec 2012
Posts: 26
Location: Coastal Texas

PostPosted: Sun 10 Feb 2013, 15:10    Post subject:  

666philb wrote:

the package manager lists all programs contained in the separate 'devx.sfs' as installed, whether the actual devx is installed or not. the devx contains python, hence it showing as installed in the ppm.


@666philb: Thanks for this. I don't understand the thinking behind the PPM's design. It does not seem helpful to be told something is installed, when it can't be used.

tallboy wrote:
It actually seem like the python that is installed, lack all binaries. And the ppm will not let you install an already installed package.


@tallboy: again this behavior puzzles me.

I've always avoided package managers because they seem ill-behaved in strewing files across the filesystem, and do a poor job of removing their litter on uninstall.

However, the quality of slacko induced me to take a look at PPM.

If I can't understand this oddity reported here, I'll give up and stick with installing everything by hand.

Thanks for the helpful replies.
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 442
Location: Oslo, Norway

PostPosted: Sun 10 Feb 2013, 16:17    Post subject:  

Well, there seem to be an ongoing debate about the ppm's behaviour in several puppys, and I think it would be a phenomenal job if someone eventually make all ppms work as intended; it is not an easy task when you consider all the repositories that has to work together! Cudos to those who dive into the murky waters of ppm! In the meantime, a manual install is fortunately a simple task in Linux.
xophist wrote:
However, the quality of slacko induced me to take a look at PPM.

Actually, the fact that Slacko 5.4 recognized and made my ZTE MF636 modem work, was what attracted me to this puppy; it is on a very short list of puppys that do that!
I'm writing this from the latest Lucid_5.2.8 (which incidentally don't recognize that modem, but is otherwise superb!), but I have used a dpup484beta4 along with a dpup485 (which do), for a long time now.

I think we shall give the 5.4 some time to mature, and I will definitely make it my future choice for a live puppy, when all the wrinkles are ironed out.

tallboy

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0640s ][ Queries: 12 (0.0116s) ][ GZIP on ]