我正在尝试连接到远程 Windows 机器上的共享驱动器。当我在“连接到服务器”字段中输入 Windows 机器的 IP 地址时,“连接”按钮是灰色的,我只看到忙碌的轮子。
这个答案意味着我需要运行sudo apt install gvfs-backends
,但这样做只会导致以下问题:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gvfs-backends : Depends: gvfs (= 1.36.1-0ubuntu1) but 1.36.1-0ubuntu1.1 is to be installed
Depends: gvfs-daemons (= 1.36.1-0ubuntu1)
Depends: gvfs-libs (= 1.36.1-0ubuntu1) but 1.36.1-0ubuntu1.1 is to be installed
Depends: gvfs-common (= 1.36.1-0ubuntu1) but 1.36.1-0ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.
我在 Ubuntu 18.04 上。这是坏了还是什么?如何使远程连接正常工作?
更新:我已经跑了sudo apt update
,没有任何变化。
的输出apt-cache policy gvfs gvfs-backends
是:
gvfs:
Installed: 1.36.1-0ubuntu1.1
Candidate: 1.36.1-0ubuntu1.1
Version table:
*** 1.36.1-0ubuntu1.1 100
100 /var/lib/dpkg/status
1.36.1-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
gvfs-backends:
Installed: (none)
Candidate: 1.36.1-0ubuntu1
Version table:
1.36.1-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
结果sudo apt-cache policy gvfs gvfs-daemons gvfs-libs gvfs-common
:
gvfs:
Installed: 1.36.1-0ubuntu1.1
Candidate: 1.36.1-0ubuntu1.1
Version table:
*** 1.36.1-0ubuntu1.1 100
100 /var/lib/dpkg/status
1.36.1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
gvfs-daemons:
Installed: 1.36.1-0ubuntu1.1
Candidate: 1.36.1-0ubuntu1.1
Version table:
*** 1.36.1-0ubuntu1.1 100
100 /var/lib/dpkg/status
1.36.1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
gvfs-libs:
Installed: 1.36.1-0ubuntu1.1
Candidate: 1.36.1-0ubuntu1.1
Version table:
*** 1.36.1-0ubuntu1.1 100
100 /var/lib/dpkg/status
1.36.1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
gvfs-common:
Installed: 1.36.1-0ubuntu1.1
Candidate: 1.36.1-0ubuntu1.1
Version table:
*** 1.36.1-0ubuntu1.1 100
100 /var/lib/dpkg/status
1.36.1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages
在聊天会话期间,我们发现仿生更新存储库被禁用。
所以我们从软件和更新→更新选项卡 (
software-properties-gtk
) 中启用了它:然后确认重新加载包列表。