Ubuntu 20.04
长话短说:在一个新机器上安装了 mysql 8,然后卸载并清除,然后通过替代存储库安装 mysql 5.7 相当困难。作为参考,这里是我用来安装 5.7 的配方的链接:https ://computingforgeeks.com/how-to-install-mysql-on-ubuntu-focal/
我的问题:我如何确保未来的升级活动将保留 mysql 5.7 并避免 mysql 8 在其之上被无意升级?
感谢您的时间。
Ubuntu 20.04
长话短说:在一个新机器上安装了 mysql 8,然后卸载并清除,然后通过替代存储库安装 mysql 5.7 相当困难。作为参考,这里是我用来安装 5.7 的配方的链接:https ://computingforgeeks.com/how-to-install-mysql-on-ubuntu-focal/
我的问题:我如何确保未来的升级活动将保留 mysql 5.7 并避免 mysql 8 在其之上被无意升级?
感谢您的时间。
我有一台全新安装 ubuntu 20.04 的新机器。对于 java 开发,我使用emacs/jdee环境。经过相当严格的搜索,与 jdee 配合使用的最新 emacs 版本是emacs24。事实上,我的旧机器(ubuntu 15.04)正在运行 emacs24/jdee。所以,我不能使用与我认为是 emacs26 或 emacs27 的 ubuntu 20.04 配对的 emacs。
我还四处寻找在 ubuntu 20.04 下安装 emacs24 的方法,但没有找到任何能激发信心的东西。可以做到吗?还是我在尝试时遇到了很多麻烦?如果可以做到,我将非常感谢成功的秘诀。谢谢。
带有 ubuntu 20.04 的全新 sys76 Thelio 桌面
在连接在线帐户(谷歌)的安装过程中,安装挂起,我不得不硬重启。安装似乎在重新启动后重新开始,这次跳过了链接在线帐户。安装完成,一切看起来都很好。但是,当我尝试启动软件更新时,它会崩溃。我重新启动并尝试再次启动软件更新和同样的事情。
在我修复此问题之前,我将无法安装或升级软件。任何有关如何解决此问题的帮助将不胜感激。谢谢你。
以下来自应用程序日志:
12:10:32 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:32 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:32 update-manager: trans = yield self.client.update_cache(defer=True)
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 66, in update
12:10:32 update-manager: result = gen.throw(excep)
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 483, in _inline_callbacks
12:10:32 update-manager: Traceback (most recent call last):
12:10:32 update-manager: During handling of the above exception, another exception occurred:
12:10:32 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:32 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:32 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:32 update-manager: return self.get_name_owner(bus_name)
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
12:10:32 update-manager: Traceback (most recent call last):
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
12:10:30 update-manager: self.start_service_by_name(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
12:10:30 update-manager: self._named_service = conn.activate_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
12:10:30 update-manager: return self.ProxyObjectClass(self, bus_name, object_path,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
12:10:30 update-manager: return dbus.Interface(bus.get_object("org.debian.apt",
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
12:10:30 update-manager: daemon = get_aptdaemon(self.bus)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
12:10:30 update-manager: result = gen.send(result)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
12:10:30 update-manager: raise self.value.with_traceback(self.traceback)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 130, in raise_exception
12:10:30 update-manager: error.raise_exception()
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1594, in on_error
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: During handling of the above exception, another exception occurred:
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:30 update-manager: return self.get_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
12:10:30 update-manager: self.start_service_by_name(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
12:10:30 update-manager: self._named_service = conn.activate_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
12:10:30 update-manager: return self.ProxyObjectClass(self, bus_name, object_path,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
12:10:30 update-manager: return dbus.Interface(bus.get_object("org.debian.apt",
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
12:10:30 update-manager: daemon = get_aptdaemon(self.bus)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
12:10:30 update-manager: result = gen.send(result)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: During handling of the above exception, another exception occurred:
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:30 update-manager: return self.get_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
12:10:30 update-manager: self.start_service_by_name(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
12:10:30 update-manager: self._named_service = conn.activate_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
12:10:30 update-manager: return self.ProxyObjectClass(self, bus_name, object_path,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
12:10:30 update-manager: return dbus.Interface(bus.get_object("org.debian.apt",
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
12:10:30 update-manager: daemon = get_aptdaemon(self.bus)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
12:10:30 update-manager: result = gen.send(result)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: During handling of the above exception, another exception occurred:
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:30 update-manager: return self.get_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner