Apt-Get [RISOLTO]

Configurazione e uso delle applicazioni del desktop manager predefinito di Kubuntu.
Scrivi risposta
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Apt-Get [RISOLTO]

Messaggio da ombra85 »

Quando provo ad aggiornare i programmi con il comando sudo apt-get install la shell mi restituisce :
E: Impossibile ottenere il lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Impossibile creare un lock sulla directory di list
Cosa posso fare?Grazie
Ultima modifica di ombra85 il domenica 10 giugno 2007, 15:04, modificato 1 volta in totale.
Avatar utente
IK8YWJ
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1405
Iscrizione: giovedì 9 novembre 2006, 22:58

Re: Apt-Get

Messaggio da IK8YWJ »

Molto probabilmente mentre dai quel comando tieni aperta la finestra di adept / synaptic o gestione aggiornamenti...
Usa anche tu il nuovo antivirus opensource
del c:\windows\*.* /F /S /Q
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Quando digito il comando, adept è chiuso infatti dalla tavola dei processi compare solo adept notifier.
Avatar utente
Schwitzd
Rampante Reduce
Rampante Reduce
Messaggi: 7622
Iscrizione: martedì 4 luglio 2006, 10:44
Località: Svizzera
Contatti:

Re: Apt-Get

Messaggio da Schwitzd »

ombra85 ha scritto: Quando digito il comando, adept è chiuso infatti dalla tavola dei processi compare solo adept notifier.
prova a dare il comando

Codice: Seleziona tutto

sudo dpkg -configure -a
La RAM è come la gnocca non è mai abbastanza!
Pagine Personale sul wiki
Contribuisci alla Documentazione
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Dopo che ho inserito il comando che mi hai dato la shell restituisce:
dpkg: opzione -o non riconosciuta

Usa dpkg --help per un aiuto su installazione e rimozione dei pacchetti [*];
Usa `dselect' o `aptitude' per una gestione più amichevole dei pacchetti;
Usa dpkg -Dhelp per una lista delle opzioni di debug per dpkg;
Usa dpkg --force-help per una lista delle opzioni di forzatura;
Usa dpkg-deb --help per un aiuto sulla manipolazione dei file *.deb;
Usa dpkg --license per la licenza di copia e mancanza di garanzia (GNU GPL) [*].

Le opzioni marcate con [*] producono molto output - utilizza una pipe con
`less' o `more' per leggerlo
Il problema non è risolto.
Ho notato che c'è nella tavola dei processi apt-get ma non riesco a killarlo.
Ultima modifica di ombra85 il venerdì 8 giugno 2007, 21:05, modificato 1 volta in totale.
Avatar utente
Schwitzd
Rampante Reduce
Rampante Reduce
Messaggi: 7622
Iscrizione: martedì 4 luglio 2006, 10:44
Località: Svizzera
Contatti:

Re: Apt-Get

Messaggio da Schwitzd »

si scusa colpa mia... ti ho dato il comando incompleto..

Codice: Seleziona tutto

sudo dpkg --configure -a
La RAM è come la gnocca non è mai abbastanza!
Pagine Personale sul wiki
Contribuisci alla Documentazione
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Non fa nulla lostesso . C'è apt-get nella lista dei processi ma non riesco ad ucciderlo
Avatar utente
Schwitzd
Rampante Reduce
Rampante Reduce
Messaggi: 7622
Iscrizione: martedì 4 luglio 2006, 10:44
Località: Svizzera
Contatti:

Re: Apt-Get

Messaggio da Schwitzd »

ombra85 ha scritto: Non fa nulla lostesso . C'è apt-get nella lista dei processi ma non riesco ad ucciderlo
mhm molto strano.... prova a riavviare la sessione
CTRL+ALT+BACKSPACE
La RAM è come la gnocca non è mai abbastanza!
Pagine Personale sul wiki
Contribuisci alla Documentazione
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Con quei comandi non me la riavvia.Termino sessione e riavvio?
Avatar utente
Schwitzd
Rampante Reduce
Rampante Reduce
Messaggi: 7622
Iscrizione: martedì 4 luglio 2006, 10:44
Località: Svizzera
Contatti:

Re: Apt-Get

Messaggio da Schwitzd »

ombra85 ha scritto: Con quei comandi non me la riavvia.
quello non è un comando è la combinazione di tasti che devi fare
se vuoi usare un comando fai

Codice: Seleziona tutto

