E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
来源:互联网 发布:淘宝购物如何追加评论 编辑:程序博客网 时间:2024/05/19 17:22
参考:
http://blog.csdn.net/glorin/article/details/6312332
我参考文档用了这些命令安装了samba:
sudo apt-get install samba samba-common
sudo apt-get install python-glade2
sudo apt-get install system-config-samba
adduser samba
passwd xxxx
然后按图形界面配置samba服务器。发现不能用。
后来我用sudo apt-get remove命令一个一个地把上面安装的卸载了,
sudo apt-get install samba samba-common
sudo apt-get install python-glade2
sudo apt-get install system-config-samba
adduser samba
passwd xxxx
然后按图形界面配置samba服务器。发现不能用。
后来我用sudo apt-get remove命令一个一个地把上面安装的卸载了,
然后我用以前的一个安装包用dpkg -i *.dtb 安装samba,
虽然安装上了,但是samba总是打不开,
安装其他软件的时候总是提示一些依赖库的错误。
ubuntu启动之后也会有这个提示:
后来我用sudo apt-get -f install 修复,但还总是解决不了,导致后面想安装软件都安装不上
解决:
这个是sudo apt-get remove 卸载不彻底留下一些库,然后用那个samba的安装包dpkg安装的库版本又跟原来的不一致导致的,
把安装包的库清理掉就可以了:sudo dpkg --purge xxx
sudo dpkg --purge cifs-utils:i386
sudo dpkg --purge libwbclient0:i386
...........
根据提示继续执行sudo apt-get -f install samba 来查看冲突的库。然后把它彻底清除掉。
阅读全文
0 0
- E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
- E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
- ubuntu安装fcitx失败Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
- apt-get install nethogs安装出现E: Unmet dependencies. Try 'apt-get -f install' with no packages (or spe
- Try 'apt-get -f install' with no packages (or specify a solution)问题的解决
- Ubuntu apt-get install错误:unmet dependencies
- apt-get install E: Encountered a section with no Package: header 解决办法
- apt-get install E: Encountered a section with no Package: header
- 关于ubuntu 更换成国内源之后,apt-get 出现The following packages have unmet dependencies:的解决方法
- apt-get出现E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/list
- apt-get出现E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/list
- apt-get出现E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/list
- apt-get出现E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/list
- apt-get报错 E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/
- 如何解决apt-get中Unmet dependencies问题
- apt-get出现Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/
- apt-get出现E:Encountered a section with no Package: header, ……的解决方法
- apt-get出现E:Encountered a section with no Package: header, ……及其解决方法
- unix域socket通信实例
- Spring Boot 是什么,有什么用。
- 搜索 B题
- Codeforces 808D Array Division【思维】
- Visual Studio 2015VS2015安装没有C++WIN32控制
- E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
- jQuery:jQuery UI API
- 恢复误删除的数据
- 简单介绍一下OGraph
- git的第一次使用
- Git的安装和使用
- 堆排序和TopK问题
- Git永久删除文件(包括历史记录)
- 图片的简单爬取