My Debian Initiation

Having switched from Ubuntu to Debian Squeeze and pondering ways to combine the security of a largely stable operating system with the additional functionality afforded by individual newer software packages, I recently wondered: Apt pinning seems complicated, why not just add testing sources to sources.list and use apt-get -t testing to get whatever newer packages I need? I can now answer this question for myself: because if you are under the impression that upgrade tools like apt-get and Synaptic are aware of the “current distribution” and will never upgrade beyond that unless explicitly told so, then that impression is wrong, even if apt-get’s occasional “keeping back” packages and the name of the command to override this (dist-upgrade) may suggest it. You will thus inadvertently upgrade your whole system to a non-stable branch. And when you finally notice it, you will then, more out of a desire for purity than out of actual concern for your system’s security, use Apt pinning to try and perform a downgrade. The downgrade will fail halfway through because the pre-remove script for something as obscure as has an obscure problem, leaving you with a crippled system and without even Internet access to try and get information on how to resolve the issue. By this point, reinstalling from scratch seems more fun than any other option. And so I did.

Another lesson learned: Do use the first DVD to install Debian, it contains a whole lot of very useful things such as network-manager-gnome or synaptic that are not included with the CD and that are a hassle to install one by one. And there’s also a new unanswered question: why did the i386 DVD install an amd64 kernel?

4 Gedanken zu „My Debian Initiation

  1. aleks

    There are 2-platform (x86, amd64) CDs/DVDs, you probably got one of those. On their installation screen, amd64 is the prehighlighted version, so if you just press Enter, you end up with 64bit.

    I don’t know why you needed the DVD though… I mean, you can just perform a net install, and pull the packages at install time, no?

    Why does everybody hate pinning so much? (Then again, I just compile stuff I need recent versions of from their respective repositories, usually.)

  2. aleks

    Then I truly don’t know. I mean, if you took the stable images, there shouldn’t be such a glaring bug (of packing a 64 bit kernel in a 32 bit distro.) If you’re willing to investigate, you should take the image, install it in a xen or virtual box, and see if your 32 bit image really does install 64 bit, in which case, a bug report is in order.

    The facilities for encrypted wifi are all on the net install CD. Well, you have to use wpa-supplicant, but, what can I say, I still love me my command line tools. You *might* have to install firmware/drivers which are non-free, and thus on *none* of the installation media. But you can get these from Debian.

  3. ke Beitragsautor

    Yes, the installer asked for firmware for my WiFi card and I found and supplied it. Once the whole system was installed, NetworkManager automatically took charge of the Internet connection and Just Worked, which is the way I like it. :)

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.