انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


توزیع گنو/لینوکس اوبونتو ۲۰ ساله شد 🎉

نویسنده موضوع: باز نشدن software center و synaptic و apt و بر هم خوردن پیکربندی آنها (حل شد)  (دفعات بازدید: 1041 بار)

0 کاربر و 3 مهمان درحال مشاهده موضوع.

آفلاین dr.b4ne

  • Sr. Member
  • *
  • ارسال: 265
  • جنسیت : پسر
 ;D ;D ;D ;D ;D ;D ;D
یه سوتی دادم الان نیم ساعته دارم میخندم ، نیاز به کمک شما دوستان دارم

software center بالا نمی اومد رفتم پوشه Home بعد پوشه .cache بعد میخواستم برم تو پوشه software center که ببینم چی شده ؟ حواسم نبود اشتباهی به جای یه فایل دیگه shift+delete ش کردم !!!

 ;D ;D ;D ;D ;D ;D ;D

حالا دیگه synaptic , software center , apt-get هیچ کدوم کار نمیکنن . . . تنها ابزارم مرورگرمه الان
 ;D ;D ;D ;D ;D ;D ;D
تو رو خدا کمکم کنید

کارم از گریه گذشته است بدان میخندم . . .
« آخرین ویرایش: 14 اردیبهشت 1392، 04:47 ب‌ظ توسط dr.b4ne »

آفلاین سلمان م.

  • ناظر انجمن
  • *
  • ارسال: 4106
  • جنسیت : پسر
  • GNU Operating System - سیستم عامل گنو
وقتی توی ترمینال دستور apt-get رو می‌زنید چه پیغامی می‌ده؟

آفلاین dr.b4ne

  • Sr. Member
  • *
  • ارسال: 265
  • جنسیت : پسر
وقتی توی ترمینال دستور apt-get رو می‌زنید چه پیغامی می‌ده؟


sudo apt-get install software-center
Reading package lists... Done
Building dependency tree       
Reading state information... Done
software-center is already the newest version.
The following packages were automatically installed and are no longer required:
... jsvc...
.
.
.
...ge-indicator...
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


انگار apt-get داره کار میکنه ! software-center هم که نصبه !!‌اما وقتی میخام software-center رو باز کنم اتوماتیک بسته میشه

وقتی هم میخام با command تو ترمینال بازش کنم مینویسه :


dr_b4ne@Laptop:~$ software-center
2013-05-04 15:29:48,443 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-05-04 15:29:48,446 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-05-04 15:29:48,699 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-05-04 15:29:48,800 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2013-05-04 15:29:48,815 - 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 243, in open
    self._cache = apt.Cache(GtkMainIterationProgress())
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
    self._list.read_main_list()
SystemError: E:Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/pydave-unity-lenses-precise.list
2013-05-04 15:29:50,086 - 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 263, 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 176, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1422, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1352, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 154, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 171, in init_view
    self.apps_filter)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/catview_gtk.py", line 238, in __init__
    self.build(desktopdir)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/catview_gtk.py", line 511, in build
    self._build_homepage_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/catview_gtk.py", line 271, in _build_homepage_view
    self._append_whats_new()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/catview_gtk.py", line 450, in _append_whats_new
    whats_new_cat = self._update_whats_new_content()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/catview_gtk.py", line 439, in _update_whats_new_content
    docs = whats_new_cat.get_documents(self.db)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 124, in get_documents
    nonblocking_load=False)
  File "/usr/share/software-center/softwarecenter/db/enquire.py", line 317, in set_query
    self._blocking_perform_search()
  File "/usr/share/software-center/softwarecenter/db/enquire.py", line 212, 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 263, in __contains__
    return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'

[code/]
« آخرین ویرایش: 14 اردیبهشت 1392، 03:30 ب‌ظ توسط dr.b4ne »

آفلاین سالار مقدم

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 2074
  • جنسیت : پسر
  • هر چقدر بدونی بازم کمه.
    • سالار مقدم
sudo apt-get purge software-center
sudo apt-get install software-center

آفلاین dr.b4ne

  • Sr. Member
  • *
  • ارسال: 265
  • جنسیت : پسر
سالار جان عزیز ، سپاس از توجهت نتونست دستورات شما رو درست انجام بده ، پاک کردن فایل های پیکر بندی و نصب مجدد رو درست انجام نداد

خروجی دستور اول این بود


