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 22 Aug 2014, 08:02
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 [5 Posts]  
Author Message
watchdog

Joined: 28 Sep 2012
Posts: 552

PostPosted: Sun 06 Apr 2014, 15:48    Post subject:  Petget-nox?
Subject description: 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: 552

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: 2647
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 poster's website MSN Messenger 
watchdog

Joined: 28 Sep 2012
Posts: 552

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: 2647
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 poster's website MSN Messenger 
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 » Additional Software (PETs, n' stuff) » REQUESTS
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.0433s ][ Queries: 11 (0.0039s) ][ GZIP on ]