ACTUALIZA-DEB
A
ÚLTIMAS VERSIONES DE UN PROGRAMA con flatpak
https://wiki.debian.org/FlatpakHowto
REPARARLO
sudo apt-get -f install
sudo dpkg --configure -a
REPOSITORIOS ESCONDIDOS
Dentro de /etc/apt/sources.list.d puede haber listas de ropisitorios
ELIMINAR TODOS LOS ARCHIVOS i386
aptitude purge `dpkg --get-selections | grep ":i386" | awk '{print $1}'`
AÑADIR PAQUETES DE PRUEBA NUEVOS FUTUROS
APT::Default-Release "testing";
Después, cuando esté listo a instalar paquetes de inestable, sólo utilice el modificador -t:
# apt-get -t unstable install packagename
KERNELS
Ver viejos kernels
dpkg --list | grep linux-image
DESACTUALIZA UN PROGRAMA

Puede que tras actualizar tu programa favorito no funcione como antes.
Debian:
Para conocer la versión de tu programa ve a synaptic y busca tu programa luego subráyalo pinchando y dale al botón derecho de tu ratón y selecciona propiedades.
-Borra el programa, por ejemplo, amule:
sudo apt-get remove amule && apt-get autoremove
-Pon la versión anterior de Debian. Por ejemplo si usas stretch, cambia por wheezy en:
sudo nano /etc/apt/sources.list
Ahora recarga los repositorios:
sudo apt-get update
-Ahora instala amule:
sudo apt-get install amule
-Márcalo para que no se actualice la próxima vez que actualices el sistema:
sudo apt-mark hold amule
-Por último vuelve a poner los repositorios como estaban:
sudo nano /etc/apt/sources.list
Y cambia stretch por wheezy.
sudo apt-get update
-También puedes hacer todo de esta otra manera más rápida , entrando en root con el comando su y usando sed:
su
apt-get remove amule && apt-get autoremove
sed -i 's/stretch/wheezy/g' /etc/apt/sources.list
apt-get update
apt-get install amule
sudo apt-mark hold amule
sed -i 's/wheezy/stretch/g' /etc/apt/sources.list
apt-get update
exit
Los paquetes .deb se guardan en:
/var/cache/apt/archives
Información sobre apt-get.
ACTUALIZA AUTOMÁTICAMENTE, Y APRENDE A PROGRAMAR EL TIEMPO CON CRONIE

