User Tools

Site Tools



Packages missing after a fresh installation

… is a matter of taste, but this is (part of) my list:

# For general use:
apt-get install aptitude zsh less strace psmisc rcs screen \
                rsync sshfs ntpdate host exim4-daemon-light \
                sudo file bc mlocate man cvs patch [uemacs|nano]
# For some diagnostics
apt-get install pciutils iftop tcpdump lshw
# For systems running on the "bare metal"
apt-get install smartmontools ethtool
# For server maintenance
apt-get install munin-node munin-plugins-extra sysstat
# For development use
apt-get install dpkg-dev debhelper devscripts liburi-perl \
                fakeroot build-essential autoconf bison \
                autotools-dev sharutils



At least for uemacs you need to access the /usr/local repositories. Get it by

wget -O /etc/apt/sources.list.d/usr-local-debian.list -c


:!: This is outdated :!:

APT::Default-Release "squeeze";

Apt Pinning by Repository (/etc/apt/preferences)

Tested with Debian 10 Buster

# /usr/local Pin Priorities
# Need to be in sync with /etc/apt/sources.list !
# Check with apt-cache policy
Package: *
Pin: origin
Pin-Priority: 500
Package: *
Pin: origin
Pin-Priority: 500
# Package: *
# Pin: origin
# Pin-Priority: 1
Package: *
Pin: origin *
Pin-Priority: 1


Change timezone

To change the timezone of a running systems, issue



dpkg-reconfigure tzdata

depending on your version of Debian.

For unattended installations, the following may work:

debconf-set-selections tzdata.debconf
tzdata tzdata/Areas select Europe
# tzdata tzdata/Areas seen false
tzdata tzdata/Zones/Europe select Berlin
# tzdata tzdata/Zones/Europe seen false

NFS Workaround

For some versions of Debian, you need to add sec=sys in /etc/exports if you want to use no_root_squash

Reference: Re: NFS and no_root_squash - cannot write as root - permission denied (SOLVED)

Change locale

update-locale LANG=C LC_CTYPE=de_DE LANGUAGE

Building Packages

sudo apt-get install devscripts
apt-get source <package>
# If you start here: dpkg-source -x <package>.dsc
cd <packagedir>
# generating new changelog entry with local version suffix for distribution lenny:
export DEBEMAIL="${}"
export DEBFULLNAME="${DEBFULLNAME:-Peter Foobar}"
dch -l .ul~lenny -D lenny
dpkg-buildpackage -rfakeroot

Linux Debian

for newer versions of Debian
docs/tips_n_tricks/debian/index.html.txt · Last modified: 16.02.2020 21:49 CET by peter