Pagina 1 di 1

(RISOLTO)Bug in update manager

Inviato: domenica 27 marzo 2011, 13:48
da PC ZERO
Oggi ho acceso il pc e quando è partito il gestore aggiornamenti mi ha date sto errore

Impossibile inizializzare le informazioni del pacchetto.
Segnalare bug per update-manager e includere il seguente messaggio:
E:Tipo "wget" non riconosciuto alla riga 52 nel file /etc/apt/sources.list

Adesso non mi parte più il gestore aggiornamenti, nè quello dei pacchetti e nemmeno ubuntu software center.
Ho visto che si parlava di questo errore anche in vecchie discussioni ed ho provato tutte le soluzioni che ho trovato ma invano,
sono solo riuscito a capire che riguarda un programma virtualbox4 che avevo installato e poi rimosso per altri problemi già risolti.
Nella mia ignoranza non so dove segnalare l'errore visto che nella guida mi dice di farlo usando un programma che al momento non posso installare.

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:04
da Petr
Ciao.
Digita nel terminale

Codice: Seleziona tutto

cat -n /etc/apt/sources.list
identifica la riga 52.
Digita successivamente

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
nel file che si apre cancella la riga che hai precedentemente identificato.
Salva e chiudi.
Digita ancora

Codice: Seleziona tutto

sudo apt-get update && sudo apt-get upgrade

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:09
da PC ZERO
Fatto da terminale mi da questo

nicola@nicola-Veriton-M460:~$ sudo gedit /etc/apt/sources.list
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
nicola@nicola-Veriton-M460:~$ sudo apt-get update && sudo apt-get upgrade
E: Tipo "sudo" non riconosciuto alla riga 52 nel file /etc/apt/sources.list
E: Impossibile leggere l'elenco dei sorgenti.

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:11
da Petr
Posta il risultato di

Codice: Seleziona tutto

cat -n /etc/apt/sources.list

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:12
da PC ZERO
Ecco

nicola@nicola-Veriton-M460:~$ cat -n /etc/apt/sources.list
    1 # deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
    2 deb-src http://archive.ubuntu.com/ubuntu maverick main restricted #Added by software-properties
    3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    4 # newer versions of the distribution.
    5
    6 deb http://it.archive.ubuntu.com/ubuntu/ maverick main restricted multiverse
    7 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick restricted main universe #Added by software-properties
    8
    9 ## Major bug fix updates produced after the final release of the
    10 ## distribution.
    11 deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted multiverse
    12 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates restricted main universe #Added by software-properties
    13
    14 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    15 ## team. Also, please note that software in universe WILL NOT receive any
    16 ## review or updates from the Ubuntu security team.
    17 deb http://it.archive.ubuntu.com/ubuntu/ maverick universe
    18 deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe
    19
    20 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    21 ## team, and may not be under a free licence. Please satisfy yourself as to
    22 ## your rights to use the software. Also, please note that software in
    23 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    24 ## security team.
    25
    26 ## Uncomment the following two lines to add software from the 'backports'
    27 ## repository.
    28 ## N.B. software from this repository may not have been tested as
    29 ## extensively as that contained in the main release, although it includes
    30 ## newer versions of some applications which may provide useful features.
    31 ## Also, please note that software in backports WILL NOT receive any review
    32 ## or updates from the Ubuntu security team.
    33 # deb http://it.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    34 # deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    35
    36 ## Uncomment the following two lines to add software from Canonical's
    37 ## 'partner' repository.
    38 ## This software is not part of Ubuntu, but is offered by Canonical and the
    39 ## respective vendors as a service to Ubuntu users.
    40 # deb http://archive.canonical.com/ubuntu maverick partner
    41 # deb-src http://archive.canonical.com/ubuntu maverick partner
    42
    43 ## This software is not part of Ubuntu, but is offered by third-party
    44 ## developers who want to ship their latest software.
    45 deb http://extras.ubuntu.com/ubuntu maverick main
    46 deb-src http://extras.ubuntu.com/ubuntu maverick main
    47
    48 deb http://security.ubuntu.com/ubuntu maverick-security main restricted multiverse
    49 deb-src http://security.ubuntu.com/ubuntu maverick-security restricted main universe #Added by software-properties
    50 deb http://security.ubuntu.com/ubuntu maverick-security universe
    51
    52
    53 sudo apt-key add -
    54 sudo apt-get update
    55 sudo apt-get install virtualbox-4.0

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:14
da PC ZERO
Ho controllato l'icona di divieto rossa che mi è apparsa da quando ho l'errore adesso mi dice che è nella riga 53

Seguo il procedimento di sopra?

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:16
da Diabolik62
elimina questi

Codice: Seleziona tutto

  53   sudo apt-key add -
    54   sudo apt-get update
    55   sudo apt-get install virtualbox-4.0
salva e chiudi, ripeti l'update

Re:[RISOLTO] Bug in update manager

Inviato: domenica 27 marzo 2011, 14:21
da PC ZERO
Tutto ok un enorme grazie a tutti.

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:22
da kekko_94
Modifica il primo post e scrivi [Risolto] prima del titolo!!!

Re:[RISOLTO] Bug in update manager

Inviato: domenica 27 marzo 2011, 14:23
da Petr
PC ZERO ha scritto: Tutto ok un enorme grazie a tutti.
Ok.
Risolto scrivilo sul primo messaggio che hai postato.


Ciao @ Diabolik62

Re: Bug in update manager

Inviato: domenica 27 marzo 2011, 14:28
da Diabolik62
Ciao@petr felice di risentirti :)