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.

wrong ELF class: ELFCLASS64, o la importancia de las librerias dinamicas.

Hemos cambiado unos ejecutables de un server a otro y ahora no quieren funcionar, no tenemos opción de recompilar por algun motivo que no viene al caso. Un problema que debemos solucionar, eso esta claro.
Continue reading “wrong ELF class: ELFCLASS64, o la importancia de las librerias dinamicas.”