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 Tue 30 Jun 2015, 10:35
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 Posts_count  
Author Message

Joined: 07 Dec 2008
Posts: 811

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


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".

Back to top
View user's profile Send_private_message Visit_website 

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

Back to top
View user's profile Send_private_message 

Joined: 07 Dec 2008
Posts: 811

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.


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_website 

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 

Joined: 07 Dec 2008
Posts: 811

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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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