Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A error reporting during my use #1

Open
guosijia opened this issue Nov 14, 2020 · 4 comments
Open

A error reporting during my use #1

guosijia opened this issue Nov 14, 2020 · 4 comments

Comments

@guosijia
Copy link

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.

@borninfreedom
Copy link
Owner

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

@borninfreedom
Copy link
Owner

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

@guosijia
Copy link
Author

是的,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呢?
谢谢!

@borninfreedom
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants