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 Thu 23 Oct 2014, 08:01
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Petget (undocumented feature?)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
win2000


Joined: 26 Jan 2008
Posts: 6

PostPosted: Tue 18 Mar 2008, 18:50    Post subject:  Petget (undocumented feature?)
Subject description: Sending files to the bit bucket.
 

Here is the situation:
I have a .pet package created with dir2pet. The name is "test-1.0.pet".
Inside of this .pet package are 2 files and 2 sym-links
/root/test-1.0/etc/gtk/etc-gtk.xpm (file 1)
/root/test-1.0/usr/etc/gtk/usr-etc-gtk.xpm (file 2)
/root/test-1.0/root/etc-gtk.xpm (sym-link 1)
/root/test-1.0/root/usr-etc-gtk.xpm (sym-link 2)
Sym-link 1 is a relative link to file 1 and likewise with sym-link 2.
When this package is installed ONLY 3 of the 4 above items get installed!
File 2 does NOT get installed. You can test this out for yourselves with the attached file.
Even though file 2 does NOT get installed, it still shows up in the file...
/root/.packages/test-1.0.files
as being installed!
I get exactly the same results with both Puppy 3.01 AND Puppy 2.14 with a frugal install. Other tests have led me to believe that this is an 'undocumented feature' of Pupget. It seems that everytime Pupget encounters a sym-link (directory) when installing a file, the file goes into the bit-bucket (never to be seen again) instead of the specified path. We could of course suggest to Puppy users to NEVER create a .pet in which the file destination path is through a sym-link.

A very common path amongst most Linux develpers for over 10 years is "/usr/lib/X11/app-defaults/FILENAME" and Petget won't install to this location either becasue it is sym-linked.

I certainly hope that I am in error about this.

W2K
test-1.0.pet
Description  Test file to duplicate my observations.
pet

 Download 
Filename  test-1.0.pet 
Filesize  657 Bytes 
Downloaded  472 Time(s) 
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sun 23 Mar 2008, 19:45    Post subject:  

Ok, I've just downloaded the file and I'm onto it.
_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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.0413s ][ Queries: 12 (0.0050s) ][ GZIP on ]