[Install] non si apre più "ubuntu software center" [Risolto]

Personalizzazione grafica del sistema: icone, temi, sfondi, suoni, eccetera.
kessaale
Prode Principiante
Messaggi: 30
Iscrizione: venerdì 15 aprile 2011, 16:17

[Install] non si apre più "ubuntu software center" [Risolto]

Messaggio da kessaale »

Salve a tutti, è la prima volta che scrivo su questo blog in quanto sono un neofita di ubuntu ma particolarmente attratto dallo spirito con cui è stato sviluppato e dalle persone chei si dedicano gratuitamente alla comunità per cui ieri ho deciso di installarlo e provare a cimentarmi anche se non sono esperto. E' andato tutto bene e sono soddisfattissimo dell'ambiente, ma da quando ho provato a fare l'aggiornamento di open office non solo non mi è riuscito dandomi un errore ma l'"ubuntu software center" non si apre più.
potete aiutarmi per favore? Grazie.
ps:provando ad aprire da terminale mi da:

kessaale@alex:~$ /usr/bin/software-center
Traceback (most recent call last):
 File "/usr/share/software-center/softwarecenter/apt/aptcache.py", line 105, in open
   self._cache = apt.Cache(GtkMainIterationProgress())
 File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
   self.open(progress)
 File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 130, in open
   self._list.read_main_list()
