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 28 Nov 2014, 12:09
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 [13 Posts]  
Author Message
bin_5

Joined: 02 Mar 2013
Posts: 6

PostPosted: Sat 02 Mar 2013, 19:05    Post subject:  Unintentional Deletion
Subject description: 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: 4055
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: 1813
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: 4055
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: 1813
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: 4055
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   168 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 poster's 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: 4055
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 from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0757s ][ Queries: 13 (0.0042s) ][ GZIP on ]