Javier Barber
Senior Sysadmin Freelancer
Category Archives: Apt*
ACCEDER A LOS REPOS/REPOSITORIOS DE VERSIONES ANTIGUAS DE UBUNTU
El el fichero sources.list añadimos: # Required deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse
PREVENIR LA ACTUALIZACIÓN DE UN PAQUETE EN DEBIAN
Por ejemplo del paquete Apache: echo «apache hold» | dpkg –set-selections Para quitarle el hold: echo «apache install» | dpkg –set-selections Con aptitude: #aptitude hold package_name #aptitude unhold apache2 Para buscar los paquetes retenidos: #dpkg -l | grep ^h
CONSULTAR VERSIÓN DE UN PAQUETE INSTALADO Y SU CANDIDATO
$apt-cache policy amarok amarok: Instalados: 1.4.10-3+b1 Candidato: 1.4.10-3+b1 Tabla de versión: *** 1.4.10-3+b1 0 500 http://ftp.debian.org squeeze/main Packages 100 /var/lib/dpkg/status