SystemError: E:La riga 62 nel file /etc/apt/sources.list non è corretta (dist)
Traceback (most recent call last):
 File "/usr/bin/software-center", line 90, in
   app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
 File "/usr/share/software-center/softwarecenter/app.py", line 312, in __init__
   self.view_switcher = ViewSwitcher(self.view_manager, datadir, self.db, self.cache, self.icons)
 File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 59, in __init__
   store = ViewSwitcherList(view_manager, datadir, db, cache, icons)
 File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 321, in __init__
   self._update_channel_list()
 File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 399, in _update_channel_list
   self._update_channel_list_installed_view()
 File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 452, in _update_channel_list_installed_view
   if (pkgname in self.cache and
 File "/usr/share/software-center/softwarecenter/apt/aptcache.py", line 128, in __contains__
   return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
kessaale@alex:~$
Ultima modifica di kessaale il venerdì 15 aprile 2011, 22:19, modificato 1 volta in totale.
Avatar utente
robytrevi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 10901
Iscrizione: lunedì 10 marzo 2008, 14:12
Desktop: mate
Distribuzione: Xenial 32 bit
Località: Modena(provincia)

Re: [Install] non si apre più "ubuntu software center"

Messaggio da robytrevi »

Ciao.
Non è un blog ma un forum  :P
Apri un terminale e dai i comandi

Codice: Seleziona tutto

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d/
sudo apt-get update
sudo apt-get upgrade
e posta le risposte che ti vengono date utilizzando il tag code, icona del cancelletto # che trovi sopra alle faccine quando scrivi un post.
Ubuntu 16.04 (Mate), Arch (Gnome-shell), Fedora21(gnome-shell), Debian Jessie(openbox), Windows 7 ; Dell Inspiron 1501; AMD Turion 64x2; ATI XPress 1100 (vista come Radeon Xpress 200M)
Quando si richiede supporto postare il comando "lsb_release -ds && echo $DESKTOP_SESSION && uname -m"
kessaale
Prode Principiante
Messaggi: 30
Iscrizione: venerdì 15 aprile 2011, 16:17

scusami...un forum. sono proprio un neofita!!!

Messaggio da kessaale »

Codice: Seleziona tutto

cat /etc/apt/sources.list
E: Operazione upgradecat non valida
kessaale@alex:~$ ls /etc/apt/sources.list.d/
canonical-partner-maverick.list  google-chrome.list
kessaale@alex:~$ sudo apt-get update
E: La riga 62 nel file /etc/apt/sources.list non è corretta (dist)
E: Impossibile leggere l'elenco dei sorgenti.
kessaale@alex:~$ sudo apt-get upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
kessaale@alex:~$ 






Avatar utente
robytrevi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 10901
Iscrizione: lunedì 10 marzo 2008, 14:12
Desktop: mate
Distribuzione: Xenial 32 bit
Località: Modena(provincia)

Re: [Install] non si apre più "ubuntu software center"

Messaggio da robytrevi »

C'è un errore nel sources.list, però non hai dato bene i comandi suggeriti.
Fai così, dai da terminale:

Codice: Seleziona tutto

gedit /etc/apt/sources.list
copia il contenuto del file che ti si apre ed incollalo qui, sempre usando il tag code.
Ubuntu 16.04 (Mate), Arch (Gnome-shell), Fedora21(gnome-shell), Debian Jessie(openbox), Windows 7 ; Dell Inspiron 1501; AMD Turion 64x2; ATI XPress 1100 (vista come Radeon Xpress 200M)
Quando si richiede supporto postare il comando "lsb_release -ds && echo $DESKTOP_SESSION && uname -m"
kessaale
Prode Principiante
Messaggi: 30
Iscrizione: venerdì 15 aprile 2011, 16:17

Re: [Install] non si apre più "ubuntu software center"

Messaggio da kessaale »

grazie per la pazienza...ecco il file

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick 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/ maverick-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick 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 maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
# aMule Adunanza

deb http://amule-adunanza.marleylandia.com/debian/ramko-sonne/3.11b/etch/i386/

Avatar utente
robytrevi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 10901
Iscrizione: lunedì 10 marzo 2008, 14:12
Desktop: mate
Distribuzione: Xenial 32 bit
Località: Modena(provincia)

Re: [Install] non si apre più "ubuntu software center"

Messaggio da robytrevi »

Codice: Seleziona tutto

gksu gedit /etc/apt/sources.list
cancella l'ultima riga, questa:

Codice: Seleziona tutto

deb http://amule-adunanza.marleylandia.com/debian/ramko-sonne/3.11b/etch/i386/
salva ed esci.
Poi dai

Codice: Seleziona tutto

sudo apt-get update
quindi prova ad aprire ubuntu software center
Ubuntu 16.04 (Mate), Arch (Gnome-shell), Fedora21(gnome-shell), Debian Jessie(openbox), Windows 7 ; Dell Inspiron 1501; AMD Turion 64x2; ATI XPress 1100 (vista come Radeon Xpress 200M)
Quando si richiede supporto postare il comando "lsb_release -ds && echo $DESKTOP_SESSION && uname -m"
kessaale
Prode Principiante
Messaggi: 30
Iscrizione: venerdì 15 aprile 2011, 16:17

Re: [Install] non si apre più "ubuntu software center"

Messaggio da kessaale »

SIIIIIIIIIII funzionaaaaaa
GRAZIE sei un grande....ma perche è successo? in cosa ho sbagliato nell'installazione?
se volessi aggiornare OpenOffice o installare altri programmi, come mi devo comportare?
comunque grazie veramente...
Avatar utente
robytrevi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 10901
Iscrizione: lunedì 10 marzo 2008, 14:12
Desktop: mate
Distribuzione: Xenial 32 bit
Località: Modena(provincia)

Re: [Install] non si apre più "ubuntu software center"

Messaggio da robytrevi »

Hai aggiunto un repository sbagliato (la linea che hai cancellato).
Per installare programmi puoi farlo semplicemente da ubuntu software center.
Per aggiornare openoffice dovresti trovare il repository di openoffice ed aggiungerlo, però dalla prossima versione di ubuntu sarà preinstallato libreoffice (progetto staccatosi da openoffice). Per averlo vai in Applicazioni --> Ubuntu software center --> modifica --> Sorgenti software --> Altro software --> Aggiungi
e copia ed incolla nello spazio:

Codice: Seleziona tutto

ppa:libreoffice/ppa
Poi chiudi dopo qualche secondo cerca libreoffice in ubuntu software center.

Modifica il titolo al primo post del topic aggiungendo [Risolto]
Ubuntu 16.04 (Mate), Arch (Gnome-shell), Fedora21(gnome-shell), Debian Jessie(openbox), Windows 7 ; Dell Inspiron 1501; AMD Turion 64x2; ATI XPress 1100 (vista come Radeon Xpress 200M)
Quando si richiede supporto postare il comando "lsb_release -ds && echo $DESKTOP_SESSION && uname -m"
Scrivi risposta

Ritorna a “Personalizzazione dell'ambiente desktop”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti