formats

Convert LMDE to Debian Wheezy

Published on May 14, 2013, by + in linux.

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!

formats

Combine apt-get update and apt-get upgrade in one command

Published on August 1, 2012, by + in linux, sysadmin.

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 &&

formats

Ubuntu Server MOTD Include Security Updates

Published on July 7, 2012, by + in linux, sysadmin.

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

formats

Debian Sources List Generator

Published on June 6, 2012, by + in linux.

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!

formats

Select Fastest Debian Mirror for apt-get

Published on May 15, 2011, by + in linux, sysadmin.

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

formats

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:

formats

Ubuntu List Installed Packages

Published on December 22, 2010, by + in linux.

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

Home Posts tagged "apt-get"