Solution to solve problem that Deepin Store can not work
Tofloor
poster avatar
cxbii
deepin
2015-01-06 23:18
Author
Hello Everyone,

Currently, we have received feedback from users that Deepin Store can not be opened. This problem is likely to be mirror station fault. We have begun to detect mirror stations and will solve asap.

If you can not open Deepin store, please use he following steps to fix, thank you! Execute the following command in terminal (please input the account password and enter, factly nothing input):
  1. sudo gedit /etc/apt/sources.list
Copy the Code
And then put the following contents to /etc/apt/sources.list file and exit after saved.
  1. # This file was created by deepin software center, please do not modify manually!
  2. deb http://packages.linuxdeepin.com/ubuntu trusty main restricted universe multiverse
  3. deb http://packages.linuxdeepin.com/ubuntu trusty-security main restricted universe multiverse
  4. deb http://packages.linuxdeepin.com/ubuntu trusty-updates main restricted universe multiverse
  5. # deb http://packages.linuxdeepin.com/ubuntu trusty-proposed main restricted universe multiverse
  6. # deb http://packages.linuxdeepin.com/ubuntu trusty-backports main restricted universe multiverse
  7. deb-src http://packages.linuxdeepin.com/ubuntu trusty main restricted universe multiverse
  8. deb-src http://packages.linuxdeepin.com/ubuntu trusty-security main restricted universe multiverse
  9. deb-src http://packages.linuxdeepin.com/ubuntu trusty-updates main restricted universe multiverse
  10. # deb-src http://packages.linuxdeepin.com/ubuntu trusty-proposed main restricted universe multiverse
  11. # deb-src http://packages.linuxdeepin.com/ubuntu trusty-backports main restricted universe multiverse
  12. deb http://packages.linuxdeepin.com/deepin trusty main universe non-free
  13. deb-src http://packages.linuxdeepin.com/deepin trusty main universe non-free
  14. #deb http://packages.linuxdeepin.com/deepin trusty-updates main universe non-free
  15. #deb-src http://packages.linuxdeepin.com/deepin trusty-updates main universe non-free
Copy the Code

Please execute the following command in terminal (if you need to input password, please input and enter, factly nothing input):
  1. sudo apt-get clean && sudo apt-get update &&  sudo apt-get --reinstall install deepin-software-center deepin-software-center-data -y
Copy the Code

This command will clear all local cache downloaded by apt, reinstall Deepin Store after  refreshed the package information. Please manually open Deepin Store to check whether this problem is solved, if not, please execute the following command in terminal:
  1. deepin-software-center
Copy the Code

Then report the terminal output information here
Thanks very much.
Reply Favorite View the author
All Replies
Gourji
deepin
2015-01-07 04:16
#1
i did every step but ....... not working

Setting up deepin-software-center (3.0.1+20141230145806~1b8eaffe29) ...
➜  ~          deepin-software-center

[INFO][software_center.DeepinSoftwareCenter:83] Init ui
[INFO][software_center.DeepinSoftwareCenter:83] Init data manager
Traceback (most recent call last):
  File "/usr/bin/deepin-software-center", line 83, in
    start_main()
  File "/usr/bin/deepin-software-center", line 63, in start_main
    software_center.run()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 1134, in run
    self.ready_show()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 879, in ready_show
    self.init_ui()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 836, in init_ui
    self.init_home_page()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 930, in init_home_page
    self.data_manager = DataManager(self.bus_interface, debug_flag)
  File "/usr/share/deepin-software-center/ui/data_manager.py", line 66, in __init__
    self.default_lang_obj = SoftwareLanguage.select().where(SoftwareLanguage.language_code=="en_US").get()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2044, in get
    return clone.execute().next()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2083, in execute     return self.database.execute_sql(sql, params, self.require_commit)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2364, in execute_sql
    self.commit()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2234, in __exit__
    reraise(new_type, new_type(*exc_value.args), traceback)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2354, in execute_sql
    cursor = self.get_cursor()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2320, in get_cursor
    return self.get_conn().cursor()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2313, in get_conn
    self.connect()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2300, in connect
    self.__local.closed = False
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2234, in __exit__
    reraise(new_type, new_type(*exc_value.args), traceback)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2299, in connect
    **self.connect_kwargs)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2470, in _connect
    conn = sqlite3.connect(database, **kwargs)
