我把apt软件卸载了 怎么办?

七宝 2014-10-10 08:37:03
之前由于某个软件安装错误。网上提示说把sources.list删除 , 但是删除之后发现软件都更新不了了,于是。。。。手贱想删了apt重新装过。。可是删了之后发现什么软件都装不了了。新加之后的源也提示 无法找到获取软件包的渠道/usr/lib/apt/methods/hhttp 所需的驱动程序 。
请问我该怎么办?
...全文
804 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
七宝 2014-10-10
  • 打赏
  • 举报
回复
引用 5 楼 micropentium6 的回复:
this is it: http://askubuntu.com/questions/442153/how-to-get-apt-after-i-accidentally-uninstalled-it
谢谢!我在这里 http://packages.ubuntu.com/trusty/i386/apt/download 找到了apt 32为的deb包 但是安装还是由于各种依赖问题,已经准备重装系统了 用的是linuxmint 16
  • 打赏
  • 举报
回复
this is it: http://askubuntu.com/questions/442153/how-to-get-apt-after-i-accidentally-uninstalled-it
  • 打赏
  • 举报
回复
引用 3 楼 a5987995329 的回复:
[quote=引用 1 楼 micropentium6 的回复:] find the apt-get rpm for ur OS and install it using rpm
在这里找到了 http://rpmfind.net/linux/rpm2html/search.php?query=apt 但我的rpm没有安装 可以直接解压把文件覆盖吗[/quote] sorry, it's my bad. I don't work with ubuntu. I am afraid you are not supposed to have rpm on a ubuntu... you will need to find a deb package for apt-get Try dpkg -i DEB_PACKAGE
七宝 2014-10-10
  • 打赏
  • 举报
回复
引用 1 楼 micropentium6 的回复:
find the apt-get rpm for ur OS and install it using rpm
在这里找到了 http://rpmfind.net/linux/rpm2html/search.php?query=apt 但我的rpm没有安装 可以直接解压把文件覆盖吗
七宝 2014-10-10
  • 打赏
  • 举报
回复
引用 1 楼 micropentium6 的回复:
find the apt-get rpm for ur OS and install it using rpm
关键就是找不到这个包
  • 打赏
  • 举报
回复
find the apt-get rpm for ur OS and install it using rpm

742

社区成员

发帖
与我相关
我的任务
社区描述
该论坛主要探讨Linux系统在IBM Power平台的安装、部署、应用开发等话题,并为网友们提供自由交流的平台。
社区管理员
  • Power Linux社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