Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Howto: defrag /var/lib/dpkg/info to speed up dpkg

  1. #21
    Join Date
    Nov 2008
    Location
    Old Europe
    Beans
    79
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Howto: defrag /var/lib/dpkg/info to speed up dpkg

    Quote Originally Posted by gmargo View Post
    Here's an initial version of a script to recover the missing /var/lib/dpkg/info/* files. No system files are actually modified. You are left with a directory of files to move into the info directory. It's about 400 lines of perl. See attachment.
    Thx a lot. The script is downloadin right now.
    Do I have to copy all the files in the ~/dpkgrecovery/info_add to /var/lib/dpkg/info or specific ones (Sry for my baaaad english)?

  2. #22
    Join Date
    Feb 2010
    Beans
    3

    Re: Howto: defrag /var/lib/dpkg/info to speed up dpkg

    From 28s to 5s.
    Thanks

  3. #23
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Howto: defrag /var/lib/dpkg/info to speed up dpkg

    Quote Originally Posted by cthlhu1987 View Post
    Thx a lot. The script is downloadin right now.
    Do I have to copy all the files in the ~/dpkgrecovery/info_add to /var/lib/dpkg/info or specific ones (Sry for my baaaad english)?
    That's correct, and change the owner to root:root.

  4. #24
    Join Date
    Nov 2008
    Location
    Old Europe
    Beans
    79
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Howto: defrag /var/lib/dpkg/info to speed up dpkg

    Quote Originally Posted by gmargo View Post
    That's correct, and change the owner to root:root.
    Thx a lot for the script. Now my apt-get is funtioning again.

  5. #25
    Join Date
    Oct 2008
    Beans
    10

    Talking Re: Howto: defrag /var/lib/dpkg/info to speed up dpkg

    Thank you sooo much gmargo! I'm such a n00b

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •