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 01 Jul 2015, 23:45
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 Posts_count  
Author Message

Joined: 26 Jan 2008
Posts: 6

PostPosted: Tue 18 Mar 2008, 18:50    Post_subject:  Petget (undocumented feature?)
Sub_title: 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...
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.

Description  Test file to duplicate my observations.

Filename  test-1.0.pet 
Filesize  657 Bytes 
Downloaded  498 Time(s) 
Back to top
View user's profile Send_private_message 
Puppy Master

Joined: 09 May 2005
Posts: 7441
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.
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 » House Training » Bugs ( Submit bugs )
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.0417s ][ Queries: 12 (0.0035s) ][ GZIP on ]