Archive for September 2010

Netselect-apt is a Debian tool whose will choose the fastest Debian mirror by downloading the full mirror list.

1. You have to install the netselect-apt package:
# apt-get install netselect-apt

2. Running netselect-apt from command line:
# netselect-apt

The before line will return an archive in the current directory called: “./sources.list.”

3. Copying ./sources.list. to /etc/apt/ , after updating the package list:
# cp ./sources.list /etc/apt/ & apt-get update;

1. You have to create the proxy file in /etc/apt/apt.conf.d/

# touch /etc/apt/apt.conf.d/proxy

2. You have to define the proxy server in archive previously created:

Acquire::http::Proxy "http://proxy:port";

Sometimes you need to know the dependencies of a package. In that case you can run:

$ apt-cache depends

Running the below command you can find out all packages that depends of a package:

$ apt-cache rdepends

  • analialorenzatto: Buzz is just a host name for this example, it doesn't have any relation to the topic. Instead of being "Buzz", could be whatever name.
  • fridelain: >buzz What's the story behind this host name? Actully running buzz, once running buzz and upgraded many times since, or unrelated to debian naming
  • Pratik: Nice, but I would change it to include more directories. Like my .mozilla and .kde4 by using .{config,mozilla,kde4} instead of just .config .