my life

day to day

Archive for September 8th, 2007

Debian NFS HOWTO

Saturday, September 8th, 2007

apt-get install nfs-common nfs-kernel-server /etc/init.d/nfs-kernel-server restart

configure mout points in /etc/exports and when done, run

exportfs -a

If you are using ACLs, make sure you add the acl option to the exported filesystem options in exports.

add to del.icio.us    add to technorati favs   email this

Debian trying to overwrite add-shell with passwd

Saturday, September 8th, 2007

Preparing to replace debianutils 2.8.4 (using …/debianutils_2.23.1_i386.deb) … Unpacking replacement debianutils … dpkg: error processing /var/cache/apt/archives/debianutils_2.23.1_i386.deb (--unpack):  trying to overwrite `/usr/sbin/add-shell’, which is also in package passwd Errors were encountered while processing:  /var/cache/apt/archives/debianutils_2.23.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Simply run

dpkg -r --force all passwd apt-get -f install

add to del.icio.us    add to technorati favs   email this

Debian apt-get update fails with NO_PUBKEY A70DAF536070D3A1

Saturday, September 8th, 2007

Reading package lists… Done W: GPG error: http://ftp.debian.org etch Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1 NO_PUBKEY B5D0C804ADB11277 W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1 W: You may want to run apt-get update to correct these problems

Just run…

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys A70DAF536070D3A1 gpg --keyserver wwwkeys.eu.pgp.net --recv-keys B5D0C804ADB11277 gpg --armor --export A70DAF536070D3A1 | apt-key add - gpg --armor --export B5D0C804ADB11277 | apt-key add -

add to del.icio.us    add to technorati favs   email this