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 Wed 22 Oct 2014, 04:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Petget-nox?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
watchdog

Joined: 28 Sep 2012
Posts: 606

PostPosted: Sun 06 Apr 2014, 15:48    Post_subject:  Petget-nox?
Sub_title: Petget needs X
 

I can install deb packages with no X at the prompt having installed rcrsn51's debbi-1.1.pet. I can't install pet packages with no X because petget needs X. I think could be done a script which can install pet packages with no X.
Back to top
View user's profile Send_private_message 
watchdog

Joined: 28 Sep 2012
Posts: 606

PostPosted: Mon 07 Apr 2014, 06:29    Post_subject:  

I think it could be enough a pet2deb or tar2deb script and then one can use debbi.
Back to top
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Mon 07 Apr 2014, 06:40    Post_subject:  

Code:

if [ ! -f "$1" ];then
echo "File not found."
exit
fi
tar xf "$1"
DIR=$(echo "$1" | sed 's/.pet//')
cd "$DIR"
rm pet.specs
rm pinstall.sh
cp -a * /
cd ..
rm -rf "$DIR"


Very rough draft. Use at your own risk.

_________________


Back to top
View user's profile Send_private_message Visit_website MSNM 
watchdog

Joined: 28 Sep 2012
Posts: 606

PostPosted: Mon 07 Apr 2014, 08:59    Post_subject:  

Tried to install jwm2-755-w5c.pet in wary 5.3 without X. Something wrong I suppose:

Code:
gzip: stdin: decompression OK, trailing garbage ignored
tar: child returned status 2
tar: Error is not recoverable: exiting now


But it did the job installing jwm V755. It can be an emergency tool. Thanks.
Back to top
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Mon 07 Apr 2014, 11:20    Post_subject:  

.pet files are .tar.gz archives with appended md5sum at the end of file, that's why when extracted like this it gives error, but it extracts archive anyway. If that was the only error everything went okay.
_________________


Back to top
View user's profile Send_private_message Visit_website MSNM 
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 » Additional Software (PETs, n' stuff) » REQUESTS
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0447s ][ Queries: 11 (0.0034s) ][ GZIP on ]