|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Member
Iscritto dal: Oct 2001
Messaggi: 55
|
Problemi con APT
Per farla breve, il problema e' questo:
# apt-get update ... tutto fila liscio # apt-get upgrade Reading Package Lists... Done E: Read error - read (21 Is a directory) stessa cosa se provo con i comandi # apt-get dist-upgrade # apt-get install nomeprogramma Eppure sembrerebbe tutto ok # dpkg --status apt Package: apt Status: install ok installed Priority: standard Section: base Installed-Size: 2692 Maintainer: APT Development Team <deity@lists.debian.org> Version: 0.5.22 Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7) Provides: libapt-pkg-libc6.3-5-3.3 Depends: libc6 (>= 2.3.2.ds1-4), libgcc1 (>= 1:3.3.2-1), libstdc++5 (>= 1:3.3.2-1) Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc Description: Advanced front-end for dpkg This is Debian's next generation front-end for the dpkg package manager. It provides the apt-get utility and APT dselect method that provides a simpler, safer way to install and upgrade packages. . APT features complete installation ordering, multiple source capability and several other unique features, see the Users Guide in apt-doc. -- Ho provato anche ad installare nuove e vecchie versioni di apt (stable/testing/unstable) ma il problema rimane... qualcuno mi sa aiutare? Io ci ho provato ma nemmeno google mi viene incontro questa volta ![]() TIA |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Oct 2002
Città: siena
Messaggi: 2233
|
prova dpkg-reconfigure apt
apt-get --reinstall install apt aptconf dpkg --configure -a se hai fatto qualche settaggio ad apt rimuovilo e prova anche cambiare sources.list
__________________
............and.................... |
![]() |
![]() |
![]() |
#3 | |||
Member
Iscritto dal: Oct 2001
Messaggi: 55
|
Quote:
Quote:
# apt-get update Quote:
/etc/apt/preferences/.preferences inserendo le righe: -- Package: * Pin: release a=stable Pin-Priority: 700 Package: * Pin: release a=testing Pin-Priority: 650 Package: * Pin: release a=unstable Pin-Priority: 600 -- Ma anche cancellando questo file apt non funziona, sempre il solito messaggio d'errore! Ho poi dovuto aggiungere la stringa APT::Cache-Limit "8388608"; ma tutto il resto non l'ho toccato... |
|||
![]() |
![]() |
![]() |
#4 | |
Senior Member
Iscritto dal: Oct 2002
Città: siena
Messaggi: 2233
|
Quote:
il problema è evidente che viene da qui cancella tutte le modifiche e il file in questione fai un file vuoto per sources.list e riprova a fare l'update e i soliti comandi di prima magari anche un dpkg --clear-avail
__________________
............and.................... |
|
![]() |
![]() |
![]() |
#5 |
Member
Iscritto dal: Oct 2001
Messaggi: 55
|
Ho provato a riportare tutto alla cfg originale:
-- # dpkg --clear-avail # apt-get update Hit http://security.debian.org testing/updates/main Packages Hit http://security.debian.org testing/updates/main Release Hit http://security.debian.org testing/updates/contrib Packages Hit http://security.debian.org testing/updates/contrib Release Hit http://security.debian.org testing/updates/non-free Packages Hit http://security.debian.org testing/updates/non-free Release Hit http://security.debian.org testing/updates/main Sources Hit http://security.debian.org testing/updates/main Release Hit http://security.debian.org testing/updates/contrib Sources Hit http://security.debian.org testing/updates/contrib Release Hit http://non-us.debian.org sid/non-US/main Packages Hit http://non-us.debian.org sid/non-US/main Release Hit http://non-us.debian.org sid/non-US/contrib Packages Hit http://non-us.debian.org sid/non-US/contrib Release Hit http://non-us.debian.org sid/non-US/non-free Packages Hit http://non-us.debian.org sid/non-US/non-free Release Hit http://non-us.debian.org sid/non-US/main Sources Hit http://non-us.debian.org sid/non-US/main Release Hit http://non-us.debian.org sid/non-US/contrib Sources Hit http://non-us.debian.org sid/non-US/contrib Release Hit http://security.debian.org testing/updates/non-free Sources Hit http://security.debian.org testing/updates/non-free Release Hit http://non-us.debian.org sid/non-US/non-free Sources Hit http://non-us.debian.org sid/non-US/non-free Release Hit http://ftp.us.debian.org sid/main Packages Hit http://ftp.us.debian.org sid/main Release Hit http://ftp.us.debian.org sid/non-free Packages Hit http://ftp.us.debian.org sid/non-free Release Hit http://ftp.us.debian.org sid/contrib Packages Hit http://ftp.us.debian.org sid/contrib Release Hit http://ftp.us.debian.org sid/main Sources Hit http://ftp.us.debian.org sid/main Release Hit http://ftp.us.debian.org sid/non-free Sources Hit http://ftp.us.debian.org sid/non-free Release Hit http://ftp.us.debian.org sid/contrib Sources Hit http://ftp.us.debian.org sid/contrib Release Reading Package Lists... Done # apt-get upgrade Reading Package Lists... Done E: Read error - read (21 Is a directory) -- Purtroppo non e' un problema di sources.list, |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Oct 2002
Città: siena
Messaggi: 2233
|
hai un file di configurazione con quell'errore ma non riesco a capire quale
![]() dpkg -i /var/cache/apt/archives/apt_0.5.22_i386.deb
__________________
............and.................... |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 08:14.