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 Sat 25 Oct 2014, 18:16
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Unintentional Deletion
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
bin_5

Joined: 02 Mar 2013
Posts: 6

PostPosted: Sat 02 Mar 2013, 19:05    Post_subject:  Unintentional Deletion
Sub_title: Delteted pfile, need to reinstall
 

I am a Precise Puppy newbie. While attempting to place an icon linking to pfind on the desktop, I inadvertently placed a pfind icon from /usr/share instead of from usr/share/applications. Of course, this icon doesn't open pfind, so I deleted it. The upshot of this is that now I cannot access or even find pfind at all. It doesn't even show in Menu/Filesystem. I used Puppy Package Manager to download a fresh copy of pfind, but it says it is already installed. How to I recover this application? Thanks in advance.
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3972
Location: World_Hub

PostPosted: Sat 02 Mar 2013, 19:25    Post_subject:  

Hi Bin- Welcome. Is there a pfind in /usr/local/bin?

*IF* this is a frugal install- boot: puppy pfix=ram and replace the files and folders in question..
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1798
Location: Out wandering... maybe.

PostPosted: Sat 02 Mar 2013, 20:33    Post_subject:  

Try looking in /initrd/pup_rw/ for a whiteout file with 'pfind' at the end of the name (it should have at least one ".wh" before the name, like ".wh.pfind". Note that the period before the name means it'll be a hidden file, so make sure you have hidden files displayed.) Try moving the .wh file to a different (temp) directory, and see if the deleted pfind returns.
_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3972
Location: World_Hub

PostPosted: Sat 02 Mar 2013, 20:46    Post_subject:  

Ah, Makoto.. We've heard word of this in a recent post, now haven't we?
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1798
Location: Out wandering... maybe.

PostPosted: Sat 02 Mar 2013, 20:56    Post_subject:  

Hm? I've known to look for the whiteout files for some time... the only thing is, I've always wished there was an easier way to work with them, if you want to undelete something. Very Happy
_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
bin_5

Joined: 02 Mar 2013
Posts: 6

PostPosted: Sat 02 Mar 2013, 22:57    Post_subject:  

Makoto wrote:
Try looking in /initrd/pup_rw/ for a whiteout file with 'pfind' at the end of the name (it should have at least one ".wh" before the name, like ".wh.pfind". Note that the period before the name means it'll be a hidden file, so make sure you have hidden files displayed.) Try moving the .wh file to a different (temp) directory, and see if the deleted pfind returns.


I found /initrd/pup_rw/ but there is not a 'pfind' file with 'wh' before it.
Back to top
View user's profile Send_private_message 
bin_5

Joined: 02 Mar 2013
Posts: 6

PostPosted: Sat 02 Mar 2013, 23:01    Post_subject:  

Semme wrote:
Hi Bin- Welcome. Is there a pfind in /usr/local/bin?

*IF* this is a frugal install- boot: puppy pfix=ram and replace the files and folders in question..


Not sure if my install if full or frugal. How do I check for that? I boot Puppy off a USB drive.
Back to top
View user's profile Send_private_message 
bin_5

Joined: 02 Mar 2013
Posts: 6

PostPosted: Sat 02 Mar 2013, 23:22    Post_subject:  

Semme wrote:
Hi Bin- Welcome. Is there a pfind in /usr/local/bin?

*IF* this is a frugal install- boot: puppy pfix=ram and replace the files and folders in question..



There is not a 'pfind' in /usr/local/bin
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3972
Location: World_Hub

PostPosted: Sun 03 Mar 2013, 08:52    Post_subject:  

Open the drive on your desktop.. is it similar to mine? This is *which* Pup? Was it burned as a boot cd prior to install?
usb-install_contents.jpg
 Description   
 Filesize   28.07 KB
 Viewed   165 Time(s)

usb-install_contents.jpg

Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Sun 03 Mar 2013, 12:15    Post_subject:  

Quote:
I used Puppy Package Manager to download a fresh copy of pfind, but it says it is already installed

Not sure about the PPM since it has developed rapidly , but it might be , that there is some pfind entry in /root/.packages/* that might make the PPM saying so nowerdays .
Code:
grep -i pfind /root/.packages/*

in the terminal should show some entries.
Normally clicking on a pfind.pet should run the
Code:
petget /path/to/pfind.pet

script , that IfIRememberCorrectly always had installed things as it overwrites.

If you have an installation type that uses pup_ro1 instead of pup_rw as save-file mountpoint , then you might look for these .wh. files there .

*

To exactly determine your Puppy Version :
Code:
source /etc/DISTRO_SPECS
echo $DISTRO_NAME $DISTRO_VERSION

in console.

_________________
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal Razz
Back to top
View user's profile Send_private_message Visit_website 
bin_5

Joined: 02 Mar 2013
Posts: 6

PostPosted: Tue 05 Mar 2013, 22:15    Post_subject:  

Semme wrote:
Open the drive on your desktop.. is it similar to mine? This is *which* Pup? Was it burned as a boot cd prior to install?


Puppy Precise 5.4.3

My drive looks similar, only have 11 items.

I solved problem by reinstalling to the USB drive.
Back to top
View user's profile Send_private_message 
bin_5

Joined: 02 Mar 2013
Posts: 6

PostPosted: Tue 05 Mar 2013, 22:20    Post_subject:  

Karl Godt wrote:
Quote:
I used Puppy Package Manager to download a fresh copy of pfind, but it says it is already installed

Not sure about the PPM since it has developed rapidly , but it might be , that there is some pfind entry in /root/.packages/* that might make the PPM saying so nowerdays .
Code:
grep -i pfind /root/.packages/*

in the terminal should show some entries.
Normally clicking on a pfind.pet should run the
Code:
petget /path/to/pfind.pet

script , that IfIRememberCorrectly always had installed things as it overwrites.

If you have an installation type that uses pup_ro1 instead of pup_rw as save-file mountpoint , then you might look for these .wh. files there .

*

To exactly determine your Puppy Version :
Code:
source /etc/DISTRO_SPECS
echo $DISTRO_NAME $DISTRO_VERSION

in console.


Thanks Karl, and everyone else, for your input. What I learn here is valuable. I ended up just reinstalling to the USB drive.

By the way, which screen capture utility is recommended for Puppy? I tinkered a bit with the utilities that came with the distro, but was not successful in getting a capture..

Thanks again all for your responses
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3972
Location: World_Hub

PostPosted: Wed 06 Mar 2013, 00:56    Post_subject:  

Screen capture? Find the *bomb* here. Jpg format's a good choice..
Back to top
View user's profile Send_private_message 
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 » Beginners Help ( Start Here)
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.0775s ][ Queries: 12 (0.0039s) ][ GZIP on ]