我正在尝试在我的 ubuntu 12.10 上安装 smbfs,但遇到以下问题。我尝试卸载并重新安装 samba,但仍然出现同样的错误。
$ sudo apt-get install smbfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
smbfs : Depends: samba-common (= 2:3.4.7~dfsg-1ubuntu3) but 2:3.6.6-3ubuntu5 is to be installed
E: Unable to correct problems, you have held broken packages.
请帮忙。
答案1
根据此页面https://wiki.ubuntu.com/MountWindowsSharesPermanently
看来 smbfs 已被弃用,您应该使用 cifs 代替。尝试:
sudo apt-get install cifs-utils