Precedente :: Successivo |
Autore |
Messaggio |
Lo.90 Mortale devoto

Registrato: 21/10/09 19:47 Messaggi: 9
|
Inviato: 20 Mar 2010 09:57 Oggetto: Problema col gestore pacchetti |
|
|
Ciao ragazzi,
ho un problema con il gestore aggiornamenti ed il gestore pacchetti, quando cerco di utilizzarli mi compare questo messaggio di errore:
"Si è verificato un errore
Sono forniti i seguenti dettagli:
E: dpkg è stato interrotto. Per correggere il problema è necessario eseguire "sudo dpkg --configure -a".
E: _cache->open() failed, please report."
Come posso risolverlo? |
|
Top |
|
 |
anabasi Amministratore


Registrato: 21/10/05 01:58 Messaggi: 15656 Residenza: Tra Alpi e Tanaro
|
Inviato: 20 Mar 2010 20:59 Oggetto: |
|
|
Ciao
La prima cosa da fare è seguire il consiglio che trovi nel messaggio di errore.
Apri il terminale (Applicazioni -> Accessori -> Terminale) e digita
Codice: |
sudo dpkg --configure -a
|
e premi "invio".
Ti verrà chiesta la tua password: digitala (non vedrai nulla, nemmeno gli asterischi, ma il sistema la riconoscerà) e premi "invio".
Se non ti restituisce errori vuol dire che l'operazione è andata a buon fine, e potrai effettuare aggiornamenti e nuove installazioni.
Per essere sicuro di non commettere errori di digitazione, puoi copiare il comando e incollarlo nel terminale, con un click destro del mouse e selezionando "incolla". |
|
Top |
|
 |
Lo.90 Mortale devoto

Registrato: 21/10/09 19:47 Messaggi: 9
|
Inviato: 21 Mar 2010 13:00 Oggetto: |
|
|
Ok fatto, ora è tutto a posto! Grazie mille! |
|
Top |
|
 |
anabasi Amministratore


Registrato: 21/10/05 01:58 Messaggi: 15656 Residenza: Tra Alpi e Tanaro
|
Inviato: 21 Mar 2010 23:35 Oggetto: |
|
|
Ok  |
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 27 Mar 2010 19:42 Oggetto: |
|
|
a me da questo errore:
E: Tipo "main" non riconosciuto alla riga 1 nel file /etc/apt/sources.list.d/mozillateam-firefox-stable-karmic.list
E: Impossibile leggere l'elenco delle sorgenti.
Correggere il problema nella configurazione del repository.
E: _cache->open() failed, please report.
avevo tentato di aggiungere un reposity ma credo di aver fatto danno... e ora?
ho provato il comando di anabasi ma... non è successo nulla |
|
Top |
|
 |
MK66 Moderatore Sistemi Operativi


