我下载了四次 1.8 GB 的 18.04.1 .iso,但每次都失败并出现相同的错误:
Aug 14 21:34:08 Charles-PC gnome-session[2018]: Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied
Aug 14 21:34:08 Charles-PC gnome-session[2018]: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Aug 14 21:34:08 Charles-PC gnome-session[2018]: Please ask your system administrator to enable user sharing.
Aug 14 21:34:11 Charles-PC org.gtk.vfs.Daemon[1884]: ** (gvfsd:1950): WARNING **: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: Connection refused
Aug 14 21:34:11 Charles-PC org.gtk.vfs.Daemon[1884]: ** (process:14086): WARNING **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: The specified location is not mounted
Aug 14 21:34:14 Charles-PC org.gtk.vfs.Daemon[1884]: ** (gvfsd:1950): WARNING **: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: Connection refused
Aug 14 21:34:14 Charles-PC org.gtk.vfs.Daemon[1884]: ** (process:14089): WARNING **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: The specified location is not mounted
Aug 14 21:35:47 Charles-PC org.gnome.zeitgeist.SimpleIndexer[1884]: ** (zeitgeist-fts:2587): WARNING **: Unable to get info on application://nautilus-autostart.desktop
答案1
我建议使用 wget 下载。
在终端中运行以下命令:
sudo apt install wget
wget http://releases.ubuntu.com/18.04/ubuntu-18.04.1-desktop-amd64.iso