[Risolto] impossibile aggiornare

Installazione, configurazione e uso di programmi e strumenti.
Scrivi risposta
300705
Prode Principiante
Messaggi: 104
Iscrizione: venerdì 21 marzo 2008, 19:23
Distribuzione: linux mint
Località: milano

[Risolto] impossibile aggiornare

Messaggio da 300705 »

Ho cercato di installare un programma e da terminale devo aver combinato un casino. Infatti quando cerco di aggiornare mi esce la seguente scritta:

Impossibile inizializzare le informazioni del pacchetto

Si è verificato un problema irrisolvibile durante l'inizializzazione delle informazioni del pacchetto.

Segnalare questo bug per il pacchetto «update-manager» e includere il seguente messaggio d'errore:

'E:Tipo "sudo" non riconosciuto alla riga 57 nel file /etc/apt/sources.list'

Esiste un punto di ripristino?
Come posso fare?
Grazie della pazienza

Ciao >:(
Ultima modifica di 300705 il lunedì 27 dicembre 2010, 21:22, modificato 1 volta in totale.
diegt
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1381
Iscrizione: martedì 4 maggio 2010, 18:58
Desktop: Unity
Distribuzione: Ubuntu 16.04 LTS 64 bit

Re: impossibile aggiornare

Messaggio da diegt »

posta il risultato di

Codice: Seleziona tutto

cat /etc/apt/sources.list
300705
Prode Principiante
Messaggi: 104
Iscrizione: venerdì 21 marzo 2008, 19:23
Distribuzione: linux mint
Località: milano

Re: impossibile aggiornare

Messaggio da 300705 »

Ecco qua, grazie:

utente@utente-laptop:~$ cat /etc/apt/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/ maverick main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-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/ maverick universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick universe
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-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/ maverick multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-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://it.archive.ubuntu.com/ubuntu/ maverick-security main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://it.archive.ubuntu.com/ubuntu/ maverick-security universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-security universe
deb http://it.archive.ubuntu.com/ubuntu/ maverick-security multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-security multiverse
deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository
deb http://it.archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universedeb http://ppa.launchpad.net/c-korn/vlc/ubuntu jaunty main
deb-src http://ppa.launchpad.net/c-korn/vlc/ubuntu jaunty main
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7613768D

utente@utente-laptop:~$
Avatar utente
Megatux
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 11793
Iscrizione: lunedì 21 settembre 2009, 12:47
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile

Re: impossibile aggiornare

Messaggio da Megatux »

Dai da Terminale:

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
poi cancella la voce:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7613768D
quindi salva e rifai l'update...
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
Avatar utente
vaillant
Rampante Reduce
Rampante Reduce
Messaggi: 8319
Iscrizione: domenica 15 marzo 2009, 9:54
Distribuzione: Ubuntu Server 20.04 LTS
Sesso: Maschile
Località: Modica

Re: impossibile aggiornare

Messaggio da vaillant »

Io cancellerei anche questa
300705 ha scritto: deb-src http://ppa.launchpad.net/c-korn/vlc/ubuntu jaunty main
Avatar utente
Megatux
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 11793
Iscrizione: lunedì 21 settembre 2009, 12:47
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile

Re: impossibile aggiornare

Messaggio da Megatux »

E anche questa:
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
300705
Prode Principiante
Messaggi: 104
Iscrizione: venerdì 21 marzo 2008, 19:23
Distribuzione: linux mint
Località: milano

Re: impossibile aggiornare

Messaggio da 300705 »

ho fatto, ma sono punto e a capo.

Sul terminale, appena fatto il salvataggio, è uscito:

utente@utente-laptop:~$ sudo gedit /etc/apt/sources.list
[sudo] password for utente:
error: line 3: bad flagvector
error: line 7: bad flagvector
error: line 10: bad flagvector
error: line 12: bad flagvector
error: line 14: bad flagvector
error: line 16: bad flagvector
error: line 21: bad flagvector
error: line 26: bad flagvector
Avatar utente
vaillant
Rampante Reduce
Rampante Reduce
Messaggi: 8319
Iscrizione: domenica 15 marzo 2009, 9:54
Distribuzione: Ubuntu Server 20.04 LTS
Sesso: Maschile
Località: Modica

Re: impossibile aggiornare

Messaggio da vaillant »

E' un bug dell'editor di testi, non del sources.list

Dai il

Codice: Seleziona tutto

sudo apt-get update
come suggerito da Megatux
300705
Prode Principiante
Messaggi: 104
Iscrizione: venerdì 21 marzo 2008, 19:23
Distribuzione: linux mint
Località: milano

[Risolto] Re: impossibile aggiornare

Messaggio da 300705 »

grazie siete molto gentili e efficienti, tutto ok
Avatar utente
vaillant
Rampante Reduce
Rampante Reduce
Messaggi: 8319
Iscrizione: domenica 15 marzo 2009, 9:54
Distribuzione: Ubuntu Server 20.04 LTS
Sesso: Maschile
Località: Modica

Re: impossibile aggiornare

Messaggio da vaillant »

Di nulla, ma [RISOLTO] va messo nel primo post, non nell'ultimo  ;)

Ciao
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: perfab e 6 ospiti