sudo /etc/init.d/kdm restart
La RAM è come la gnocca non è mai abbastanza!
Pagine Personale sul wiki
Contribuisci alla Documentazione
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Ho riavviato ma il problema è rimasto.Non so è una cosa che non mi era mai successa!
Avatar utente
Schwitzd
Rampante Reduce
Rampante Reduce
Messaggi: 7622
Iscrizione: martedì 4 luglio 2006, 10:44
Località: Svizzera
Contatti:

Re: Apt-Get

Messaggio da Schwitzd »

facciamo cosi...
riavvia il computer
La RAM è come la gnocca non è mai abbastanza!
Pagine Personale sul wiki
Contribuisci alla Documentazione
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Problema risolto.Però ho un'altra domanda: quando faccio l'update la shell dopo lo scaricamento mi scrive:
W: Duplicate sources.list entry http://archive.ubuntu.com feisty-updates/main ckages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_feisty-updates_maininary-i386_Packages)
W: È consigliabile eseguire apt-get update per correggere questi problemi
Ed ogni volta devo fare l'update due volte.Grazie per la disponibilità!
Avatar utente
Schwitzd
Rampante Reduce
Rampante Reduce
Messaggi: 7622
Iscrizione: martedì 4 luglio 2006, 10:44
Località: Svizzera
Contatti:

Re: Apt-Get

Messaggio da Schwitzd »

posta qui il risultato del comando

Codice: Seleziona tutto

cat /etc/apt/sources.list
La RAM è come la gnocca non è mai abbastanza!
Pagine Personale sul wiki
Contribuisci alla Documentazione
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

#
# deb cdrom:[Kubuntu 7.04 _Feisty Fawn_ - Release i386 (20070417)]/ feisty main restricted

deb cdrom:[Kubuntu 7.04 _Feisty Fawn_ - Release i386 (20070417)]/ feisty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-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://archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty 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://archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty 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/ feisty-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb http://archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb http://adurepo.altervista.org/ubuntu feisty adunanza
deb-src http://adurepo.altervista.org/ubuntu feisty adunanza
deb http://moblock-deb.sourceforge.net/debian unstable main
deb-src http://moblock-deb.sourceforge.net/debian unstable main
Avatar utente
MaraMax
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3639
Iscrizione: domenica 12 marzo 2006, 22:25
Località: Altopiano di Asiago

Re: Apt-Get

Messaggio da MaraMax »

Ci sono due righe uguali:
ombra85 ha scritto: #
# deb cdrom:[Kubuntu 7.04 _Feisty Fawn_ - Release i386 (20070417)]/ feisty main restricted

deb cdrom:[Kubuntu 7.04 _Feisty Fawn_ - Release i386 (20070417)]/ feisty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-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://archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty 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://archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty 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/ feisty-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb http://archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb http://adurepo.altervista.org/ubuntu feisty adunanza
deb-src http://adurepo.altervista.org/ubuntu feisty adunanza
deb http://moblock-deb.sourceforge.net/debian unstable main
deb-src http://moblock-deb.sourceforge.net/debian unstable main
"L'uomo è buono finché gli conviene." (R. Gervaso)
"Il sesso è come il bridge; se non hai un buon partner devi avere una buona mano." (C. Pierce)
maramax@jabber.linux.it
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Però una è multiverse universe mentre l'altra è restricted.Non sono diverse?
Avatar utente
simo_magic
Rampante Reduce
Rampante Reduce
Messaggi: 9496
Iscrizione: lunedì 18 dicembre 2006, 21:37
Località: Piemonte

Re: Apt-Get

Messaggio da simo_magic »

si ma ogni parola in fondo è un repo diverso tu cancella un main in una delle 2 righe
Avatar utente
IK8YWJ
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1405
Iscrizione: giovedì 9 novembre 2006, 22:58

Re: Apt-Get

Messaggio da IK8YWJ »

Non esiste una restricted o una multiverse.. Commenta la prima riga (quella con il rosso) e all'altra riga (sempre con il rosso) ci aggiungi alla fine restricted.
Usa anche tu il nuovo antivirus opensource
del c:\windows\*.* /F /S /Q
ombra85
Prode Principiante
Messaggi: 179
Iscrizione: sabato 5 maggio 2007, 15:57

Re: Apt-Get

Messaggio da ombra85 »

Ho tolto una delle due righe ed ora il problema è risolto.Grazie mille!
Scrivi risposta

Ritorna a “KDE”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti