[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reinstalación apt



El Wed, 23 Dec 2015 11:07:55 +0000, rjimenez escribió:

> Buenos días,

Ese formato...

>  Por error he eliminado el directorio /etc/apt/ con
> el contenido de configuración que había dentro:
> 
> root@thindeb:/etc/apt#
> pwd /etc/apt
> 
> root@thindeb:/etc/apt# ls
> 
> ¿Alguien me podría indicar que maneras tengo de solucionarlo?. He estado
> buscando en la red pero no he encontrado nada y me surgen algunas
> dudas..

(...)

sm01@stt008:/etc/apt/apt.conf.d$ ls -l /etc/apt/*
-rw-r--r-- 1 root root   99 jun  1  2013 /etc/apt/listchanges.conf
-rw-r--r-- 1 root root  917 nov  7 18:55 /etc/apt/sources.list
-rw-r--r-- 1 root root    0 jun  1  2013 /etc/apt/sources.list~
-rw------- 1 root root 1200 jun  1  2013 /etc/apt/trustdb.gpg
-rw------- 1 root root    0 jun  1  2013 /etc/apt/trusted.gpg

/etc/apt/apt.conf.d:
total 24
-rw-r--r-- 1 root root  82 jun  1  2013 00CDMountPoint
-rw-r--r-- 1 root root  40 jun  1  2013 00trustcdrom
-rw-r--r-- 1 root root 430 mar 14  2013 01autoremove
-rw-r--r-- 1 root root 141 jun 30  2012 20listchanges
-rw-r--r-- 1 root root 182 dic 26  2012 70debconf
-rw-r--r-- 1 root root  33 nov  8 15:40 99synaptic

/etc/apt/preferences.d:
total 0

/etc/apt/sources.list.d:
total 0

/etc/apt/trusted.gpg.d:
total 36
-rw-r--r-- 1 root root 5138 ene  2  2015 debian-archive-jessie-automatic.gpg
-rw-r--r-- 1 root root 5147 ene  2  2015 debian-archive-jessie-security-automatic.gpg
-rw-r--r-- 1 root root 2775 oct  5  2014 debian-archive-jessie-stable.gpg
-rw-r--r-- 1 root root 4084 jun  2  2012 debian-archive-squeeze-automatic.gpg
-rw-r--r-- 1 root root 2853 jun  2  2012 debian-archive-squeeze-stable.gpg
-rw-r--r-- 1 root root 3780 jun  2  2012 debian-archive-wheezy-automatic.gpg
-rw-r--r-- 1 root root 2851 jun  2  2012 debian-archive-wheezy-stable.gpg


Descargar el paquete desde los repositorios y copia/pega el contenido. 
Aunque mejor dicho son al menos dos paquetes los que añaden contenido 
en ese directorio: apt y debconf.

Saludos,

-- 
Camaleón


Reply to: