Debian
Jump to navigation
Jump to search
Links
Hints
lsb_release(1) lsb_release(1) NAME lsb_release - print distribution-specific information SYNOPSIS lsb_release [options] DESCRIPTION The lsb_release command provides certain LSB (Linux Standard Base) and distribution-specific information. If no options are given, the -v option is assumed.
#erstmal Debian Sarge auf den aktuellen Stand bringen: apt-get dist-upgrade #Sources-List ändern #alle Vorkommen von “Sarge” in “Etch” umschreiben edit /etc/apt/sources.list #Sources-List einlesen apt-get update #Die wichtigsten Pakete zuerst: apt-get install initrd-tools apt-get install apt #Sicherheitshalber nochmal mit der neuen apt-Version apt-get update #Jetzt geht's rund: #Wir merken uns vor allem die Pakete die erstmal entfernt werden. apt-get dist-upgrade #Das ganze nochmal mit aptitude #Der meckert manchmal noch ne Kleinigkeit mehr an apt-get install aptitude aptitude dist-upgrade #Falls Pakete entfernt worden sind, die aber gebraucht werden aptitude install [...] #aptitude interativ benutzen um obsolete Pakete zu entfernen aptitude –i #Kernel suchen und installieren apt-cache search linux-image #den passenden Kernel aus der Liste aussuchen apt-get install linux-image-XXX apt-get install linux-headers-XXX
Timezone
dpkg-reconfigure tzdata
Keyboard Layout
dpkg-reconfigure locales
Backports
http://backports.debian.org/Instructions/
deb http://backports.debian.org/debian-backports squeeze-backports main apt-get -t squeeze-backports install "package"
Update Lenny -> Squeeze
Doing a dist-upgrade with no preparation often breaks the system, while upgrading kernel/udev first, rebooting into the new kernel, and THEN doing the dist-upgrade always works.