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 Mon 16 Sep 2019, 04:47
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to restore removed built-in packages? (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
pewekodok

Joined: 23 May 2013
Posts: 14

PostPosted: Tue 01 Oct 2013, 07:15    Post subject:  How to restore removed built-in packages? (Solved)  

previously, tried to remove rarely used builtin application but the system sfs size not changed at all. HomeBank is removed also.

Now I want my HomeBank back.
after Googling, searching & browsing forum, I found no hint.

I tried pfix=ram option, I found HomeBank still in the menu.
I can run HomeBank without problem

So my temporary conclusion, HomeBank is still on system sfs.
but may be hidden from my current system.

Also crossed my mind to remake personal save file, but I think not good option also beacuse I already installed several ubuntu and development packages.
After remaking personal save file, those ubuntu and development packages need to be installed again.

btw I removed HomeBank using /usr/sbin/remove_builtin
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11269

PostPosted: Tue 01 Oct 2013, 08:38    Post subject:  

If you want to delve...... look into /initrd/pup_rw/......

In there if you click the eye it will show all deleted files with a .wh. at the beginning.
If you delete those 'mask' files then all will reappear.

in /root/.packages there are lists of the files that would be deleted ...

I don't know of a wizard that will restore built in items.

The only way to make the sfs smaller would be to make a remaster.

mike
Back to top
View user's profile Send private message 
pewekodok

Joined: 23 May 2013
Posts: 14

PostPosted: Tue 01 Oct 2013, 21:09    Post subject: already restored  

thanks mikeb for hint

already deleted usr/bin/.wh.homebank
then homebank reappeared again
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1897
Location: Japan

PostPosted: Sun 23 Nov 2014, 22:50    Post subject: Re: already restored  

pewekodok wrote:
deleted usr/bin/.wh.homebank
then homebank reappeared again

Is it possible to make it reappear without rebooting?
After deleting the hidden file the original /usr/bin/homebank would not reappear. Pushing the refresh button in ROX lets the file appear for a split-second in the list (only name, without icon or file details), but it's not permanent and bash doesn't recognize the file. Restarting X doesn't help.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1731

PostPosted: Mon 24 Nov 2014, 04:52    Post subject: Re: already restored  

MochiMoppel wrote:
pewekodok wrote:
deleted usr/bin/.wh.homebank
then homebank reappeared again

Is it possible to make it reappear without rebooting?

Sure, just re-evaluate all layers:
Code:
busybox mount -t aufs -o remount,udba=reval unionfs /

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 
mikeb


Joined: 23 Nov 2006
Posts: 11269

PostPosted: Mon 24 Nov 2014, 05:22    Post subject:  

Ah ha a method.... I just do it and most of the time it works since aufs is pretty forgiving.

mike
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1897
Location: Japan

PostPosted: Mon 24 Nov 2014, 07:19    Post subject: Re: already restored  

SFR wrote:
Sure, just re-evaluate all layers:
Code:
busybox mount -t aufs -o remount,udba=reval unionfs /

Nice! Thank you Very Happy
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.0515s ][ Queries: 12 (0.0047s) ][ GZIP on ]