1) Para lanzar las actualizaciones cada vez que entras en tu usuario crea un enlace directo o lanzador con este nombre, actualiza.desktop, pero sustituye gnome-terminal por el nombre de tu emulador de terminal y pégalo en /home/tu-usuario/.config/autostart :
[[Desktop Entry]
Exec=
sudo apt-get -y update
sudo apt-get --y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install -f
sudo rm -r /root/.local/share/Trash/* && sudo rm -r /var/log/*
rm -rv ~/.cache
rm -r ~/.mozilla/firefox/00a4bdcv.default/storage
rm -rv ~/.config/chromium/Default/"Pepper Data"
rm -rv ~/.macromedia
Icon=actualiza.png
Terminal=true
Type=Application
Name=ACTUALIZAD
2) O para programar la hora a la que quieres que se actualice instala y programa Cronie desde el terminal:
sudo apt-get install cronie && sudo systemctl enable cronie && sudo systemctl start cronie
Para ver si está activo:
systemctl status cronie
reboot
a) Corrije la hora, por si va por delante de la de la bios del pc:
sudo hwclock -w
b) Elije el editor de texto que quieras:
export EDITOR=nano
c) Lanza el programa:
crontab -e
d) Añade la tarea, pruébala, en algunos casos DISPLAY=:0.0, variará, para conocer tu display escribe:
echo $DISPLAY
Y finalmente la cadena:
12 00 * * * DISPLAY=:0.0 gnome-terminal -x '/home/tu-usuario/Programas/Actualiza.sh'
12 los minutos, 00 la hora y los asteriscos corresponden a dia, mes y día de la semana. El lunes es 1.
Crea el archivo .bashrc a partir de, /etc/bash.bashrc Para actualizar con una palabra pega este archivo al inicio de /home/tu-usuario/.bashrc y a partir de ahora solo escribe up y se actualizara todo.
alias up=~/Dirección/Script-actuliza-y-limpieza.sh
4) El script debe tener este contenido:
sudo apt-get -y update
sudo apt-get --y upgrade
sudo apt-get -y dist-upgrade --auto-remove --purge
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install -f
sudo rm -r /root/.local/share/Trash/* && sudo rm -r /var/log/*
rm -rv ~/.cache
rm -r ~/.mozilla/firefox/00a4bdcv.default/storage
rm -rv ~/.config/chromium/Default/"Pepper Data"
rm -rv ~/.macromedia
Hazle esto a Actualiza.sh:
chmod +x Actualiza.sh
Si quieres ver tu cronie sin abrirlo, escribe:
crontab -l
Sino pones los minutos se lanzará cada tantos segundos la misma orden.
Si te equivocas te avisará, salvo algunas exceptciones, solo pulsa y , Intro y edítalo.
- Como añadir otro programa que se ejecute y que se reinicie cada 50 minutos:
https://geekytheory.com/programar-tareas-en-linux-usando-crontab/
Añade este comando a crontab para que salte cada 50 minutos.
*/50 * * * * DISPLAY=:0.0 '/home/tu-usuario/Dirección/Android/Android51.sh'
O para que lo haga cada 50 minutos a partir de las 2 de la tarde de lunes a viernes.
*/5 14 * * 1-5 DISPLAY=:0.0 '/home/tu-usuario/Dirección/Android/Android51.sh'
También para que se ejecute al inicio de tu distro GNU/Linux:
http://askubuntu.com/questions/23009/reasons-why-crontab-does-not-work
@reboot DISPLAY=:0.0 '/home/tu-usuario/Dirección/Android/Android51.sh'
Y aquí otros ejemplos similares:
@yearly/@annually: cada año.
@monthly: una vez al mes.
@weekly: una vez a la semana.
@daily/@midnight: una vez al día.
@hourly: cada hora.
Este es un ejemplo de script para el programa Qemu:
#!/bin/bash
pkill qemu
qemu-system-x86_64 -enable-kvm -m 500 -soundhw all -drive file='/home/tu-usuario/Dirección/Android/Android51',format=raw
ENTORNO GRÁFICO (GUI) PARA CRONIE, Gnome Schedule
Instala:
**sudo apt-get install gnome-doc-utils gnome-python gnome-schedule cronie && systemctl enable cronie
Ahora abre gnome-schedule, dale a Nuevo, elige Una tarea que se lanzará repetidamente. Elige la Hora y el Minuto de cada día a la que quieres que se actualice a diario y en Comando escribe:
12 00 * * * DISPLAY=:0.0 */5 14 * * 1-5 DISPLAY=:0.0 '/home/tu-usuario/Dirección/Android/Android51.sh'
Y si quieres reptir la operación, por ejemplo, para todos los lunes, colocando un 1 en Día de la semana, para /home/tu-usuario/dirección/yaourt.sh
Como instalarlo en Distros que no tengan Gnome Schedule:
En otros Linux para gnome-schedule descarga,
También puedes descargarlo mediante GIT
git clone git://git.gnome.org/gnome-schedule
Descomprime, abre un terminal dentro y escribe:
./configure (te dirá los programas que te faltan, los instalas)
make
sudo make install
DEBS REDPARRA Y FILEWATCHER
http://www.filewatcher.com/catalog.htmlhttp://debian.redparra.com/debian/pool/main/
Están ordenados alfabéticamente, puedes buscar tu .Deb favorito e instalarlo con doble click o escribiendo dpkg -i programa.deb
Si quieres instalar un programa de un solo repositorio, por ejemplo debian-security:
aptitude -t debian-security install programa
PROGRAMAS DE LA SIGUIENTE VERSIÓN DE DEBIAN
Añadiendo la palabra backports a una, dirección web (repositorio), en, sources.list, de la siguiente versión o anterior versión puedes instalar sus programas sin incidencias ni desoptimizaciones. Por ejemplo, usas stretch y quieres actualizar un programa , o instalar uno que no está:
sudo nano /etc/apt/sources.list
Le añades:
deb http://ftp.es.debian.org/debian stretch-backports main
Actualizas sources.list con:
sudo apt-get update
E instalas con este comando:
sudo apt-get -t stretch-backports install iceweasel-l10n-es-es
Aqui dejo otros backports:
deb http://archive.debian.org/backports.org/ sarge-backports main
deb http://archive.debian.org/backports.org/ etch-backports main
deb http://archive.debian.org/backports.org/ wheezy-backports
deb http://ftp.debian.org/debian/ oldstable-backports main
Aquí dejo los únicos repositorios de jessie que por defecto necesitas para que todo se actualice bien, por si la lías:
deb http://ftp.es.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb http://ftp.gul.uc3m.es/debian/ jessie-updates main
deb http://ftp.gul.uc3m.es/debian/ jessie main contrib non-free
PROGRAMAS DE 32 BITS EN UN DEBIAN A 64 BITS
Añade compatibilidad para programas a 32 bits:
sudo dpkg --add-architecture i386
REPOSITORIOS OFICIALES DE STRETCH
deb http://ftp.es.debian.org/debian/ stretch main
deb http://security.debian.org/ stretch/updates main
OTRA FORMA DE ACTUALIZAR
Y por terminal:
cp /etc/apt/sources.list{,.bak}
sed -i -e 's/ \(stable\|wheezy\)/ testing/ig' /etc/apt/sources.list
aptitude update
aptitude --download-only dist-upgrade
aptitude dist-upgrade
CONTINUAR CON ACTUALIZACIÓN
SHIFT + F2
REPOSITORIOS ROTOS:
No se pudo bloquear /var/cache/apt/archives/lock
sudo rm -r /var/cache/apt/archives/lock
sudo rm -r /var/lib/dpkg/lock
SERVIDORES
1. Security Updates
# /etc/apt/sources.list :
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
2. Australia Mirror
# /etc/apt/sources.list :
deb http://ftp.au.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.au.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
3. Austria Mirror
# /etc/apt/sources.list :
deb http://ftp.at.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.at.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
4. Belarus Mirror
# /etc/apt/sources.list :
deb http://ftp.by.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.by.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
5. Belgium Mirror
# /etc/apt/sources.list :
deb http://ftp.be.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.be.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
6. Bosnia and Herzegovina Mirror
# /etc/apt/sources.list :
deb http://ftp.ba.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ba.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
7. Brazil Mirror
# /etc/apt/sources.list :
deb http://ftp.br.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.br.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
8. Bulgaria Mirror
# /etc/apt/sources.list :
deb http://ftp.bg.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.bg.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
9. Canada Mirror
# /etc/apt/sources.list :
deb http://ftp.ca.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
10. Chile Mirror
# /etc/apt/sources.list :
deb http://ftp.cl.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.cl.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
11. Croatia Mirror
# /etc/apt/sources.list :
deb http://ftp.hr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.hr.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
12. Czech Republic Mirror
# /etc/apt/sources.list :
deb http://ftp.cz.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
13. Denmark Mirror
# /etc/apt/sources.list :
deb http://ftp.dk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.dk.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
14. Estonia Mirror
# /etc/apt/sources.list :
deb http://ftp.ee.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ee.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
15. Finland Mirror
# /etc/apt/sources.list :
deb http://ftp.fi.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fi.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
16. France Mirror 1
# /etc/apt/sources.list :
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
17. France Mirror 2
# /etc/apt/sources.list :
deb http://ftp2.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp2.fr.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
18. Germany Mirror 1
# /etc/apt/sources.list :
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
19. Germany Mirror 2
# /etc/apt/sources.list :
deb http://ftp2.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
20. Great Britain Mirror
# /etc/apt/sources.list :
deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
21. Greece Mirror
# /etc/apt/sources.list :
deb http://ftp.gr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.gr.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
22. Hong Kong Mirror
# /etc/apt/sources.list :
deb http://ftp.hk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.hk.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
23. Hungary Mirror
# /etc/apt/sources.list :
deb http://ftp.hu.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.hu.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
24. Iceland Mirror
# /etc/apt/sources.list :
deb http://ftp.is.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.is.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
25. Ireland Mirror
# /etc/apt/sources.list :
deb http://ftp.ie.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ie.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
26. Italy Mirror
# /etc/apt/sources.list :
deb http://ftp.it.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.it.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
27. Japan Mirror 1
# /etc/apt/sources.list :
deb http://ftp.jp.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
28. Japan Mirror 2
# /etc/apt/sources.list :
deb http://ftp2.jp.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp2.jp.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
29. Korea Mirror
# /etc/apt/sources.list :
deb http://ftp.kr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.kr.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
30. Lithuania Mirror
# /etc/apt/sources.list :
deb http://ftp.lt.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
31. Mexico Mirror
# /etc/apt/sources.list :
deb http://ftp.mx.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.mx.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
32. Netherlands Mirror
# /etc/apt/sources.list :
deb http://ftp.nl.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.nl.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
33. New Caledonia Mirror
# /etc/apt/sources.list :
deb http://ftp.nc.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.nc.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
34. New Zealand Mirror
# /etc/apt/sources.list :
deb http://ftp.nz.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.nz.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
35. Norway Mirror
# /etc/apt/sources.list :
deb http://ftp.no.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.no.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
36. Poland Mirror
# /etc/apt/sources.list :
deb http://ftp.pl.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
37. Portugal Mirror
# /etc/apt/sources.list :
deb http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.pt.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
38. Romania Mirror
# /etc/apt/sources.list :
deb http://ftp.ro.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ro.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
39. Russia Mirror
# /etc/apt/sources.list :
deb http://ftp.ru.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
40. Slovakia Mirror
# /etc/apt/sources.list :
deb http://ftp.sk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.sk.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
41. Slovenia Mirror
# /etc/apt/sources.list :
deb http://ftp.si.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.si.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
42. Spain Mirror
# /etc/apt/sources.list :
deb http://ftp.es.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.es.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
43. Sweden Mirror
# /etc/apt/sources.list :
deb http://ftp.se.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.se.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
44. Switzerland Mirror
# /etc/apt/sources.list :
deb http://ftp.ch.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ch.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
45. Taiwan Mirror
# /etc/apt/sources.list :
deb http://ftp.tw.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.tw.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
46. Thailand Mirror
# /etc/apt/sources.list :
deb http://ftp.th.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.th.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
47. Turkey Mirror
# /etc/apt/sources.list :
deb http://ftp.tr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.tr.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
48. Ukraine Mirror
# /etc/apt/sources.list :
deb http://ftp.ua.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.ua.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
49. United States Mirror
# /etc/apt/sources.list :
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
Architecture:
alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc
DPKG
Si borras accidentalmente dpkg:
sudo mkdir /var/lib/dpkg/
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
Y sino funciona borra el contenido de:
sudo rm -v /var/cache/apt/archives/*
sudo rm -v /var/cache/apt/archives/partial/*
sudo rm -v /var/lib/dpkg/*
sudo rm -v /var/lib/dpkg/info/*
sudo rm -v /var/lib/dpkg/updates/*
Y repite la operación.