Convert LMDE to Debian Wheezy | I changed my existing Linux Mint Debian Edition desktop over to pure Debian wheezy. Right now (May 2013) is the optimum time as switching to wheezy is currently an ‘upgrade’ and packages will nicely upgrade without issue. Here is how I did it!
Combine apt-get update and apt-get upgrade in one command
Combine apt-get update and apt-get upgrade in one command | On Ubuntu or Debian, it is possible to make a small bash one-liner to fully update the host with one simple command. I’ll show you how! 1. Create a file called ‘update’ in /usr/local/bin: $ sudo nano /usr/local/bin/update 2. Type the following for the file contents, then save with Control+X. #!/bin/bash sudo apt-get update &&
Ubuntu Server MOTD Include Security Updates
Ubuntu Server MOTD Include Security Updates | Ubuntu Server can display outstanding package and security updates as the MOTD when logging in locally or via ssh. I’ll show you how! To enable this feature, install the following package: $ sudo apt-get install update-notifier-common The terminal output will look as below: $ ssh user@example.com Linux example.com 3.0.18-linode43 #1 SMP Mon Jan 30 11:44:09
Debian Sources List Generator
Debian Sources List Generator | Here is a cool site that helps generate a sources.list file for Debian. Check it out: http://debgen.simplylinux.ch Cool!
Select Fastest Debian Mirror for apt-get
Select Fastest Debian Mirror for apt-get | With Debian you can easily auto-detect the fastest mirror for apt-get! First install this package: $ sudo apt-get install netselect-apt Then run the following, adjusting for your desired version. I’m using LMDE, so I’m going to run: $ sudo netselect-apt testing Other examples: sudo netselect-apt [stable|testing|unstable|experimental|release_codename|sid] This will query various debian mirrors then leave a
Migrate System Packages Ubuntu
Migrate System Packages Ubuntu | How can I migrate a set of installed packages from one system to another in Ubuntu or Debian? Using dpkg you can create a list of installed packages which can then be applied to another system. This is also great for making an apt-get ‘backup’ of your desired package install. 1. On the old system:
Ubuntu List Installed Packages
Ubuntu List Installed Packages | How do I list all installed packages in Ubuntu / Debian? This command will list all installed packages: dpkg –get-selections Or do dump this list to a file, try this: dpkg –get-selections > packages.txt
