Fedora 39 - 安装 mysql 工作台

Fedora 39 - 安装 mysql 工作台

我在 Fedora 39 上安装 mysql workbench 时遇到一些问题。我正在关注https://idroot.us/install-mysql-workbench-fedora-37

> sudo dnf install https://dev.mysql.com/get/mysql80-community-release-fc39-2.noarch.rpm

Last metadata expiration check: 0:11:31 ago on Thu 25 Apr 2024 06:33:11 AM CEST.
mysql80-community-release-fc39-2.noarch.rpm      13 kB/s |  10 kB     00:00    
Package mysql80-community-release-fc39-2.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
> sudo rpm -Uvh mysql80-community-release-*

warning: mysql80-community-release-fc39-1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
    package mysql80-community-release-fc39-2.noarch (which is newer than mysql80-community-release-fc39-1.noarch) is already installed
> sudo dnf install mysql-workbench-community

Last metadata expiration check: 0:14:06 ago on Thu 25 Apr 2024 06:33:11 AM CEST.
No match for argument: mysql-workbench-community
Error: Unable to find a match: mysql-workbench-community

为什么找不到包?

答案1

好的,我可以按照 @ksyrium 评论中的链接安装它。不过,我必须遵循快照安装过程:

sudo dnf install snapd
sudo systemctl enable --now snapd.socket
sudo dnf install snapd fuse squashfuse kernel-modules -y
sudo ln -s /var/lib/snapd/snap /snap
sudo reboot
sudo snap install mysql-workbench-community

同样在重新启动后(sudo reboot),当运行我得到的最后一个命令时

error: too early for operation, device not yet seeded or device model not acknowledged

老实说,我不确定我是如何克服这一点的,我查看了:

> systemctl status snapd.socket

● snapd.socket - Socket activation for snappy daemon
     Loaded: loaded (/usr/lib/systemd/system/snapd.socket; enabled; preset: enabled)
     Active: active (running) since Thu 2024-04-25 13:07:52 CEST; 22min ago
   Triggers: ● snapd.service
     Listen: /run/snapd.socket (Stream)
             /run/snapd-snap.socket (Stream)
      Tasks: 0 (limit: 76794)
     Memory: 0B
        CPU: 234us
     CGroup: /system.slice/snapd.socket
> systemctl status snapd.service

● snapd.service - Snap Daemon
     Loaded: loaded (/usr/lib/systemd/system/snapd.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Thu 2024-04-25 13:08:30 CEST; 22min ago
TriggeredBy: ● snapd.socket
   Main PID: 4335 (snapd)
      Tasks: 23 (limit: 76794)
     Memory: 33.7M
        CPU: 534ms
     CGroup: /system.slice/snapd.service
             └─4335 /usr/libexec/snapd/snapd
> systemctl status snapd.seeded.service

○ snapd.seeded.service - Wait until snapd is fully seeded
     Loaded: loaded (/usr/lib/systemd/system/snapd.seeded.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)

我想我尝试手动启动最后一个,但它没有修复它,所以我再次关闭它,不知何故,那时我能够安装 mysql-workbench。去搞清楚

相关内容