Unattended upgrades on Debian   Recently updated !

There's a simple way of having unattended upgrades, having the possiblity to backlist packages or limit upgrades for example to security patches etc. apt-get install unattended-upgrades apt-listchanges dpkg-reconfigure -plow unattended-upgrades Edit /etc/apt/apt.conf.d/50unattended-upgrades with this content: // Automatically upgrade packages from these origin patterns // In this case we install only security updates Unattended-Upgrade::Origins-Pattern { //   […]

Choosing the fastest Mirror on Debian   Recently updated !

On Debian there's a tool that finds out which is the fastest/nearest mirror and creates a sources.list file for you: netselect-apt The installation: apt-get update apt-get install netselect-apt To find the fastest/nearest mirror: netselect-apt Backup your old sources.list: mv /etc/apt/sources.list{,.bak} Replace it with the new one: cp sources.list /etc/apt/sources.list Update and install your packages: apt-get […]

Putting packages on hold with apt on Debian   Recently updated !

These 2 equal commands will make that package stay stuck in that version so you will have to take it off hold if you want to upgrade it: echo "package hold" | dpkg –set-selections apt-mark hold package 2 equal commands to take a package off Hold: echo "package install" | dpkg –set-selections apt-mark unhold package […]

Managing update with apt-get and cron-apt on debian-based systems   Recently updated !

In this Howto I'd like to show how you can download updates automatically and receive notifications when they're available on your debian-based system. All the debian repositories, apt-get uses are normally listed in the file: /etc/apt/sources.list The current list of updates can be downloaded using: apt-get update The Update is installed simply by executing: apt-get […]

Installing Virtualbox on Debian   Recently updated !

1. wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -; wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add – 3. Now add the following line to to your /etc/apt/sources.list:     deb http://download.virtualbox.org/virtualbox/debian jessie non-free     (replace jessie with your release if using other) 4. apt-get update && apt-get install virtualbox Just a quick note, not to forget: […]

Debian apt Basics   Recently updated !

Here I'd like to show the most important commands for the installation of packages and updates on your Debian system. The package manager on Debian is apt.   The repositories from which you can install packages and updates is /etc/apt/sources.list. Here's an example:   /etc/apt/sources.list: deb http://ftp.de.debian.org/debian/ etch main deb-src http://ftp.de.debian.org/debian/ etch main deb http://security.debian.org/ […]