Errore nella cache RISOLTO

Domande e richieste di un principiante alle prime armi con Ubuntu e il mondo GNU/Linux in generale. Per domande specifiche, utilizzare le altre sezioni.
Regole della sezione
In questa sezione possono inserire nuove discussioni solo coloro che fanno parte del livello "Prode Principiante" e che non hanno superato i 100 messaggi, tutti gli altri possono comunque rispondere regolarmente. Se si fa parte di questo livello e si è registrati al forum prima del 24 aprile 2012, data del passaggio al nuovo forum, consultare questa discussione.

Immagine Come usare UbuntuPrimi passi su Ubuntu Immagine Amministrazione del sistemaComandi di baseInstallare programmiLog di sistemaRiga di comandoSudo
Scrivi risposta
flavio63
Prode Principiante
Messaggi: 9
Iscrizione: giovedì 12 luglio 2012, 19:32
Desktop: ubuntu 2d
Distribuzione: ubuntu 12.04 lts i686

Errore nella cache RISOLTO

Messaggio da flavio63 »

Buongiorno e grazie in anticipo a chiunque mi dia una mano per risolvere questo problema.
Ho installato ubuntu 12.04 su un netbook acer aspire one d270 e devo dire che funziona egregiamente, ho anche ubuntu nel computer di casa ma la versione precedente e che funziona benissimo.
Da qualche giorno nel netbook mi è apparso il segnale rosso in alto (divieto di accesso) con la seguente scritta:

E:encountered a section with no package : header, E:problem with mergelist/var/lib/apt/lists
pkg.phasis.it_dists_debian_stable_binary_i386_packages , E:the package lists or status file could not be parsed or opened

Inoltre non si avvia il gestore aggiornamenti e ubuntu software center
Qualcuno mi può dire come fare per sistemare il tutto?
Abbiate pazienza ma di computer ne capisco poco.
Ultima modifica di flavio63 il venerdì 13 luglio 2012, 16:06, modificato 1 volta in totale.
daigo

Re: Errore nella cache

Messaggio da daigo »

prova così

Codice: Seleziona tutto

sudo rm /var/lib/apt/lists/* -vf

Codice: Seleziona tutto

sudo apt-get update
flavio63
Prode Principiante
Messaggi: 9
Iscrizione: giovedì 12 luglio 2012, 19:32
Desktop: ubuntu 2d
Distribuzione: ubuntu 12.04 lts i686

Re: Errore nella cache

Messaggio da flavio63 »

grazie per la risposta, il computer ha scaricato un pò di roba e la parte finale dice così:

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/Release.gpg Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... 6/Packages Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://www.phasis.it/pkg/dists/debian/s ... 6/Packages 404 Not Found

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... tion-it_IT Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... slation-it Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... slation-en Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

E: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi.

Per vedere se si toglie quel segnale rosso devo riavviare?
daigo

Re: Errore nella cache

Messaggio da daigo »

quello che da errore è un repo di debian,non credo che sia compatibile con ubuntu,posta l'output di questi,quando inserisci qui la risposta del terminale ,per ogni comando seleziona tutto e clicca sul tasto code

Codice: Seleziona tutto

cat /etc/apt/sources.list

Codice: Seleziona tutto

ls /etc/apt/sources.list.d/
flavio63
Prode Principiante
Messaggi: 9
Iscrizione: giovedì 12 luglio 2012, 19:32
Desktop: ubuntu 2d
Distribuzione: ubuntu 12.04 lts i686

Re: Errore nella cache

Messaggio da flavio63 »

Scusami ma cos'è il tasto code?
dopo il primo comando esce questo:
orodorienthe@orodorienthe-AOD270:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties

## 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/ precise universe
deb http://it.archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb http://it.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## 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/ precise-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security 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 precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://pkg.phasis.it debian stable
deb http://it.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe
deb-src http://it.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe #Added by software-properties
deb http://pkg.phasis.it debian stable
deb http://www.phasis.it/pkg/ debian stable
deb http://pkg.phasis.it debian stable
orodorienthe@orodorienthe-AOD270:~$

con il secondo comando non esce nulla
daigo

Re: Errore nella cache

Messaggio da daigo »

dai

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
e nel file che apre modifica queste righe mettendo il cancelletto # davanti,sono in fondo al file.

Codice: Seleziona tutto

deb http://pkg.phasis.it debian stable
deb http://pkg.phasis.it debian stable
deb http://www.phasis.it/pkg/ debian stable
deb http://pkg.phasis.it debian stable
falle diventare così

Codice: Seleziona tutto

#deb http://pkg.phasis.it debian stable
#deb http://pkg.phasis.it debian stable
#deb http://www.phasis.it/pkg/ debian stable
#deb http://pkg.phasis.it debian stable
fatto la modifica,salva il file e chiudi poi ridai

Codice: Seleziona tutto

sudo apt-get update
e vedi se hai ancora errori
flavio63
Prode Principiante
Messaggi: 9
Iscrizione: giovedì 12 luglio 2012, 19:32
Desktop: ubuntu 2d
Distribuzione: ubuntu 12.04 lts i686

Re: Errore nella cache

Messaggio da flavio63 »

Scusa ma non ho 4 righe ma solo 3 , così va bene?

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://pkg.phasis.it debian stable
deb http://it.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe
deb-src http://it.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe #Added by software-properties
#deb http://pkg.phasis.it debian stable
#deb http://www.phasis.it/pkg/ debian stable
#deb http://pkg.phasis.it debian stable
flavio63
Prode Principiante
Messaggi: 9
Iscrizione: giovedì 12 luglio 2012, 19:32
Desktop: ubuntu 2d
Distribuzione: ubuntu 12.04 lts i686

Re: Errore nella cache

Messaggio da flavio63 »

Ho salvato il file e ho dato il comando come mi hai detto, il segnale è sparito, il computer ha scaricato non so cosa e la parte finale dice così:

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/Release.gpg Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... 6/Packages Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... tion-it_IT Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... slation-it Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

W: Impossibile recuperare http://pkg.phasis.it/dists/debian/stabl ... slation-en Si è verificato qualcosa di anormale nella risoluzione di "pkg.phasis.it:http" (-5 - Nessun indirizzo associato al nome host)

E: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi.

Ora è a posto?
daigo

Re: Errore nella cache

Messaggio da daigo »

ne hai una anche qui,piùsopra
deb http://pkg.phasis.it debian stable
deb http://it.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe
deb-src http://it.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe #Added by software-properties
#deb http://pkg.phasis.it debian stable
#deb http://www.phasis.it/pkg/ debian stable
#deb http://pkg.phasis.it debian stable

questo è il tasto code
Allegati
Schermata .png
flavio63
Prode Principiante
Messaggi: 9
Iscrizione: giovedì 12 luglio 2012, 19:32
Desktop: ubuntu 2d
Distribuzione: ubuntu 12.04 lts i686

Re: Errore nella cache (RISOLTO)

Messaggio da flavio63 »

ok, ora è tutto a posto, grazie 10000!!!!!!!
ciao e buona giornata
daigo

Re: Errore nella cache

Messaggio da daigo »

bene :D ,risolto va al primo post
Scrivi risposta

Ritorna a “Dilemmi del principiante”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti