私はちょうどUbuntu 15.10をインストールしました(Linuxの一般的な初心者、btw)。ソフトウェアセンターとubuntuアップデータアプリケーションは、開いた直後に閉じるようです。端末は、ソフトウェアセンターの起動に対して次の反応を思い付きました。
2015-12-06 19:55:36,309 - softwarecenter.backend.zeitgeist_logger - WARNING - Support for Zeitgeist disabled
2015-12-06 19:55:36,358 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2015-12-06 19:55:36,361 - softwarecenter.db.database - ERROR - failed to add apt-xapian-index
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/db/database.py", line 194, in _get_new_xapiandb
softwarecenter.paths.APT_XAPIAN_INDEX_DB_PATH)
File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3667, in __init__
_xapian.Database_swiginit(self,_xapian.new_Database(*args))
DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No such file or directory)
2015-12-06 19:55:36,837 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2015-12-06 19:55:36,840 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2015-12-06 19:55:36,878 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 261, in open
self._cache = apt.Cache(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 113, in __init__
self.open(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 168, in open
self._list.read_main_list()
SystemError: E:Type 'Sudo' is not known on line 1 in source list /etc/apt/sources.list.d/spotify.list
/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py:190: Warning: Source ID 70 was not found when attempting to remove it
Gtk.main_iteration()
2015-12-06 19:55:37,523 - softwarecenter.db.enquire - ERROR - _get_estimate_nr_apps_and_nr_pkgs failed
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/db/enquire.py", line 115, in _get_estimate_nr_apps_and_nr_pkgs
tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)
File "/usr/share/software-center/softwarecenter/db/appfilter.py", line 89, in __call__
if (not pkgname in self.cache and
File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 281, in __contains__
return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
Traceback (most recent call last):
File "/usr/bin/software-center", line 183, in <module>
app.run(args)
File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1378, in run
self.show_available_packages(args)
File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1316, in show_available_packages
self.view_manager.set_active_view(ViewPages.AVAILABLE)
File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 150, in set_active_view
view_widget.init_view()
File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 227, in init_view
self.cache, self.db, self.icons, self.apps_filter)
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 80, in __init__
self.build()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 326, in build
self._build_homepage_view()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 121, in _build_homepage_view
self._append_whats_new()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 255, in _append_whats_new
whats_new_cat = self._update_whats_new_content()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py", line 240, in _update_whats_new_content
docs = whats_new_cat.get_documents(self.db)
File "/usr/share/software-center/softwarecenter/db/categories.py", line 131, in get_documents
nonblocking_load=False)
File "/usr/share/software-center/softwarecenter/db/enquire.py", line 330, in set_query
self._blocking_perform_search()
File "/usr/share/software-center/softwarecenter/db/enquire.py", line 225, in _blocking_perform_search
matches = enquire.get_mset(0, self.limit, None, xfilter)
File "/usr/share/software-center/softwarecenter/db/appfilter.py", line 89, in __call__
if (not pkgname in self.cache and
File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 281, in __contains__
return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
これは私のような人にとっては情報が多すぎます。誰かが私のマシンに何が起こっているのかを解釈してもらえますか?
PS:ソフトウェアアップデーターを開く前に、spotifyソフトウェアをダウンロードしようとしていました。それは失敗し、理由はわかりません。多分それはあなたが見るものに役割を果たす...
ありがとう!カイザー
次のようなコマンドを使用して、/etc/apt/sources.list.d/spotify.list
でファイルを開きます。
gksudo gedit /etc/apt/sources.list.d/spotify.list
ファイル内の現在の行(少なくともSudoで始まる行)をクリアします。
これを追加:
deb http://repository.spotify.com stable non-free
実行(これはspotifyソフトウェアソースを信頼します):
Sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
次に実行します(これにより、使用可能なソフトウェアのリストが更新されます)。
Sudo apt-get update
最後に、実行します(コマンドラインを使用してspotifyをインストールします。この時点で、これも実行できるソフトウェアセンターが必要だと思います)。
Sudo apt-get install spotify-client