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 Fri 19 Dec 2014, 23:02
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Working dpkg, apt and synaptic in P412
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Wed 13 May 2009, 14:00    Post subject:  Working dpkg, apt and synaptic in P412  

Probably not a new subject/project - new to Linux but thought I would share this - if anyone could use it...
Inspired by the work on woof and a post here from tronkel mentioning install of synaptic, I have tried to get synaptic working in Puppy 412 via Ubuntu Hardy packages.
Attached is the script (or recipe) that made dpkg, apt and synaptic work for me in a fresh frugal install of Puppy 412 (save file 512M).
No error checking or other things in the script (my first script for Linux). During the install some hacking of files was needed and Puppy enters some unstable stages, especially during install of synaptic. But afterwards it seems to stabilize although the first shutdown needs to be done by pressing the button. Restart just works.
Letting dpkg/apt/synaptic install Ubuntu Hardy things is sort of fun: You never know if things will work or how it ends out. Have fun but do not use it on you regular Puppy - no guaranties.
Best regards

Goingnuts

Update: After playing with Synaptic in P412 for a while I have made the conclusion that it is too silent with errors - seems that Synaptic inside Puppy is more concerned with dependencies than with registering errors in post-install scripts. Apt is much more informative. So I made a revised script with focus on getting dpkg and apt working with as few errors as possible.
The main conflict with having apt-get installing Ubuntu packages until now is the very different way Ubuntu and Puppy start up and their use (or not use) of runlevels. If Puppy could be more Ubuntu like with its runlevels - less hacking before and after installing things should be needed. Do not know if this is possible...
Have fun!

Update 240509: A revised recipe01Afinal uploaded - everything needed to do an apt-get install synaptic should be included now.
Update 290909: Script broken as Ubuntu repositories change - fixed: recipe01Afinal.sh

You might have to change properties of script before running (make it executable).

Update 260509: This script takes Puppy 412 further: Installs Synaptic and puts debian/Ubuntu runlevels at action. This should open for more easy install of applications via Synaptic. Please run recipe01Afinal.sh first - reboot and run recipe02.sh after that. Reboot again and you then must login as root using password "woofwoof".
puppy412runningsynaptic.png
 Description   
 Filesize   224.51 KB
 Viewed   2289 Time(s)

puppy412runningsynaptic.png


Last edited by goingnuts on Sat 05 Dec 2009, 11:41; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
reckrhodes

Joined: 30 May 2007
Posts: 116

PostPosted: Fri 22 May 2009, 00:20    Post subject:  

Hi goingnuts,

I really like your project here.

Can I also use any Puppy Linux Version such as 4.20 or 4.21?

Which script should be run first? Is it the harydifyP412.sh or the recipe01final.sh?

Making my Puppy Linux here to compete/transform into Edubuntu. Very Happy

Eric
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Fri 22 May 2009, 00:53    Post subject:  

Hi Eric
They are really more or less doing the same - recipe01 is more focused on using apt-get as installer whereas hardify more was a proof of concept. I would stick to recipe01final and work from there ex. installing Synaptic after the run of recipe01 final.
I have not tested in other versions than P412 - it will depend mostly on the file-structure in the different versions: The script do some backup of original Puppy files and some restoring again after installing Hardy-stuff. I might test it in other versions later today.

GoingNuts

Update: recipe01final runs in P420 - tested in vmware. Maybe some problems with keyboard locale setting and the widgets but otherwise it seems to work.
Back to top
View user's profile Send private message Visit poster's website 
RickGT351

Joined: 27 Sep 2011
Posts: 84
Location: Auckland, New Zealand

PostPosted: Tue 27 Sep 2011, 18:17    Post subject: Working dpkg, apt and synaptic in P412  

I just tried running your script. It seems the bogles have been into the file depository and the new version of perl-base 5.8.8 does not have Dpkg in it. Very odd. I made the mistake of trying to run this with Lupu so will scrap that and go back to 4.something. I'm just trying to get my printer a Brother DCP-J125 working. Got it working with Ubuntu but now want to get it working with Puppy.
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Thu 29 Sep 2011, 17:57    Post subject:  

Cool...haven't tested that script for a long time - got tired of repos changing and script broken. I do not think that dpkg/synaptic is any good in Puppy - at least not the way this script implement it. But thanks for trying!
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0688s ][ Queries: 13 (0.0189s) ][ GZIP on ]