![]() |
/var/lib/dpkg/info/ recovery
Hey Folks,
Last time I was drunk I thought it would be a good idea to delete the contents of "/var/lib/dpkg/info/" without realizing that all the information 'bout installed packages will get lost. Is there any accetable way to recover the files / information that have been in that folder? Maybe there is a scripted solution to regain the package infos? Greets |
Re: /var/lib/dpkg/info/ recovery
It's always a bad idea to do anything in root shell while beeing drunk :-).
I'd personally try to copy it from another n900 and reinstall all necessary packages. If it fails - a reflash is definitely a solution. |
Re: /var/lib/dpkg/info/ recovery
I would apt-get install --reinstall all packages :) Maybe this is scriptable
|
Re: /var/lib/dpkg/info/ recovery
Guys finally got rid of android. Sorry for bringing up this now but did anyone tried to put simbolic links in this dir and move the files away to save space for rootfs?
|
Re: /var/lib/dpkg/info/ recovery
1 Attachment(s)
Sure! I am using this script slightly modified from this wiki page http://wiki.maemo.org/User:Tanner#Sa...pace_on_rootfs to move large directories to optfs, also known as /home/opt/
The script will show the amount of free space in rootfs before and after the moving of stuff. Extract the script to the user directory, make it executable and run it as root Code:
unzip movetopt.sh.zip . |
All times are GMT. The time now is 12:09. |
vBulletin® Version 3.8.8