[problem help] 升级sqlite3的版本到最新版本后,应用商店打不开
Tofloor
poster avatar
Echo
deepin
2024-03-17 17:50
Author

由于在开发python时候,由于需要依赖sqlite3 3.45以上版本。所以对系统sqlite3进行了卸载,然后升级到最新版本

  1. 先通过apt-get remove先卸载了系统自带的sqlite3
  2. 从sqlite3下载tar包,进行make/make install。

之后,系统自带的应用商店无法打开;

运行/usr/bin/deepin-home-appstore-client命令,有如下报错:

/usr/bin/deepin-home-appstore-client: symbol lookup error: /sr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers/libqsqlite.so: undefined symbol: sqlite3_column_table_name16

有没有人指导怎么解决?

Reply Favorite View the author
All Replies
Echo
deepin
2024-03-17 18:02
#1

还有如下的warnin信息

2024-03-17, 17:59:50.478 [Debug] [dconfig_watcher.cpp DConfigWatcher::addDConfig 41] bool DConfigWatcher::addDConfig(QString, const QString&, const QString&) "DConfig is watched: appId = deepin-app-store, name = com.deepin.app-store, subpath = " "DBusBackend"
2024-03-17, 17:59:50.514 [Debug] [ ] load translate "/usr/share/dtk5/DWidget/translations/dtkwidget_zh_CN"
2024-03-17, 17:59:50.515 [Debug] [ ] load translate "/usr/share/deepin-home-appstore-client/translations/deepin-home-appstore-client_zh_CN"
**2024-03-17, 17:59:50.551 [Warning] [ ] DGuiApplicationHelper: Don't use QGuiApplication::setPalette on DTK application.
2024-03-17, 17:59:50.555 [Warning] [ ] Can't acquire config manager. error:"Can't load resource. expecting path:/deepin_app_store/org_deepin_dtk_ui_preference."
2024-03-17, 17:59:50.555 [Warning] [ ] DConfig is invalid of appid=deepin-app-store name=org.deepin.dtk.ui.preference, subpath=**

Reply View the author
neko
deepin
Ecological co-builder
2024-03-17 19:03
#2

sudo apt reinstall sqlite3重装

Reply View the author
忘记、过去
deepin
2024-03-18 01:08
#3
sudo apt reinstall libsqlite3-0

需要高版本 sqlite3 建议使用 docker 等方式隔离环境,否则影响所有系统应用(商店、日历、影院、看图等,凡是使用了 sqlite 数据库的应用都将受影响)

Reply View the author