Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    /var/lib/dpkg/info/ recovery

    Reply
    champus | # 1 | 2010-09-21, 08:45 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lomo | # 2 | 2010-09-21, 10:56 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    debernardis | # 3 | 2010-09-21, 10:58 | Report

    I would apt-get install --reinstall all packages Maybe this is scriptable

    Edit | Forward | Quote | Quick Reply | Thanks

     
    demijan | # 4 | 2017-01-28, 13:43 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 5 | 2017-01-28, 16:49 | Report

    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 .
    chmod +x movetoopt.sh
    sudo gainroot
    sh movetoopt.sh

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip movetoopt.sh.zip (754 Bytes, 77 views)

     
vBulletin® Version 3.8.8
Normal Logout