apt-get update:无法更改为(无法访问)// – chdir(2:没有此类文件或目录)
今天我试图更新包列表,我遇到了奇怪的错误
$ sudo apt-get update ... Ign http://archive.ubuntu.com saucy-security/universe Translation-en_US Ign http://archive.ubuntu.com saucy-proposed/main Translation-en_US Ign http://archive.ubuntu.com saucy-proposed/restricted Translation-en_US Ign http://archive.ubuntu.com saucy-proposed/universe Translation-en_US Fetched 496 kB in 38s (13.0 kB/s) E: Unable to change to (unreachable)// - chdir (2: No such file or directory)
我现在应该改变什么? /etc/apt/sources.list
东西?
每当我使用加密的主目录运行sudo apt-get update
,我收到此错误消息,而我在我的主目录中。
如果我cd /
to first,错误就消失了。
(Ubuntu Server 13.10)
我今天发生了这件事。 这是因为我当前的目录是用sshfs挂载的。 我不知道它是否会出现在任何FUSE文件系统或只是sshfs,但答案是刚刚离开该目录。 那是:
cd sudo apt-get update
重新安装libapt-pkg
帮助。
sudo apt-get install --reinstall libapt-pkg4.12
当我的当前目录是群集fs时有同样的问题。 https://pve.proxmox.com/wiki/Proxmox_Cluster_File_System_(pmxcfs)将当前目录更改为具有不同文件系统的文件夹。 例如cd /
- apt:重定位错误:版本GLIBCXX_3.4.21未在文件libstdc ++中定义.so.6带有链接时间参考
- 如何解决Unable锁定管理目录(/ var / lib / dpkg /)
- 无法安装Oracle JDK 9
- 如何在Ubuntu 14.04中安装PgAdmin3版本1.20.0
- PPA弹簧清洗 – 从PPA安装的包装清单?
- “为python3.5运行python rtupdate钩子”失败了
- 为什么14.04 LTS在某些软件包中没有静态库?
- 如何安装gst-plugins? 无法找到包裹
- 有人知道如何在ubuntu中修复此安装错误吗?mysql-server-5.6 E:子进程/ usr / bin / dpkg返回错误代码(1)