apt-get install debian-wizard

Insider infos, master your Debian/Ubuntu distribution

  • About
    • About this blog
    • About me
    • My free software history
  • Support my work
  • Get the newsletter
  • More stuff
    • Support Debian Contributors
    • Other sites
      • My company
      • French Blog about Free Software
      • Personal Website (French)
  • Mastering Debian
  • Contributing 101
  • Packaging Tutorials
You are here: Home / News / Debian News / 20 Things to Learn About APT With the Free Chapter of the Debian Administrator’s Handbook

20 Things to Learn About APT With the Free Chapter of the Debian Administrator’s Handbook

November 15, 2011 by Raphaël Hertzog

We just released a sample chapter of the Debian Administrator’s Handbook. It covers the APT family of tools: apt-get, aptitude, synaptic, update-manager, etc.


Click here to get your free sample chapter

I’m sure you will enjoy it. There are many interesting things to learn:

  • How to customize the sources.list file
  • The various APT repositories that Debian offers (Security Updates, Stable Updates, Proposed Updates, Backports, Experimental, etc.)
  • How to select the best Debian mirror for you
  • How to find old package versions
  • How to install the same selection of packages on multiple computers
  • How to install and remove a package on a single command-line
  • How to reinstall packages and how to install a specific version of a package
  • How to pass options to dpkg via APT
  • How to configure a proxy for APT
  • How to set priorities to various package sources (APT pinning)
  • How to safely mix packages from several distributions on a single system
  • How to use aptitude’s text-mode graphical interface
  • How to use the tracking of automatically installed packages to keep a clean system
  • How APT checks the authenticity of packages that it downloads
  • How to add supplementary GnuPG keys to APT’s trusted keyring
  • How to upgrade from one stable distribution to the next
  • How to handles problems after an upgrade
  • How to keep a system up-to-date
  • How to automate upgrades
  • How to find the package that you’re looking for

If you liked this chapter, click here to contribute a few euros towards the liberation of the whole book. That way you’ll get a copy of the ebook as soon as it’s available. Thank you!

I also invite you to share this sample chapter as widely as possible. We’re only at 40% of the liberation fund and there’s less than 2 weeks left. I hope this book extract will convince enough people that the book is going to be great, and that it really deserves to be liberated and bundled with Debian!

Filed Under: Debian News, News, Ubuntu News Tagged With: APT, apt-get, aptitude, Debian, Debian Handbook, synaptic, Ubuntu, update-manager

Comments

  1. Steven Rosenberg says

    November 15, 2011 at 5:25 pm

    Raphael, the sample chapter looks great. As promised, I made a contribution to the liberation effort. I am definitely interested in buying a print copy of the book when it becomes available. We need all the Debian books we can get. Thank you again for all you do for Debian as a developer and as such a great supporter of the users of the distribution.

    We really need this book (and I hope you do an Ubuntu version as well).

  2. Siddharta Buda says

    November 16, 2011 at 9:46 pm

    Thank you very much for sharing 🙂

    Sidd.

    • Raphaël Hertzog says

      November 17, 2011 at 8:26 am

      Steven, Siddharta, I’m glad you liked this chapter. I hope you shared it with all your friends using Debian/Ubuntu. It’s there for this! 🙂

      Thank you for your support.

  3. Nick J says

    November 17, 2011 at 1:25 am

    Thank you, very helpful! One small thing I had to change from section 6.8.5, the miracle combination, due to wanting an upgrade rather than dist-upgrade (i.e. happy for security fixes & critical updates to stable to install unattended, but not distro upgrades) was :

    yes ” | apt-get -y -o Dpkg::Options::=”–force-confdef” upgrade

    I.e. it died with a “dpkg: unknown option –forceconfold” error when the forceconfold option was kept on the command line. Presuming this is due to doing an upgrade rather than dist-upgrade? Running squeeze 6.0.3.

    • Raphaël Hertzog says

      November 17, 2011 at 8:24 am

      Hi Nick, it looks like a typo when you copied the text… it’s --force-confold and not --forceconfold. 🙂

      • Nick J says

        November 17, 2011 at 12:46 pm

        Hi Raphaël, Doh! Thank you! And good catch! I was copying/pasting using acrobat reader, and it dropped the dash (have just retested it, it’s reproducible). Evince keeps the dash. But “pdftotext” drops the dash too. So it’s possible that there could be something odd about the dash or formating on that line that confuses some but not all PDF viewers.

  4. dj_palindrome says

    November 18, 2011 at 9:49 am

    Raphaël, this makes me very happy I donated to translate your book 😉

    If only I could afford you, I’d hire you to fork GNOME2.

Trackbacks

  1. 20 Things to Learn About APT With the Free Chapter of the Debian Administrator’s Handbook | Debian-News.net - Your one stop for news about Debian says:
    November 17, 2011 at 8:37 pm

    […] We just released a sample chapter of the Debian Administrator’s Handbook. It covers the APT family of tools: apt-get, aptitude, synaptic, update-manager, etc. Read more here […]

Get the Debian Handbook

Available as paperback and as ebook.
Book cover

Email newsletter

Get updates and exclusive content by email, join the Debian Supporters Guild:

Follow me

  • Email
  • Facebook
  • GitHub
  • RSS
  • Twitter

Discover my French books

Planets

  • Planet Debian

Archives

I write software, books and documentation. I'm a Debian developer since 1998 and run my own company. I want to share my passion and knowledge of the Debian ecosystem. Read More…

Tags

3.0 (quilt) Activity summary APT aptitude Blog Book Cleanup conffile Contributing CUT d-i Debconf Debian Debian France Debian Handbook Debian Live Distro Tracker dpkg dpkg-source Flattr Flattr FOSS Freexian Funding Git GNOME GSOC HOWTO Interview LTS Me Multiarch nautilus-dropbox News Packaging pkg-security Programming PTS publican python-django Reference release rolling synaptic Ubuntu WordPress

Recent Posts

  • Freexian is looking to expand its team with more Debian contributors
  • Freexian’s report about Debian Long Term Support, July 2022
  • Freexian’s report about Debian Long Term Support, June 2022
  • Freexian’s report about Debian Long Term Support, May 2022
  • Freexian’s report about Debian Long Term Support, April 2022

Copyright © 2005-2021 Raphaël Hertzog