Pagina 1 di 1

[Risolto]Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 19:48
da joss13
Ciao a tutti, uso ubuntu 11.10 da quasi 3 settimane e sono ancora ai primi passi.
Stamattina non riuscivo ad entrare in ubuntu software centre e in alto a destra mi e apparso un cartello. Come mai questa cosa?? Cosa devo fare??

Grazie in anticipo..

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:14
da Freddy85
apri un terminale, digita

Codice: Seleziona tutto

 software-center 
e incolla qui il risultato

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:22
da joss13
# optimus@ubuntu:~$ software-center
2012-03-25 20:20:12,203 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21
Traceback (most recent call last):
  File "/usr/bin/software-center", line 151, in
    app = SoftwareCenterAppGtk3(datadir, xapian_base_path, options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 213, in __init__
    self.cache.open()
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 209, in open
    self._cache = apt.Cache(GtkMainIterationProgress())
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 93, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 140, in open
    self._list.read_main_list()
SystemError: E:Tipo "sudo" non riconosciuto alla riga 56 nel file /etc/apt/sources.list

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:23
da Freddy85
per favore modifica il post dove c'è il codice e includilo nel tag 'code', ovvero l'icona # dell'editor. grazie!

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:25
da Freddy85
inoltre posta, con lo stesso metodo che ti ho appena illustrato, il risultato di:

Codice: Seleziona tutto

cat /etc/apt/sources.list

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:30
da joss13
Ah scusa e che sono nuovo sul forum.
Cmq escono questi dati

Codice: Seleziona tutto

optimus@ubuntu:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted
deb-src http://archive.ubuntu.com/ubuntu oneiric 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/ oneiric main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric 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/ oneiric-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric universe
deb http://it.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric multiverse
deb http://it.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse #Added by software-properties

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

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 oneiric main
deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
# deb-src http://extras.ubuntu.com/ubuntu oneiric main

sudo apt-key ad
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 886DDD89
 sudo tee -a /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 886DDD89
http://deb.torproject.org/torproject.org  main 

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:32
da Freddy85
modifica quel file e cancela queste righe:

Codice: Seleziona tutto

sudo apt-key ad
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 886DDD89
sudo tee -a /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 886DDD89
poi dai

Codice: Seleziona tutto

sudo apt-get update
e riposta qui l'output

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:36
da joss13
Scusa per la mia ignoranza!!  :-[ Ma come faccio a cancellare quelle righe?

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:38
da Freddy85

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
scorri il file ed arrivi alla fine, cancelli quelle righe e salvi il file
Freddy85 ha scritto: poi dai

Codice: Seleziona tutto

sudo apt-get update
e riposti qui l'output

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:41
da joss13

Codice: Seleziona tutto

E: Tipo "http://deb.torproject.org/torproject.org" non riconosciuto alla riga 57 nel file /etc/apt/sources.list
E: Impossibile leggere l'elenco dei sorgenti.

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:42
da Freddy85
cancella anche quella riga con torproject, alla stessa maniera che hai fatto ora ;)

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 20:58
da Diabolik62
modifica pure qui
da
deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
a cosi
#deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
Ciao

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 21:18
da joss13
Dopo che ho fatto questi passaggi??  ???

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 21:40
da joss13
Ora  dice

Codice: Seleziona tutto

E: La riga 7 nel file /etc/apt/sources.list non è corretta (URI)
E: Impossibile leggere l'elenco dei sorgenti.

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 21:51
da ^alessio^
posta

Codice: Seleziona tutto

cat -n /etc/apt/sources.list
ormai dovresti aver capito come risolvere.

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 21:54
da joss13
Invece non ho ancora capito niente  >:(

Codice: Seleziona tutto

optimus@ubuntu:~$ cat -n /etc/apt/sources.list
     1	# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted
     2	deb-src http://archive.ubuntu.com/ubuntu oneiric main restricted #Added by software-properties
     3	
     4	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     5	# newer versions of the distribution.
     6	deb http://it.archive.ubuntu.com/ubuntu/ oneiric main restricted
     7	deb-src #deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse 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/ oneiric-updates main restricted
    12	deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-updates restricted main multiverse 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/ oneiric universe
    18	deb http://it.archive.ubuntu.com/ubuntu/ oneiric-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	deb http://it.archive.ubuntu.com/ubuntu/ oneiric multiverse
    26	deb http://it.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
    27	
    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/ oneiric-backports main restricted universe multiverse
    34	deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse #Added by software-properties
    35	
    36	deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
    37	deb-src http://security.ubuntu.com/ubuntu oneiric-security restricted main multiverse universe #Added by software-properties
    38	deb http://security.ubuntu.com/ubuntu oneiric-security universe
    39	deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
    40	
    41	## Uncomment the following two lines to add software from Canonical's
    42	## 'partner' repository.
    43	## This software is not part of Ubuntu, but is offered by Canonical and the
    44	## respective vendors as a service to Ubuntu users.
    45	# deb http://archive.canonical.com/ubuntu oneiric partner
    46	# deb-src http://archive.canonical.com/ubuntu oneiric partner
    47	
    48	## Uncomment the following two lines to add software from Ubuntu's
    49	## 'extras' repository.
    50	## This software is not part of Ubuntu, but is offered by third-party
    51	## developers who want to ship their latest software.
    52	# deb http://extras.ubuntu.com/ubuntu oneiric main
    53	deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
    54	# deb-src http://extras.ubuntu.com/ubuntu oneiric main
    55	
    56	
    57	

Re: Problema Ubunu Software Centre

Inviato: domenica 25 marzo 2012, 22:10
da ^alessio^
questa

Codice: Seleziona tutto

 7	deb-src #deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe #Added by software-properties
correggila,devi toglierli il commento # deve essere così

Codice: Seleziona tutto

#deb-src deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe #Added by software-properties
e commenta questa

Codice: Seleziona tutto

53	deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
in pratica la fai diventare così

Codice: Seleziona tutto

#deb http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
ti ho lasciato i numeri così riesci ad identificarle meglio le righe da correggere,quando hai finito aggiorna il sistema e se da errori postali.

Re: Problema Ubunu Software Centre

Inviato: lunedì 26 marzo 2012, 14:09
da joss13
Grazie mille a tutti!! Siete stati molto gentili e di grande aiuto.  :)

Re: Problema Ubunu Software Centre

Inviato: lunedì 26 marzo 2012, 14:17
da Freddy85
joss13 ha scritto: Grazie mille a tutti!! Siete stati molto gentili e di grande aiuto.   :)
(good)
Per favore modifica il primo post ed inserisci [Risolto] prima del titolo! grazie!