How to restore removed built-in packages? (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
pewekodok
Posts: 14
Joined: Fri 24 May 2013, 00:14

How to restore removed built-in packages? (Solved)

#1 Post by pewekodok »

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

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#2 Post by mikeb »

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

pewekodok
Posts: 14
Joined: Fri 24 May 2013, 00:14

already restored

#3 Post by pewekodok »

thanks mikeb for hint

already deleted usr/bin/.wh.homebank
then homebank reappeared again

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

Re: already restored

#4 Post by MochiMoppel »

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.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

Re: already restored

#5 Post by SFR »

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: Select all

busybox mount -t aufs -o remount,udba=reval unionfs /
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#6 Post by mikeb »

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

mike

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

Re: already restored

#7 Post by MochiMoppel »

SFR wrote:Sure, just re-evaluate all layers:

Code: Select all

busybox mount -t aufs -o remount,udba=reval unionfs /
Nice! Thank you :D

Post Reply