dr_b4ne@Laptop:~$ sudo apt-get purge software-center
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgnome-keyring-dev libmono-data-tds2.0-cil libkresources4 libgtk2.0-cil-dev libqrencode3 jsvc libguess1 libkldap4 libmono-npgsql2.0-cil libmono-sqlite4.0-cil ttf-umefont
  libndesk-dbus1.0-cil libmono-system-web-services4.0-cil libmono-addins-gui0.2-cil python-geoip libfbclient2 libkvkontakte1 libboost-filesystem1.46.1 libmono-management4.0-cil
  libglade2.0-cil-dev libksane0 liboro-java libmono-system-data-services-client4.0-cil libmono-peapi2.0-cil libntfs10 libunique-1.0-0 libmono-compilerservices-symbolwriter4.0-cil libkcalcore4
  libmono-simd2.0-cil libmono-windowsbase3.0-cil kde-baseapps-bin libmono-system-net4.0-cil libprison0 libopencv-legacy2.3 enblend tumbler libmono-system-web-routing4.0-cil libkholidays4
  libgconf2-dev libtumbler-1-0 libmono-cscompmgd8.0-cil libopencv-imgproc2.3 libmono-http4.0-cil libmono-sqlite2.0-cil dconf-gsettings-backend:i386 libgconf2-doc libindicate-qt1
  libwnck2.20-cil libkexiv2-data libmono-custommarshalers4.0-cil libxfce4ui-1-0 libmono-management2.0-cil libmono-web4.0-cil libmono-system-identitymodel-selectors4.0-cil
  libmono-debugger-soft4.0-cil libmono-system-dynamic4.0-cil libotr2 enfuse libmono-microsoft-build-tasks-v4.0-4.0-cil libmono-system-windows-forms4.0-cil
  libmono-system-runtime-serialization4.0-cil libgdata1.9-cil libmono-system-identitymodel4.0-cil libopencv-objdetect2.3 libopencv-calib3d2.3 libmono-system-transactions4.0-cil
  libglib2.0-cil-dev libglew1.5 libmono-sharpzip4.84-cil libxfconf-0-2 libmono-system-messaging4.0-cil libmono-system-servicemodel-routing4.0-cil libmono-system-serviceprocess4.0-cil
  xfce4-panel libboost-system1.46.1 libmono-cairo2.0-cil libmarblewidget13 libmono-microsoft-csharp4.0-cil libopencv-features2d2.3 language-pack-kde-zh-hans-base libmono-debugger-soft2.0-cil
  libplot2c2 libndesk-dbus-glib1.0-cil valac-0.14 libmono-system-data-services4.0-cil libmono-system-web-extensions-design4.0-cil libboost-signals1.46.1
  libmono-microsoft-build-framework4.0-cil xclip libakonadi-kmime4 libgps20 libakonadiprotocolinternals1 libmono-microsoft-build-engine4.0-cil libmono-system-runtime4.0-cil libmono-c5-1.1-cil
  libboost-program-options1.46.1 libbs2b0 libmono-system-web-extensions4.0-cil libexplain30 libcapi20-3 libmono-system-messaging2.0-cil libstartup-notification0:i386
  libmono-system-xaml4.0-cil libpano13-bin xfce-keyboard-shortcuts libopencv-video2.3 libgtkhotkey1 libxmuu1:i386 audacious-plugins libmono-codecontracts4.0-cil libmono-addins0.2-cil
  firefox-locale-zh-hans libgadu3 libmono-messaging4.0-cil libkdcraw-data libmono-rabbitmq4.0-cil libkmbox4 mono-csharp-shell marble-plugins libopencv-core2.3 libpcrecpp0 unixodbc
  libnunit2.5-cil libportaudio2:i386 libsexy2 libqjson0 libkcalutils4 libmono-system-data-linq4.0-cil libcue1 libmono-system-data4.0-cil libgconf2-4:i386 libmicroblog4
  libmono-system-ldap4.0-cil libbinio1ldbl libvala-0.14-0 hugin-data psensor-common libqgpgme1 libmono-messaging2.0-cil libmono-rabbitmq2.0-cil libopencv-flann2.3
  libmono-system-windows-forms-datavisualization4.0-cil libmono-system-web-applicationservices4.0-cil libgnome-desktop-2-17 libmono-ldap4.0-cil
  libmono-system-componentmodel-dataannotations4.0-cil libkabc4 libmono-messaging-rabbitmq4.0-cil audacious-plugins-data libmono-system-enterpriseservices4.0-cil libaudclient2
  libmono-system-drawing-design4.0-cil hugin tumbler-common libmono-db2-1.0-cil libmono-opensystem-c4.0-cil libmono-system-data2.0-cil libqimageblitz4 libgif4:i386 libdebconf-kde0
  libgtk-3-0:i386 libmono-windowsbase4.0-cil libmono-system-ldap2.0-cil kde-baseapps-data libmono-microsoft-web-infrastructure1.0-cil libgnomedesktop2.20-cil libmono-sharpzip2.6-cil
  libdrm-nouveau1a:i386 libmono-ldap2.0-cil libmono-messaging-rabbitmq2.0-cil libmono-system-servicemodel-discovery4.0-cil libmono-system-web-dynamicdata4.0-cil libmono-relaxng4.0-cil
  libwebkit1.1-cil python-socksipy libglib2.0-dev libkcal4 libmono-system-componentmodel-composition4.0-cil libpam-cap:i386 zlib1g-dev libmono-microsoft-build-utilities-v4.0-4.0-cil hddtemp
  libkalarmcal2 streamer libakonadi-calendar4 libboost-thread1.46.1 libmono-system-runtime-serialization-formatters-soap4.0-cil language-pack-kde-en libpano13-2 xawtv-plugins
  libmono-system-design4.0-cil firebird2.5-common libflickrnet2.2-cil libmono-webbrowser4.0-cil libafrodite-0.12-2 libkimap4 libmono-sharpzip2.84-cil gstreamer0.10-gnomevfs libmowgli2
  kde-l10n-engb rpm libmono-webmatrix-data4.0-cil librpmbuild2 launchpad-getkeys libkexiv2-10 libmono-system-web4.0-cil libmono-relaxng2.0-cil libmailtransport4
  libmono-system-data-datasetextensions4.0-cil libdconf0:i386 libmysql6.4-cil libmono-accessibility4.0-cil libcommons-daemon-java libmono-system-servicemodel-web4.0-cil libkworkspace4abi1 yad
  libmono-system-runtime-durableinstancing4.0-cil libjpeg62 libkpimtextedit4 libgarcon-1-0 libmono-cecil-private-cil libjs-xmlextras libaudcore1 libmono-system-configuration-install4.0-cil
  libkmime4 gtk2-engines-pixbuf libmono-tasklets4.0-cil language-pack-zh-hans-base libmono-webbrowser2.0-cil libmono-system-numerics4.0-cil libmono-microsoft8.0-cil libncp
  libmono-csharp4.0-cil kdepimlibs-kio-plugins libksane-data ttf-unfonts-core libmpg123-0 libmono-accessibility2.0-cil libmono-system-servicemodel4.0-cil gpsd libakonadi-kabc4 libpq5
  libmono-microsoft-visualc10.0-cil libgsoap1 libgnome-keyring1.0-cil mono-dmcs libpcre3-dev libmono-system-web-abstractions4.0-cil libmono-system-runtime-caching4.0-cil liferea-data
  libkdcraw20 librpmsign0 libmono-oracle4.0-cil libmono-tasklets2.0-cil libmono-2.0-dev libkpimidentities4 libkpimutils4 kde-l10n-zhcn language-pack-zh-hans language-pack-kde-zh-hans
  firebird2.5-common-doc xfconf libmono-system-management4.0-cil libodbc1 libkgeomap-data libdbus-1-dev fonts-droid marble-data libkgeomap1 libktorrent3 language-pack-kde-en-base
  libmono-system-xml-linq4.0-cil pastebinit libmono-data-tds4.0-cil libpam-gnome-keyring:i386 libboost-regex1.46.1 libmono-oracle2.0-cil ppa-purge libakonadi-kcal4 libopencv-highgui2.3
  libxcb-util0:i386 libakonadi-notes4 libmono-npgsql4.0-cil libmsn0.3 libnunit-cil-dev libakonadi-contact4 libakonadi-kde4 libzthread-2.3-2 ttf-droid libmono-peapi4.0-cil libgpgme++2
  libstartup-notification0-dev libllvm3.0:i386 hugin-tools libgtkhtml2-0 libdmtx0a libmono-simd4.0-cil libmono-2.0-1 plasma-widget-message-indicator
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  software-center*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 4,358 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 333723 files and directories currently installed.)
Removing software-center ...
Purging configuration files for software-center ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/pydave-unity-lenses-precise.list
E: The list of sources could not be read.


