我正在尝试连接到远程 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