restore-dpkg-status skript
In cases, where your /var/lib/dpkg/status file is corrupt it's very difficult
to restore it properly, so I wrote this little script to rebuild the status file.
Since the first version of this script never really worked, I wrote a new one today
which works flawlessly (as far as I could test that on my systems). This script tries
to rebuild the status-file by using the package-information (grep from /var/lib/dpkg/available)
of all installed packages (ls in /var/lib/dpkg/info/).
Feature Requests, Comments or Bugreports via e-mail, please.
You can download this script
here [BASH] and
there's also a html-version of the syntax-highlighted code available
here [EN].
Please read the comment-section on top of the script before first use!
Posted by Alexander Griesser
| Categories:
bash
| Comments:
--> New comment