peewee.OperationalError: unable to open database file
➜  ~
Reply View the author
riquelme
deepin
2015-01-07 06:15
#2
➜  ~          deepin-software-center

[INFO][software_center.DeepinSoftwareCenter:83] Init ui
[INFO][software_center.DeepinSoftwareCenter:83] Init data manager
Traceback (most recent call last):
  File "/usr/bin/deepin-software-center", line 83, in
    start_main()
  File "/usr/bin/deepin-software-center", line 63, in start_main
    software_center.run()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 1134, in run
    self.ready_show()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 879, in ready_show
    self.init_ui()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 836, in init_ui
    self.init_home_page()
  File "/usr/share/deepin-software-center/ui/software_center.py", line 930, in init_home_page
    self.data_manager = DataManager(self.bus_interface, debug_flag)
  File "/usr/share/deepin-software-center/ui/data_manager.py", line 66, in __init__
    self.default_lang_obj = SoftwareLanguage.select().where(SoftwareLanguage.language_code=="en_US").get()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2044, in get
    return clone.execute().next()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2083, in execute     return self.database.execute_sql(sql, params, self.require_commit)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2364, in execute_sql
    self.commit()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2234, in __exit__
    reraise(new_type, new_type(*exc_value.args), traceback)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2354, in execute_sql
    cursor = self.get_cursor()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2320, in get_cursor
    return self.get_conn().cursor()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2313, in get_conn
    self.connect()
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2300, in connect
    self.__local.closed = False
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2234, in __exit__
    reraise(new_type, new_type(*exc_value.args), traceback)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2299, in connect
    **self.connect_kwargs)
  File "/usr/share/deepin-software-center/ui/peewee.py", line 2470, in _connect
    conn = sqlite3.connect(database, **kwargs)
peewee.OperationalError: unable to open database file
Reply View the author
deepin
2015-01-07 18:47
#3
Please try to execute the command in terminal:
  1. sudo rm -r /tmp/deepin-software-center; sudo rm /usr/share/deepin-software-center/data/data_newest_id.ini; sudo apt-get install --reinstall deepin-software-center-data
Copy the Code
Reply View the author
Gourji
deepin
2015-01-07 23:48
#4
it's working thanx
Reply View the author
riquelme
deepin
2015-01-08 05:35
#5
ty its working now!!.
Reply View the author
andredato
deepin
2015-01-08 08:25
#6
it works when i execute  "sudo rm -r /tmp/deepin-software-center; sudo rm /usr/share/deepin-software-center/data/data_newest_id.ini; sudo apt-get install --reinstall deepin-software-center-data" ,but everytime i reboot my computer, it stops again.
Reply View the author
samidr8
deepin
2015-01-08 09:50
#7
Con el comando:
  1. sudo rm -r /tmp/deepin-software-center; sudo rm /usr/share/deepin-software-center/data/data_newest_id.ini; sudo apt-get install --reinstall deepin-software-center-data
Copy the Code

El problema se soluciona temporalmente, luego al reiniciar la laptop la "Deepin Store" deja de funcionar.
Reply View the author
llq520
deepin
2015-01-09 02:02
#8
Con el comando:
  1. sudo rm -r /tmp/deepin-software-center; sudo rm /usr/share/deepin-software-center/data/data_newest_id.ini; sudo apt-get install --reinstall deepin-software-center-data
Copy the Code

El problema se soluciona temporalmente, luego al reiniciar la laptop la "Deepin Store" deja de funcionar.

you rebooted and store crash?? can u upload capture png ?
Reply View the author