Pagina 1 di 1

[Risolto] [Install] Non riesco ad installare nuove applicazioni

Inviato: martedì 28 dicembre 2010, 8:16
da paperinik
Salve, un piccolo grande problema con Ubuntu 10.04.
Non riesco più ad aggiungere nuove applicazioni con Ubuntu Software center.
Nelle sorgenti software--> software per ubuntu, il segno di spunta è su tutte le caselle eccetto codice sorgente.

Se cerco di far qualcosa, mi si visualizza una finestrella con il seguente messaggio:
"Caricamento dell'elenco di pacchetti non riuscito"
Questo è un problema grave. Provare di nuovo in un secondo momento. Se il problema compare di nuovo, segnalare l'errore agli sviluppatori.
e nei dettagli dice:
E:Type 'wget' is not known on line 56 in source list /etc/apt/sources.list, E:The list of sources could not be read.

Ne sapete qualcosa?

Re: [Install] Non riesco ad installare nuove applicazioni

Inviato: martedì 28 dicembre 2010, 9:41
da vaillant
Ciao. Apri un terminale e digita

Codice: Seleziona tutto

cat /etc/apt/sources.list
e riporta qui ciò che esce, il problema sta lì

Re: [Install] Non riesco ad installare nuove applicazioni

Inviato: martedì 28 dicembre 2010, 22:09
da paperinik
root@antonio-desktop:~# cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty 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 lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu lucid main restricted

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

deb http://archive.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://archive.ubuntu.com/ubuntu lucid-security main restricted
deb http://archive.ubuntu.com/ubuntu lucid-security universe
deb-src http://archive.ubuntu.com/ubuntu lucid-security universe
deb http://archive.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://archive.ubuntu.com/ubuntu lucid-security multiverse
# deb http://download.virtualbox.org/virtualbox/debian karmic non-free # disabilitato durante l'avanzamento a karmic
deb http://kondr.ic.cz/deb lucid main
wget http://kondr.ic.cz/kondr.key -O-apt-key add -

apt-get update
apt-get install geogebra
deb http://kondr.ic.cz/deb lucid main

Re: [Install] Non riesco ad installare nuove applicazioni

Inviato: martedì 28 dicembre 2010, 22:13
da vaillant
Ok, dai questo comando

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
e cancella queste ultime 4 righe
deb http://kondr.ic.cz/deb lucid main
wget http://kondr.ic.cz/kondr.key -O-apt-key add -
apt-get update
apt-get install geogebra
salva il file, chiudilo e dai

Codice: Seleziona tutto

sudo apt-get update
ora dovresti essere a posto

[Risolto] Re: [Install] Non riesco ad installare nuove applicazioni

Inviato: mercoledì 29 dicembre 2010, 18:04
da paperinik
Tutto risolto, ma cos'era successo?

Re: [Risolto] [Install] Non riesco ad installare nuove applicazioni

Inviato: mercoledì 29 dicembre 2010, 18:08
da vaillant
Nel sources.list (il file contenente gli indirizzi dei repository) c'erano delle righe sbagliate che apt non riusciva a interpretare e quindi si bloccava. Magari hai tentato di installare qualche software (credo geogebra) ma molto probabilmente hai sbagliato qualche comando.

Eliminando quelle righe che ti ho indicato, è tornato tutto come prima :)

Re: [Risolto] [Install] Non riesco ad installare nuove applicazioni

Inviato: giovedì 30 dicembre 2010, 8:27
da paperinik
Grazie 1000 per l'aiuto disinteressato.
Buon 2011!