viernes, 24 de julio de 2015

Flags de Aptitude

https://www.debian.org/doc/manuals/aptitude/ch02s02s02.en.html

Cuando quedan el flag c en un paquete significa que los archivos de configuración permanencen. Para eliminarlos totalmente

sudo apt-get remove --purge nombredelpaquete


Figure 2.9. Values of the current state flag
i-the package is installed and all its dependencies are satisfied.
c-the package was removed, but its configuration files are still present.
p-the package and all its configuration files were removed, or the package was never installed.
v-the package is virtual.
B-the package has broken dependencies.
u-the package has been unpacked but not configured.
C-half-configured: the package's configuration was interrupted.
H-half-installed: the package's installation was interrupted.


Figure 2.10. Values of the action flag
i-the package will be installed.
u-the package will be upgraded.
d-the package will be deleted: it will be removed, but its configuration files will remain on the system.
p-the package will be purged: it and its configuration files will be removed.
h-the package will be held back: it will be kept at its current version, even if a newer version becomes available, until the hold is cancelled.
F-An upgrade of the package has been forbidden.
r-the package will be reinstalled.
B-the package is broken: some of its dependencies will not be satisfied. aptitude will not allow you to install, remove, or upgrade anything while you have broken packages. 

jueves, 12 de marzo de 2015

Particionado GNU/Linux

Particionado del disco para un debian

primaria ext4                   500MB  /boot
lógica     ext4                   10GB    /            sistema raiz
lógica     linux-swap       según la ram como mínimo la mitad de la RAM
lógica     linux-swap        8GB   el doble que la RAM
lógica     ext4       (definir)GB   /home     el resto del disco
lógica     ext4                 50GB   /usr
ĺógica     ext4                   5GB   /var
lógica     ext4                   2GB   /tmp

miércoles, 21 de enero de 2015

Instalar java 8 desde repositorios

En determinadas situaciones necesitamos que nuestro sistema cuente con java 8 de oracle. En este post se explica la manera de instalarlo desde un paquete deb vía repositorio

http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html