python does not match the python default version

Today I had to install mod_python and I’ve got the following error:

The following NEW packages will be installed:

libapache2-mod-python

0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.

Need to get 0B/134kB of archives.

After this operation, 590kB of additional disk space will be used.

Preconfiguring packages …

Continue reading “python does not match the python default version”

Finding which package contains a file

There are times when you’re looking for a particular library, or file, which you know is available to Debian but you cannot find the package which contains it. This is the kind of job that the Debian packages site helped with in the past, but given its current unavailability we’ll look at another approach.

Continue reading “Finding which package contains a file”

Borrar un solo comando del history de linux

Puede pasar que nos distraigamos y pongamos un password en la linea de comandos, por lo que este queda en el history. Es importante borrarlo, y se pude hacer de la siguiente manera:

# history -d 5

Donde 5 es el numero de linea donde se encuentra nuestro comando.

Esperemos que no sea necesario hacerlo muy a menudo.

Last.fm desde shell

Last.fm se tiene intención de hacer pagar ciertos servicios a alguna gente. link. De momento lo han pospuesto. Aún así esto es útil cuando estas algo justito de ram y lanzar firefox relentiza todo el sistema.

Para aquellos que quieran probarlo hay programita usar last.fm desde shell.

Continue reading “Last.fm desde shell”

Terminator

Aquellos que tengan por costumbre tener un par o tres de terminales a lo mejor encontraran útil distribuirse estas terminales de forma que las puedan ver todas a la vez, como un mosaico.

Existe un gestor de terminales llamado Terminador. Como siempre facilmente instalable con apt, merge, yum, zypper o synaptic.
Continue reading “Terminator”