وخروجی دستور دوم این
sudo apt-get install software-center
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgnome-keyring-dev libmono-data-tds2.0-cil libkresources4 libgtk2.0-cil-dev libqrencode3 jsvc libguess1 libkldap4 libmono-npgsql2.0-cil libmono-sqlite4.0-cil ttf-umefont
  libndesk-dbus1.0-cil libmono-system-web-services4.0-cil libmono-addins-gui0.2-cil python-geoip libfbclient2 libkvkontakte1 libboost-filesystem1.46.1 libmono-management4.0-cil
  libglade2.0-cil-dev libksane0 liboro-java libmono-system-data-services-client4.0-cil libmono-peapi2.0-cil libntfs10 libunique-1.0-0 libmono-compilerservices-symbolwriter4.0-cil libkcalcore4
  libmono-simd2.0-cil libmono-windowsbase3.0-cil kde-baseapps-bin libmono-system-net4.0-cil libprison0 libopencv-legacy2.3 enblend tumbler libmono-system-web-routing4.0-cil libkholidays4
  libgconf2-dev libtumbler-1-0 libmono-cscompmgd8.0-cil libopencv-imgproc2.3 libmono-http4.0-cil libmono-sqlite2.0-cil dconf-gsettings-backend:i386 libgconf2-doc libindicate-qt1
  libwnck2.20-cil libkexiv2-data libmono-custommarshalers4.0-cil libxfce4ui-1-0 libmono-management2.0-cil libmono-web4.0-cil libmono-system-identitymodel-selectors4.0-cil
  libmono-debugger-soft4.0-cil libmono-system-dynamic4.0-cil libotr2 enfuse libmono-microsoft-build-tasks-v4.0-4.0-cil libmono-system-windows-forms4.0-cil
  libmono-system-runtime-serialization4.0-cil libgdata1.9-cil libmono-system-identitymodel4.0-cil libopencv-objdetect2.3 libopencv-calib3d2.3 libmono-system-transactions4.0-cil
  libglib2.0-cil-dev libglew1.5 libmono-sharpzip4.84-cil libxfconf-0-2 libmono-system-messaging4.0-cil libmono-system-servicemodel-routing4.0-cil libmono-system-serviceprocess4.0-cil
  xfce4-panel libboost-system1.46.1 libmono-cairo2.0-cil libmarblewidget13 libmono-microsoft-csharp4.0-cil libopencv-features2d2.3 language-pack-kde-zh-hans-base libmono-debugger-soft2.0-cil
  libplot2c2 libndesk-dbus-glib1.0-cil valac-0.14 libmono-system-data-services4.0-cil libmono-system-web-extensions-design4.0-cil libboost-signals1.46.1
  libmono-microsoft-build-framework4.0-cil xclip libakonadi-kmime4 libgps20 libakonadiprotocolinternals1 libmono-microsoft-build-engine4.0-cil libmono-system-runtime4.0-cil libmono-c5-1.1-cil
  libboost-program-options1.46.1 libbs2b0 libmono-system-web-extensions4.0-cil libexplain30 libcapi20-3 libmono-system-messaging2.0-cil libstartup-notification0:i386
  libmono-system-xaml4.0-cil libpano13-bin xfce-keyboard-shortcuts libopencv-video2.3 libgtkhotkey1 libxmuu1:i386 audacious-plugins libmono-codecontracts4.0-cil libmono-addins0.2-cil
  firefox-locale-zh-hans libgadu3 libmono-messaging4.0-cil libkdcraw-data libmono-rabbitmq4.0-cil libkmbox4 mono-csharp-shell marble-plugins libopencv-core2.3 libpcrecpp0 unixodbc
  libnunit2.5-cil libportaudio2:i386 libsexy2 libqjson0 libkcalutils4 libmono-system-data-linq4.0-cil libcue1 libmono-system-data4.0-cil libgconf2-4:i386 libmicroblog4
  libmono-system-ldap4.0-cil libbinio1ldbl libvala-0.14-0 hugin-data psensor-common libqgpgme1 libmono-messaging2.0-cil libmono-rabbitmq2.0-cil libopencv-flann2.3
  libmono-system-windows-forms-datavisualization4.0-cil libmono-system-web-applicationservices4.0-cil libgnome-desktop-2-17 libmono-ldap4.0-cil
  libmono-system-componentmodel-dataannotations4.0-cil libkabc4 libmono-messaging-rabbitmq4.0-cil audacious-plugins-data libmono-system-enterpriseservices4.0-cil libaudclient2
  libmono-system-drawing-design4.0-cil hugin tumbler-common libmono-db2-1.0-cil libmono-opensystem-c4.0-cil libmono-system-data2.0-cil libqimageblitz4 libgif4:i386 libdebconf-kde0
  libgtk-3-0:i386 libmono-windowsbase4.0-cil libmono-system-ldap2.0-cil kde-baseapps-data libmono-microsoft-web-infrastructure1.0-cil libgnomedesktop2.20-cil libmono-sharpzip2.6-cil
  libdrm-nouveau1a:i386 libmono-ldap2.0-cil libmono-messaging-rabbitmq2.0-cil libmono-system-servicemodel-discovery4.0-cil libmono-system-web-dynamicdata4.0-cil libmono-relaxng4.0-cil
  libwebkit1.1-cil python-socksipy libglib2.0-dev libkcal4 libmono-system-componentmodel-composition4.0-cil libpam-cap:i386 zlib1g-dev libmono-microsoft-build-utilities-v4.0-4.0-cil hddtemp
  libkalarmcal2 streamer libakonadi-calendar4 libboost-thread1.46.1 libmono-system-runtime-serialization-formatters-soap4.0-cil language-pack-kde-en libpano13-2 xawtv-plugins
  libmono-system-design4.0-cil firebird2.5-common libflickrnet2.2-cil libmono-webbrowser4.0-cil libafrodite-0.12-2 libkimap4 libmono-sharpzip2.84-cil gstreamer0.10-gnomevfs libmowgli2
  kde-l10n-engb rpm libmono-webmatrix-data4.0-cil librpmbuild2 launchpad-getkeys libkexiv2-10 libmono-system-web4.0-cil libmono-relaxng2.0-cil libmailtransport4
  libmono-system-data-datasetextensions4.0-cil libdconf0:i386 libmysql6.4-cil libmono-accessibility4.0-cil libcommons-daemon-java libmono-system-servicemodel-web4.0-cil libkworkspace4abi1 yad
  libmono-system-runtime-durableinstancing4.0-cil libjpeg62 libkpimtextedit4 libgarcon-1-0 libmono-cecil-private-cil libjs-xmlextras libaudcore1 libmono-system-configuration-install4.0-cil
  libkmime4 gtk2-engines-pixbuf libmono-tasklets4.0-cil language-pack-zh-hans-base libmono-webbrowser2.0-cil libmono-system-numerics4.0-cil libmono-microsoft8.0-cil libncp
  libmono-csharp4.0-cil kdepimlibs-kio-plugins libksane-data ttf-unfonts-core libmpg123-0 libmono-accessibility2.0-cil libmono-system-servicemodel4.0-cil gpsd libakonadi-kabc4 libpq5
  libmono-microsoft-visualc10.0-cil libgsoap1 libgnome-keyring1.0-cil mono-dmcs libpcre3-dev libmono-system-web-abstractions4.0-cil libmono-system-runtime-caching4.0-cil liferea-data
  libkdcraw20 librpmsign0 libmono-oracle4.0-cil libmono-tasklets2.0-cil libmono-2.0-dev libkpimidentities4 libkpimutils4 kde-l10n-zhcn language-pack-zh-hans language-pack-kde-zh-hans
  firebird2.5-common-doc xfconf libmono-system-management4.0-cil libodbc1 libkgeomap-data libdbus-1-dev fonts-droid marble-data libkgeomap1 libktorrent3 language-pack-kde-en-base
  libmono-system-xml-linq4.0-cil pastebinit libmono-data-tds4.0-cil libpam-gnome-keyring:i386 libboost-regex1.46.1 libmono-oracle2.0-cil ppa-purge libakonadi-kcal4 libopencv-highgui2.3
  libxcb-util0:i386 libakonadi-notes4 libmono-npgsql4.0-cil libmsn0.3 libnunit-cil-dev libakonadi-contact4 libakonadi-kde4 libzthread-2.3-2 ttf-droid libmono-peapi4.0-cil libgpgme++2
  libstartup-notification0-dev libllvm3.0:i386 hugin-tools libgtkhtml2-0 libdmtx0a libmono-simd4.0-cil libmono-2.0-1 plasma-widget-message-indicator
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  update-notifier
The following NEW packages will be installed:
  software-center update-notifier
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 681 kB of archives.
After this operation, 4,621 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ir.archive.ubuntu.com/ubuntu/ precise-updates/main software-center all 5.2.9 [624 kB]
Get:2 http://ir.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier amd64 0.119ubuntu8.6 [57.3 kB]                                                                                 
Fetched 681 kB in 27s (25.0 kB/s)                                                                                                                                                               
Selecting previously unselected package software-center.
(Reading database ... 333284 files and directories currently installed.)
Unpacking software-center (from .../software-center_5.2.9_all.deb) ...
Selecting previously unselected package update-notifier.
Unpacking update-notifier (from .../update-notifier_0.119ubuntu8.6_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for gconf2 ...
Processing triggers for libglib2.0-0:i386 ...
Processing triggers for libglib2.0-0 ...
Setting up software-center (5.2.9) ...
Updating software catalog...this may take a moment.
INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 169, in <module>
    result = rebuild_database(pathname)
  File "/usr/share/software-center/softwarecenter/db/update.py", line 1061, in rebuild_database
    cache.open()
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 243, in open
    self._cache = apt.Cache(GtkMainIterationProgress())
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
    self._list.read_main_list()
SystemError: E:Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/pydave-unity-lenses-precise.list
Setting up update-notifier (0.119ubuntu8.6) ...
E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/pydave-unity-lenses-precise.list
E: The list of sources could not be read.


آفلاین dr.b4ne

  • Sr. Member
  • *
  • ارسال: 265
  • جنسیت : پسر
خوب بعد از این کارا دیگه سافتور سنتر باز نمیشد قبلا باز میشد زود بسته میشد
و synaptic همچنان بسته بود
حالا دستور sudo gedit /etc/apt/sources.list.d/pydave-unity-lenses-precise.list رو زدم و خط سوم 'ain' رو پاک کردم این جوری synaptic باز میشه و software-center هم باز میشه اما دوباره زود بسته میشه

برای مشخص شدن جزئیات سعی کردم سافتور سنتر رو با ترمینال باز کنم که این شد dr_b4ne@Laptop:~$ software-center
2013-05-04 15:58:04,562 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-05-04 15:58:04,565 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-05-04 15:58:04,754 - softwarecenter.ui.gtk3.app - INFO - building local database
2013-05-04 15:58:04,754 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2013-05-04 15:58:05,254 - softwarecenter.db.update - WARNING - Problem creating rebuild path '/var/cache/software-center/xapian_rb'.
2013-05-04 15:58:05,255 - softwarecenter.db.update - WARNING - Please check you have the relevant permissions.
2013-05-04 15:58:05,255 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-05-04 15:58:05,527 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-05-04 15:58:05,624 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2013-05-04 15:58:05,629 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
  File "/usr/bin/software-center", line 176, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1422, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1352, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 154, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 136, in init_view
    SoftwarePane.init_view(self)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 215, in init_view
    self.icons, self.show_ratings)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appview.py", line 69, in __init__
    self.helper = AppPropertiesHelper(db, cache, icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 109, in __init__
    softwarecenter.paths.APP_INSTALL_PATH)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 255, in parse_applications_menu
    category = self._parse_menu_tag(child)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 444, in _parse_menu_tag
    query = self._parse_include_tag(element)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 402, in _parse_include_tag
    xapian.Query.OP_AND)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 341, in _parse_and_or_not_tag
    operator_elem, xapian.Query(), xapian.Query.OP_OR)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 385, in _parse_and_or_not_tag
    q = self.db.xapian_parser.parse_query(s,
  File "/usr/share/software-center/softwarecenter/db/database.py", line 174, in xapian_parser
    xapian_parser = self._get_new_xapian_parser()
  File "/usr/share/software-center/softwarecenter/db/database.py", line 200, in _get_new_xapian_parser
    xapian_parser.set_database(self.xapiandb)
  File "/usr/share/software-center/softwarecenter/db/database.py", line 166, in xapiandb
    self._db_per_thread[thread_name] = self._get_new_xapiandb()
  File "/usr/share/software-center/softwarecenter/db/database.py", line 179, in _get_new_xapiandb
    xapiandb = xapian.Database(self._db_pathname)
  File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3666, in __init__
    _xapian.Database_swiginit(self,_xapian.new_Database(*args))
xapian.DatabaseOpeningError: Couldn't detect type of database

بعد هم update , upgrade کردم اما همچنان software-center باز نمیشه
در حال حاظر apt و synaptic کار میکنن اما سافتر سنتر به محض باز شدن بسته میشه .
« آخرین ویرایش: 14 اردیبهشت 1392، 04:05 ب‌ظ توسط dr.b4ne »