Registrato: 17/10/06 23:24 Messaggi: 8634 Residenza: dentro una cassa sotto 3 metri di terra...
|
Inviato: 29 Mar 2010 15:55 Oggetto: |
|
|
utonto_medio ha scritto: | a me da questo errore:
E: Tipo "main" non riconosciuto alla riga 1 nel file /etc/apt/sources.list.d/mozillateam-firefox-stable-karmic.list
E: Impossibile leggere l'elenco delle sorgenti.
Correggere il problema nella configurazione del repository.
E: _cache->open() failed, please report.
avevo tentato di aggiungere un reposity ma credo di aver fatto danno... e ora?
ho provato il comando di anabasi ma... non è successo nulla |
Sembra infatti che tu abbia un problema nell'elenco dei repo...
Che repository hai tentato di aggiungere? E come lo hai aggiunto?
Prova anche a postare il contenuto del file /etc/apt/sources.list, che controlliamo...  |
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 29 Mar 2010 18:14 Oggetto: |
|
|
stasera di dico... ora sto litigando con win2k... vediamo se riesco a brasare anche questo? |
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 29 Mar 2010 19:46 Oggetto: |
|
|
rieccomi
questo il repo che volevo aggiungere:
http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu
come l'ho aggiunto?
sorgenti software > altro software e ho modificato il link che c'era per firefox...
il tipo file è "binario", distribuzione: karmic, componenti: main
magari una di queste impostazioni non è corretta? magari non è nel main? (magari se fosse stato nel main l'avrebbe aggiornato da solo...?)
ecco il contenuto del file:
# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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/ karmic-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu karmic main
non so se c'entra qualcosa ma vedo che in sources.list.d ci sono due file:
mozillateam-firefox-stable-karmik.list e mozillateam-firefox-stable-karmik.list.save
purtroppo non riesco a fare nessun aggiornamento nè ad accedere gestore pacchetti
confidando come al solito nel tuo aiuto saluto calorosamente.
ciao ciao
u. |
|
Top |
|
 |
anabasi Amministratore


Registrato: 21/10/05 01:58 Messaggi: 15656 Residenza: Tra Alpi e Tanaro
|
Inviato: 30 Mar 2010 14:09 Oggetto: |
|
|
Ciao
In attesa della risposta di MK66, inizio a dirti che il tuo /etc/apt/sources.list è uguale al mio (Ubuntu 9.10, nel quale ho mantenuto Firefox 3.5.8 ) tranne che nell'ultima riga:
Codice: |
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu karmic main
|
che ovviamente nel mio è assente.
Analogamente, nel mio /etc/apt/sources.list.d non ci sono i due file riferibili a mozillateam. |
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 30 Mar 2010 19:10 Oggetto: |
|
|
ovviamente è bene accetto l'aiuto di chiunque eh... ci mancherebbe...
cavolata +, cavolata meno... e se provassi a disinstallare firefox? se ne andrebbe anche il repo "cattiiiivo"?
chi lo sa... |
|
Top |
|
 |
MK66 Moderatore Sistemi Operativi


Registrato: 17/10/06 23:24 Messaggi: 8634 Residenza: dentro una cassa sotto 3 metri di terra...
|
Inviato: 30 Mar 2010 22:17 Oggetto: |
|
|
Riapri Sorgenti software, seleziona il repository incriminato, clicca su Modifica e, al termine della riga (dopo /ppa/ubuntu per capirci) aggiungi uno / trasformandolo così:
Codice: | http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/ |
Per il resto OK: binario, karmic, main va benissimo... poi salva e chiudi, ti chiederà di ricaricare/aggiornare, fallo e poi Synaptic dovrebbe darti i nuovi pacchetti senza problemi  |
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 30 Mar 2010 22:37 Oggetto: |
|
|
ma io lo sapevo neeeeh... volevo solo vedere se eri preparato!
consiglio da utonto ad utonti (relazione uno a molti): quando modificate un repo o ingenerale cambiate un'impostazione "testuale" fate un bel copia e incolla in un file di testo. così se qualcosa va storto avete speranza di recuperare.
ciaoooo |
|
Top |
|
 |
anabasi Amministratore


Registrato: 21/10/05 01:58 Messaggi: 15656 Residenza: Tra Alpi e Tanaro
|
Inviato: 31 Mar 2010 20:12 Oggetto: |
|
|
utonto_medio ha scritto: | quando modificate un repo o in generale cambiate un'impostazione "testuale" fate un bel copia e incolla in un file di testo. così se qualcosa va storto avete speranza di recuperare.
|
Certo, un backup del file che si sta per modificare è la precauzione più saggia.
Per esempio, da linea di comando con:
Codice: |
cp /etc/apt/sources.list /percorso-della-cartella-in-cui-salvare
|
Se si vuole salvare nella stessa cartella di origine, potrebbe occorrere (a seconda dei casi) il sudo:
Codice: |
sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
|
|
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 31 Mar 2010 21:10 Oggetto: |
|
|
beh si... il tuo consiglio è saggio ma il mio è + utonto friendly
comunque ora provo a sistemare tutto eh...
tra poco vi aggiorno
aggiornamento: non ha funzionato... che faccio?
Impossibile scaricare tutti gli indici dell'archivio
Il repository potrebbe non essere più disponibile o non più raggiungibile per problemi di rete. Se disponibile, verrà utilizzata una versione vecchia degli indici, altrimenti verrà ignorato. Controllare la connessione di rete e assicurarsi che l'indirizzo inserito nelle preferenze sia corretto.
e poi:
Si è verificato un errore
Sono forniti i seguenti dettagli:
E: Tipo "main" non riconosciuto alla riga 1 nel file /etc/apt/sources.list.d/mozillateam-firefox-stable-karmic.list
E: Impossibile bloccare la directory dell'elenco
sources.list.save:
eb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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/ karmic-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/ karmic main
sources.list
# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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/ karmic-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/ karmic main |
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 03 Apr 2010 16:50 Oggetto: |
|
|
forse ho risolto...
visto che l'errore diceva che non riconosceva il tipo main ho aperto il file (in realtà uno dei 4 che ci sono... a caso) e ho cancellato la parola main (unica scritta)... magicamente è andato tutto a posto. sono rientrato in gestore aggiornamenti e ho aggiornato tutto ma ff è rimasto lo stesso. allora sono riandato nelle sorgenti e ho flaggato anche la riga del repo di ff... e con somma meraviglia mi ha aggiornato FF... però mi ha messo la 3.6.4... come quando dal salumiere ti mette un paio di etti in + e poi ti chiedie "cosa faccio? lascio???"
va be per oggi tengo... domani provo a rimettere la 3.6.3... o lascio la 4?
PS:
ma se io uso il comando sudo ad es. in gedit... poi resto root per tutta la sessione? |
|
Top |
|
 |
MK66 Moderatore Sistemi Operativi


Registrato: 17/10/06 23:24 Messaggi: 8634 Residenza: dentro una cassa sotto 3 metri di terra...
|
Inviato: 04 Apr 2010 12:30 Oggetto: |
|
|
utonto_medio ha scritto: | forse ho risolto...
visto che l'errore diceva che non riconosceva il tipo main ho aperto il file (in realtà uno dei 4 che ci sono... a caso) e ho cancellato la parola main (unica scritta)... magicamente è andato tutto a posto. sono rientrato in gestore aggiornamenti e ho aggiornato tutto ma ff è rimasto lo stesso. allora sono riandato nelle sorgenti e ho flaggato anche la riga del repo di ff... e con somma meraviglia mi ha aggiornato FF... però mi ha messo la 3.6.4... come quando dal salumiere ti mette un paio di etti in + e poi ti chiedie "cosa faccio? lascio???"
va be per oggi tengo... domani provo a rimettere la 3.6.3... o lascio la 4? |
Solitamente la versione più aggiornata dovrebbe eliminare eventuali problemi della versione meno aggiornata...
utonto_medio ha scritto: | PS:
ma se io uso il comando sudo ad es. in gedit... poi resto root per tutta la sessione? |
Quella sessione di gedit resta aperta con i superpoteri e quindi puoi modificare i file di sistema. Però il sudo è temporaneo, non è come il su delle altre distribuzioni che cambia proprio utente fino a quando non darai il comando exit. |
|
Top |
|
 |
utonto_medio Dio maturo

Registrato: 09/02/08 15:28 Messaggi: 1012
|
Inviato: 05 Apr 2010 13:28 Oggetto: |
|
|
beh si inteoria una versione + aggiornata dovrebbe sistemare i bacherozzi della precedente... però se è ancora una beta (o qualcosa del genere) ci sarà un perchè.
però va be... per ora la tengo così... ho già fatto abbastanza danni
nel frattempo avevo notato che chiudendo gedit va via l'icona con la chiavetta... al che avevo intuito che i superpoteri venissero meno... (in ogni caso ho sempre un vasetto di kriptonite nella dispensa... non si sa mai) |
|
Top |
|
 |
|