forked from EDUCATIC/devuan-hetzner
Actualizar 'debian9todevuan3'
Hay que quitar las listas de Hetzner de la ruta bajo /etc/apt/sources.list.d/ porque si se le cambia el nombre para que no actualice da un error y no ejecuta los comandos apt No funcionaba el ignorar el checkeo de la firma con la instalación el keyring de Devuan, así que lo descargo e instalo manualmente. El resto va perfecto.main
parent
46fada948e
commit
d5451e7723
|
@ -9,14 +9,18 @@ aptitude update ; aptitude upgrade -y
|
||||||
aptitude install sysvinit-core -y
|
aptitude install sysvinit-core -y
|
||||||
aptitude purge --purge-unused libpam-systemd -y
|
aptitude purge --purge-unused libpam-systemd -y
|
||||||
sed -i 's/^deb/#deb/g' /etc/apt/sources.list
|
sed -i 's/^deb/#deb/g' /etc/apt/sources.list
|
||||||
|
# creamos un lugar donde dejar las listas que si se encuentran en apt darán problema por la extensión: parará el proceso
|
||||||
|
mkdir /delist
|
||||||
mv /etc/apt/sources.list.d/hetzner-mirror.list /etc/apt/sources.list.d/hetzner-mirror.listNO
|
mv /etc/apt/sources.list.d/hetzner-mirror.list /etc/apt/sources.list.d/hetzner-mirror.listNO
|
||||||
mv /etc/apt/sources.list.d/hetzner-security-updates.list /etc/apt/sources.list.d/hetzner-security-updates.listNO
|
mv /etc/apt/sources.list.d/hetzner-security-updates.list /etc/apt/sources.list.d/hetzner-security-updates.listNO
|
||||||
|
mv /etc/apt/sources.list.d/hetzner-* /delist/
|
||||||
echo deb http://deb.devuan.org/merged beowulf main > /etc/apt/sources.list.d/devuan-beowulf.list
|
echo deb http://deb.devuan.org/merged beowulf main > /etc/apt/sources.list.d/devuan-beowulf.list
|
||||||
echo deb http://deb.devuan.org/merged beowulf-updates main >> /etc/apt/sources.list.d/devuan-beowulf.list
|
echo deb http://deb.devuan.org/merged beowulf-updates main >> /etc/apt/sources.list.d/devuan-beowulf.list
|
||||||
echo deb http://deb.devuan.org/merged beowulf-security main >> /etc/apt/sources.list.d/devuan-beowulf.list
|
echo deb http://deb.devuan.org/merged beowulf-security main >> /etc/apt/sources.list.d/devuan-beowulf.list
|
||||||
echo "#deb http://deb.devuan.org/merged beowulf-backports main" >> /etc/apt/sources.list.d/devuan-beowulf.list
|
echo "#deb http://deb.devuan.org/merged beowulf-backports main" >> /etc/apt/sources.list.d/devuan-beowulf.list
|
||||||
aptitude update
|
# instalamos llavero a pelo, porque el apt no funciona al ser primera vez
|
||||||
aptitude install devuan-keyring --allow-untrusted -y
|
wget https://pkgmaster.devuan.org/devuan/pool/main/d/devuan-keyring/devuan-keyring_2017.10.03_all.deb
|
||||||
|
dpkg -i devuan-keyring_2017.10.03_all.deb
|
||||||
aptitude update
|
aptitude update
|
||||||
aptitude install libtinfo6 -y
|
aptitude install libtinfo6 -y
|
||||||
aptitude upgrade -y
|
aptitude upgrade -y
|
||||||
|
|
Loading…
Reference in New Issue