imam veliki problem, nikako nemogu upaliti software center, nikako, samo se ucitava i onda nestane iz taskbara... i da kliknem 50 puta nista, problem traje vec 3 dana, ali sam dobio crveni pa tek sad javljam...
imam veliki problem, nikako nemogu upaliti software center, nikako, samo se ucitava i onda nestane iz taskbara... i da kliknem 50 puta nista, problem traje vec 3 dana, ali sam dobio crveni pa tek sad javljam...
Pokreni ga iz terminala pa kopiraj output.
software-center
sudo apt-get update
ili klikanje po GUIu.
evo c/p sta je reko
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:Type 'wget' is not known on line 62 in source list /etc/apt/sources.list
2011-01-24 22:37:33,782 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/view/widgets/mkit_themes.py', 675, 'retrieve')'
2011-01-24 22:37:33,781 - root - WARNING - No styling hints for Mac4Lin_GTK_Graphite_v1.0 were found... using Human hints.
Traceback (most recent call last):
File "/usr/bin/software-center", line 90, in <module>
app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
File "/usr/share/software-center/softwarecenter/app.py", line 316, 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__'
Katastrofa. Ovo bi ti normalan output trebal biti:
/usr/share/software-center/softwarecenter/apt/aptcache.py:38: GtkWarning: gtk_container_add: assertion `GTK_IS_CONTAINER (container)' failed
gtk.main_iteration()
Jel možeš koristiti apt-get i aptitude?
Probaj sudo apt-get update, a onda instalirat neki program mali, npr. sudo apt-get install bsdgames
Idi u synaptic pa ga obriši i onda ponovno instaliraj i onda probaj.
Očito je tu problem, jer ista je linija i u gornjem outputu bila. Kopiraj sources.list ovdje da vidimo.
sudo gedit /etc/apt/sources.list
to piši u konzolu.
# 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://us.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://us.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://us.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick universe
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://us.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://us.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://us.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://us.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://us.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
## 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 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
deb http://packages.enlightenment.org/ubuntu jaunty main extras
wget http://packages.enlightenment.org/repo.key -O - | sudo apt-key add -
Koji je to Ubuntu?
idalje nece...
isto, idalje nece...
Ako je Maverick u pitanju nije mi jasno čemu ove dvije linije:
deb http://packages.enlightenment.org/ubuntu jaunty main extras
wget http://packages.enlightenment.org/repo.key -O - | sudo apt-key add -
Ajde, briši to, spremi i onda sudo apt-get update
I ak se smije znat kaj je ovo:
http://repository.mein-neues-blog.de:9000/
Ne izgleda mi simpatično...
- ubaci CD i kreni od nule... defaultne postavke (jezik po izboru) i OS mora raditi, ovak je pitanje što si ... (ili što nisi) 'popravio'.
E sry, al savjet ti je ono... Neki trivijalan problem, a ti odma mijenjat distru... Sry, ali LOL.
Znam tu stvar, nešto slično sam i ja postavio u temu, samo je moje bilo Zemlja u realnom vremenu, ali day/night izmjena. Može bit da je bugovito ne znam.
Nego, izbriši ti lijepo ove dvije linije jer su nepotrebne i ti repozitoriji su outdated:
deb http://packages.enlightenment.org/ubuntu jaunty main extras
wget http://packages.enlightenment.org/repo.key -O - | sudo apt-key add -
Spremi i pokreni sudo apt-get update
Reci jel i onda javlja kakvu grešku.
mislim da je javio gresku, ali sad mi radi center
W: Duplicate sources.list entry http://repository.mein-neues-blog.de/ Packages (/var/lib/apt/lists/repository.mein-neues-blog.de:9000_Packages)
W: You may want to run apt-get update to correct these problems
mislim da je javio gresku, ali sad mi radi center
W: Duplicate sources.list entry http://repository.mein-neues-blog.de/ Packages (/var/lib/apt/lists/repository.mein-neues-blog.de:9000_Packages)
W: You may want to run apt-get update to correct these problems
To nije greška, to je samo warning (vidiš da piše W: <tekst>, ako piše E: <tekst>, to je greška (error)). To je zato što su ti ta zadnja dva entry-a ista. Jedan možeš obrisati. Eto, riješili smo i taj problem.
Molim i drugi put ;)
(gk)sudo software-centar
i radit će