linux-assistant icon indicating copy to clipboard operation
linux-assistant copied to clipboard

A error reporting during my use

Open guosijia opened this issue 5 years ago • 4 comments

Ubuntu 16.04系统,非root账号在root权限下,./assistant.sh报错:

"部分程序还需要一些附加操作才能安装成功,请阅读你的桌面上的【Ubuntu助手附加说明.txt】文件"

文件为空。Command line中的报错如下:

root@xxxxxxx:/home/guosijia/Downloads/linux-assistant# ./assistant.sh E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? COLUMNS=90; LINES=45; export COLUMNS LINES;

(zenity:2726): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(zenity:2726): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(zenity:2726): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

guosijia avatar Nov 14 '20 14:11 guosijia

你好,你出现的错误是apt被锁。是你的系统的apt的问题,不是Ubuntu助手的问题,因为Ubuntu助手使用了你的apt程序。请谷歌搜索E: Could not get lock /var/lib/dpkg查找修复方法。

borninfreedom avatar Nov 14 '20 16:11 borninfreedom

关于 文件是空 ,我会尽快做一些补充。会加一个提示,如果为空,说明已安装的软件不需要额外步骤

borninfreedom avatar Nov 14 '20 16:11 borninfreedom

是的,apt被锁我已经进行修复了,目前错误是 部分程序还需要一些附加操作才能安装成功,请阅读你的桌面上的【Ubuntu助手附加说明.txt】文件

root@xxxx:/home/guosijia/Downloads/linux-assistant# ./assistant.sh Reading package lists... Done Building dependency tree
Reading state information... Done xterm is already the newest version (322-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Reading package lists... Done Building dependency tree
Reading state information... Done zenity is already the newest version (3.18.1.1-1ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. COLUMNS=90; LINES=45; export COLUMNS LINES;

(zenity:25798): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(zenity:25798): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(zenity:25798): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

不清楚是我Ubuntu环境的问题还是您这版的代码可能有点bug呢? 谢谢!

guosijia avatar Nov 15 '20 11:11 guosijia

你好,加个微信聊吧,我想看看截屏。 15621465986

borninfreedom avatar Nov 16 '20 03:11 borninfreedom