errore (penso) grave
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
errore (penso) grave
credo di aver cancellato qualcosa che non dovevo!
quando dò il comando:
sudo apt-get update
mi dà questa risposta:
E: Impossibile aprire il file di lock /var/lib/apt/lists/lock - open (2 Nessun file o directory)
E: Impossibile creare un lock sulla directory di list
Che si Fò!!! Ho speranze
quando dò il comando:
sudo apt-get update
mi dà questa risposta:
E: Impossibile aprire il file di lock /var/lib/apt/lists/lock - open (2 Nessun file o directory)
E: Impossibile creare un lock sulla directory di list
Che si Fò!!! Ho speranze
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: errore (penso) grave
non è che hai synaptic, aggiungi/rimuovi o il gestore aggiornamenti aperto?
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
no, è tutto chiuso
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: errore (penso) grave
Codice: Seleziona tutto
ls -l /var/lib/apt/lists/lock
sudo fuser /var/lib/apt/lists/lock- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
niente da fare, al primo comando mi risponde con:
ls: impossibile accedere a /var/lib/apt/lists/lock: Nessun file o directory
al secondo:
Impossibile fare stat di /var/lib/apt/lists/lock: Nessun file o directory
Ho provato anche ad installare o rimuovere altre applicazioni, ma mi dà sempre lo stesso errore, non mi fa neanche aggiornare l'elenco delle applicazioni disponibili... la cosa si fa molto grave!
ls: impossibile accedere a /var/lib/apt/lists/lock: Nessun file o directory
al secondo:
Impossibile fare stat di /var/lib/apt/lists/lock: Nessun file o directory
Ho provato anche ad installare o rimuovere altre applicazioni, ma mi dà sempre lo stesso errore, non mi fa neanche aggiornare l'elenco delle applicazioni disponibili... la cosa si fa molto grave!
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
navigando ho trovato una discussione aperta per un problema simile al mio risolto così:
"Sono andato sul sito di Debian, ho scaricato apt in formato .deb, l'ho reinstallato con il solito
# dpkg -i aptblablabla.deb
e poi tutto è tornato a funzionare!"
pensate che possa funzionare?
ma soprattuttto, come si fa questa cosa?
"Sono andato sul sito di Debian, ho scaricato apt in formato .deb, l'ho reinstallato con il solito
# dpkg -i aptblablabla.deb
e poi tutto è tornato a funzionare!"
pensate che possa funzionare?
ma soprattuttto, come si fa questa cosa?
Re: errore (penso) grave
Potrebbe funzionare e fa esattamente come hai scritto: si va sul sito debian, si scarica apt in formato deb etc etc :P
ciao,
Marco
ciao,
Marco
http://mtuxland.blogspot.com - fotografia, informatica, musica e tutto quello che mi passa per la testa
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
ho scaricato apt.deb e l'ho installato, effettivamente qualcosa è migliorato, riesco a far iniziare l'istallazione di un'applicazione o anche ad aggiornare il sistema o la lista applicazioni disponibili, ma dopo un pò mi risponde con:
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `libavcodec1d', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `onboard', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `libgnomevfs2-bin', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `gnome-power-manager', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `libxcomposite-dev', si assume che non abbia nessun file correntemente installato.
etc etc...
14 file e directory attualmente installati.)
Mi preparo a sostituire apt 0.7.9ubuntu17 (con .../apt_0.7.9ubuntu17_i386.deb) ...
Spacchetto il sostituto di apt ...
dpkg: errore processando /var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb (--unpack):
impossibile creare il file aggiornato con la lista dei file del pacchetto apt: Nessun file o directory
Sono occorsi degli errori processando:
/var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb
W: Duplicate sources.list entry http://ppa.launchpad.net hardy/main Packages (/var/lib/apt/lists/ppa.launchpad.net_reacocard-awn_ubuntu_dists_hardy_main_binary-i386_Packages)
W: È consigliabile eseguire apt-get update per correggere questi problemi
E: Sub-process /usr/bin/dpkg returned an error code (1)
pierino@pierino-laptop:~$
qualche consiglio???
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `libavcodec1d', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `onboard', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `libgnomevfs2-bin', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `gnome-power-manager', si assume che non abbia nessun file correntemente installato.
dpkg: avviso importante: manca il file con la lista dei file del pacchetto `libxcomposite-dev', si assume che non abbia nessun file correntemente installato.
etc etc...
14 file e directory attualmente installati.)
Mi preparo a sostituire apt 0.7.9ubuntu17 (con .../apt_0.7.9ubuntu17_i386.deb) ...
Spacchetto il sostituto di apt ...
dpkg: errore processando /var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb (--unpack):
impossibile creare il file aggiornato con la lista dei file del pacchetto apt: Nessun file o directory
Sono occorsi degli errori processando:
/var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb
W: Duplicate sources.list entry http://ppa.launchpad.net hardy/main Packages (/var/lib/apt/lists/ppa.launchpad.net_reacocard-awn_ubuntu_dists_hardy_main_binary-i386_Packages)
W: È consigliabile eseguire apt-get update per correggere questi problemi
E: Sub-process /usr/bin/dpkg returned an error code (1)
pierino@pierino-laptop:~$
qualche consiglio???
Ultima modifica di pierinoweb il mercoledì 24 settembre 2008, 20:22, modificato 1 volta in totale.
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: errore (penso) grave
Crealo:pierinoweb ha scritto: Impossibile fare stat di /var/lib/apt/lists/lock: Nessun file o directory
sudo touch /var/lib/apt/lists/lock
poi dai:
ls -l /var/lib/apt/lists/lock
e controlla che sia esattamente così (a parte data e orario):
-rw-r----- 1 root root 0 2008-09-24 03:11 /var/lib/apt/lists/lock
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
la risposta è quella, ma l'errore rimane:
E: /var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb: impossibile creare il file aggiornato con la lista dei file del pacchetto apt
E: /var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb: impossibile creare il file aggiornato con la lista dei file del pacchetto apt
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: errore (penso) grave
lascia perdere quel pacchetto.
dai
sudo apt-get update
sudo apt-get upgrade
cosa esce?
dai
sudo apt-get update
sudo apt-get upgrade
cosa esce?
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
al primo tentativio con update scarica e alla fine:
W: Duplicate sources.list entry http://ppa.launchpad.net hardy/main Packages (/var/lib/apt/lists/ppa.launchpad.net_reacocard-awn_ubuntu_dists_hardy_main_binary-i386_Packages)
W: È consigliabile eseguire apt-get update per correggere questi problemi
al secondo tentativo tuto ok
con upgrade stò scaricando, tra un pò ti faccio sapere (sono connesso con il cell)...
W: Duplicate sources.list entry http://ppa.launchpad.net hardy/main Packages (/var/lib/apt/lists/ppa.launchpad.net_reacocard-awn_ubuntu_dists_hardy_main_binary-i386_Packages)
W: È consigliabile eseguire apt-get update per correggere questi problemi
al secondo tentativo tuto ok
con upgrade stò scaricando, tra un pò ti faccio sapere (sono connesso con il cell)...
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: errore (penso) grave
per il primo problema vuol dire che hai un repository duplicato nel source.list
sudo gedit /etc/apt/sources.list
e cpoia qui cosa esce.
sudo gedit /etc/apt/sources.list
e cpoia qui cosa esce.
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
con upgrade mi ha dato il solito errore, metre la risposta a
sudo gedit /etc/apt/sources.list
è:
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.ynet.sk/ubuntu/ hardy main restricted
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.ynet.sk/ubuntu/ hardy-updates main restricted
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ubuntu.ynet.sk/ubuntu/ hardy universe
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy universe
deb http://ubuntu.ynet.sk/ubuntu/ hardy-updates universe
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.ynet.sk/ubuntu/ hardy multiverse
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy multiverse
deb http://ubuntu.ynet.sk/ubuntu/ hardy-updates multiverse
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://ubuntu.ynet.sk/ubuntu/ hardy-security main restricted
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-security main restricted
deb http://ubuntu.ynet.sk/ubuntu/ hardy-security universe
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-security universe
deb http://ubuntu.ynet.sk/ubuntu/ hardy-security multiverse
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-security multiverse
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
sudo gedit /etc/apt/sources.list
è:
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.ynet.sk/ubuntu/ hardy main restricted
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.ynet.sk/ubuntu/ hardy-updates main restricted
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ubuntu.ynet.sk/ubuntu/ hardy universe
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy universe
deb http://ubuntu.ynet.sk/ubuntu/ hardy-updates universe
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.ynet.sk/ubuntu/ hardy multiverse
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy multiverse
deb http://ubuntu.ynet.sk/ubuntu/ hardy-updates multiverse
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://ubuntu.ynet.sk/ubuntu/ hardy-security main restricted
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-security main restricted
deb http://ubuntu.ynet.sk/ubuntu/ hardy-security universe
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-security universe
deb http://ubuntu.ynet.sk/ubuntu/ hardy-security multiverse
deb-src http://ubuntu.ynet.sk/ubuntu/ hardy-security multiverse
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: errore (penso) grave
cancella le utime due righe
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
cancellate, ed ora che faccio?
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
nel frattempo ho dato un update... tutto ok
invece sudo apt-get upgrade --fix-missing (per non riscaricare tutto)
da lo stesso errore:
prima un'infinità di
dpkg: avviso importante:......
e poi
Mi preparo a sostituire apt 0.7.9ubuntu17 (con .../apt_0.7.9ubuntu17_i386.deb) ...
Spacchetto il sostituto di apt ...
dpkg: errore processando /var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb (--unpack):
impossibile creare il file aggiornato con la lista dei file del pacchetto apt: Nessun file o directory
Sono occorsi degli errori processando:
/var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
invece sudo apt-get upgrade --fix-missing (per non riscaricare tutto)
da lo stesso errore:
prima un'infinità di
dpkg: avviso importante:......
e poi
Mi preparo a sostituire apt 0.7.9ubuntu17 (con .../apt_0.7.9ubuntu17_i386.deb) ...
Spacchetto il sostituto di apt ...
dpkg: errore processando /var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb (--unpack):
impossibile creare il file aggiornato con la lista dei file del pacchetto apt: Nessun file o directory
Sono occorsi degli errori processando:
/var/cache/apt/archives/apt_0.7.9ubuntu17_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ultima modifica di pierinoweb il mercoledì 24 settembre 2008, 22:23, modificato 1 volta in totale.
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: errore (penso) grave
ma come ti è uscito sto errore?
Provando a installare apt di debian?
Provando a installare apt di debian?
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
ok, lo reinstallo con:
dpkg -i /home/pierino/Scrivania/apt_0.6.46.4-0.1_i386.deb
dpkg -i /home/pierino/Scrivania/apt_0.6.46.4-0.1_i386.deb
- pierinoweb
- Prode Principiante
- Messaggi: 79
- Iscrizione: lunedì 23 giugno 2008, 20:51
- Località: dalle parti di Roma!
Re: errore (penso) grave
anzi, ho scaricato apt_0.7.9ubuntu17_i386.deb
installo questo con lo stesso comando dpkg???
installo questo con lo stesso comando dpkg???
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 7 ospiti
