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 19 Apr 2014, 13:17
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
how do I delete leftover .pet.specs files?--Solved
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Mon 01 Oct 2012, 01:08    Post subject:  how do I delete leftover .pet.specs files?--Solved  

In Wary Puppy 5.3 I have a few leftover files from having un-installed various Pet packages that for whatever reason I decided not to keep. I have tried a number of ways to delete these files but w/o success:

    I have used the gui to right-click and delete,
    I have dragged the files (kicking and screaming) to the trash bin Wink
    I have used the remove command at the terminal,
    I have emptied the contents of the files, saved them, then tried to delete them,
    I have tried changing the permissions for each offending file,
    I have renamed the files with the .txt extension then deleted them,
    I even compiled Bleachbit for Wary Puppy 5.3 and attempted to shred the files


Despite my efforts, each time I re-boot the files re-appear. Not only that, but the files that I renamed with the .txt extension instead of the .pet.specs extension are returning also Shocked

I have searched the Forum and Googled for a solution to this issue, but without any luck so far... I may be wrong, but I don't remember having this problem with other Puppies or versions of Wary...

Help, Help, Help...

Thanks,
Monsie

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

Last edited by Monsie on Tue 02 Oct 2012, 02:49; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Mon 01 Oct 2012, 08:51    Post subject:  

Where are these files located?
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Mon 01 Oct 2012, 11:04    Post subject: how do I permanently delete leftover .pet.specs files?  

Hi rcrsn51,

These files are in the root directory: / not /root

Since I am running pupmode 13 my save file is on a usb flash drive. Recently, I discovered that my Wary Puppy CD was corrupted, and had to burn a new image... I am wondering if my save file could be messed up also.

Monsie

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Mon 01 Oct 2012, 11:19    Post subject: Re: how do I permanently delete leftover .pet.specs files?  

Monsie wrote:
Since I am running pupmode 13 my save file is on a usb flash drive.

IIRC, the installation of PETs works differently in this mode. The software is written directly into the permanent savefile layer so as not to blow up the temporary RAM layer. That might explain why you can't make these files disappear.

But if this is new behaviour, then you may have some kind of corruption. I will set up a Wary 5.3 flash drive and check.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Mon 01 Oct 2012, 11:35    Post subject:  

I tested this with a flash drive setup of Way 522 and could NOT duplicate the problem. I installed some PETS, both before and after creating the savefile. In no cases were there any leftover pet.spec files in /.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 879

PostPosted: Mon 01 Oct 2012, 12:22    Post subject:  

I'm on PUPMODE=13, Slacko 5.3.3.

I too have pet.specs file in /, but the content is just:
pet.specs wrote:
petget-20120418|petget|20120418||Setup|696K||petget-20120418.pet|+wget|Puppy Package Manager||||

I guess it's because the first pet ever I've installed was the latest Shinobar's petget-20120418.pet.
Then I installed some other .pets, but (as you can see) this pet.specs file is no longer in use since that.
Probably different Puppies = different petgets = /pet.specs or not

Regarding deletion:
I wasn't able to do it directly from /
...but I did delete it from /initrd/pup_ro1/pet.specs and (after reboot) the one from / disappeared as well.

Just my 2 cents, hope it'll help somehow...

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Tue 02 Oct 2012, 02:47    Post subject: how do I delete leftover .pet.specs files?--Solved  

Thank you rcrsn51 and SFR... I really appreciate your help.

SFR: I tried your approach to deleting my stubborn .pet.specs files and it worked! Very Happy I guess that is because these files were part of the initial ram disk system, and so deleting the copies of those files in the root directory was a useless exercise.

rcrsn51: I appreciate that you tested this scenario. Given your feedback, I think I will probably create a new savefile for Wary, because I think there is a good chance that my current savefile could be messed up somewhat.

That said, I've been doing some researching, trying to understand Puppy a little better.... From what I gather, early versions of Puppy installed packages in ram, then later copied this information to the save file. With the Puppy Linux release notes v3.00 Barry K writes:
Quote:
However, Puppy 3.00 has something new. PETget, the PET package manager installs packages direct to the 'pup_save' file, not into RAM. Thus, you can install big packages and they will not chew up RAM space and you won't have to reboot.
Other package installation systems (such as for DotPup packages) do not yet have this feature.

So, as Puppy Linux evolved, Pets were installed directly to the save file.

Many of the Pet packages, I had installed were older, and maybe this explains why some pet specs files were found in /initrd pathway. Other newer Pets do not leave the specs files here, but usually somewhere along the installation path e.g. /usr/share... which in turn is saved directly.

I am not sure if I have this completely right. Probably my sense of understanding here is rather limited. When I start looking at the development of Puppy Linux under the hood, I find that trying to follow its evolution is just a bit complicated... Confused

Thanks again, and I will mark this issue as solved.

Monsie

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.9007s ][ Queries: 12 (0.8515s) ][ GZIP on ]