Firebird News

Friday, January 19, 2007

if the dpkg command is broken follow this

[I needed this when postgres installed another MTA like postfix and i already had installed sendmail by source]
A broken dpkg may make it impossible to install any .deb files. A procedure like the following will help you recover from this situation. (In the first line, you can replace "links" with your favorite browser command.)
$ links http://http.us.debian.org/debian/pool/main/d/dpkg/
... download the good dpkg_version_arch.deb
$ su
password: *****
# ar x dpkg_version_arch.deb
# mv data.tar.gz /data.tar.gz
# cd /
# tar xzfv data.tar.gz

Debian Linux Complete Package Administration

technorati tags:, , , , , , ,

Blogged with Flock

No comments: