首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法访问‘/sbin/udevd’:没有这样的文件或目录

无法访问‘/sbin/udevd’:没有这样的文件或目录
EN

Ask Ubuntu用户
提问于 2015-12-26 23:14:18
回答 1查看 1.3K关注 0票数 1

在15.10 dist升级之后,我使用apt获得以下错误?

代码语言:javascript
复制
sudo apt-get autoremove --purge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libboost-iostreams1.55.0* libhiredis0.10* libhogweed2* libicu52* libnettle4* libregexp-common-perl*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 29.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
chmod: cannot access ‘/sbin/udevd’: No such file or directory
E: Problem executing scripts DPkg::Pre-Invoke 'chmod -x /sbin/udevd'
E: Sub-process returned an error code
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2015-12-27 08:31:22

/sbin/udevd已不再在Wily中使用。但是问题中的包的删除脚本似乎取决于它。尝试以下几点

代码语言:javascript
复制
sudo touch /sbin/udevd; sudo apt-get autoremove --purge; sudo rm /sbin/udevd

如果不起作用,请运行

代码语言:javascript
复制
sudo dpkg -r --force-all libboost-iostreams1.55.0 libhiredis0.10 libhogweed2 libicu52 libnettle4 libregexp-common-perl
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/713746

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档