Ubuntu安装ssh失败,有几个软件包无法下载,各种命令都试过了

您所在的位置:网站首页 河南社保版本升级为什么无法下载安装包 Ubuntu安装ssh失败,有几个软件包无法下载,各种命令都试过了

Ubuntu安装ssh失败,有几个软件包无法下载,各种命令都试过了

2024-07-10 12:41| 来源: 网络整理| 查看: 265

有位大大说可以执行yum yum install openssh_server安装结果提示没有yum,还要安装yum,真是要啥没啥

重启也没用,错误如下: root@misterlanbing-virtual-machine:~# ifconfig eth0 Link encap:以太网 硬件地址 00:0c:29:33:96:63 inet 地址:192.168.0.101 广播:192.168.0.255 掩码:255.255.255.0 inet6 地址: fe80::20c:29ff:fe33:9663/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:88 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:96 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:14798 (14.7 KB) 发送字节:13108 (13.1 KB) 中断:19 基本地址:0x2024

lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 跃点数:1 接收数据包:4 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:4 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:0 接收字节:260 (260.0 B) 发送字节:260 (260.0 B)

root@misterlanbing-virtual-machine:~# ssh loacalhost ssh: Could not resolve hostname loacalhost: Name or service not known root@misterlanbing-virtual-machine:~# ps -e|grep ssh 2131 ? 00:00:00 ssh-agent root@misterlanbing-virtual-machine:~# systemctl status firewalld systemctl: command not found root@misterlanbing-virtual-machine:~# sudo apt-get install openssh-server 正在读取软件包列表… 完成 正在分析软件包的依赖关系树 正在读取状态信息… 完成 将会安装下列额外的软件包: openssh-client ssh-import-id 建议安装的软件包: libpam-ssh keychain monkeysphere openssh-blacklist openssh-blacklist-extra rssh molly-guard 下列【新】软件包将被安装: openssh-server ssh-import-id 下列软件包将被升级: openssh-client 升级了 1 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 650 个软件包未被升级。 需要下载 1,309 kB 的软件包。 解压缩后会消耗掉 891 kB 的额外空间。 您希望继续执行吗?[Y/n]y 【警告】:下列软件包不能通过验证! openssh-client openssh-server ssh-import-id 不经验证就安装这些软件包吗?[y/N] y 错误 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main openssh-client i386 1:5.9p1-5ubuntu1.1 404 Not Found [IP: 91.189.91.39 80] 错误 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main openssh-server i386 1:5.9p1-5ubuntu1.1 404 Not Found [IP: 91.189.91.39 80] 错误 http://cn.archive.ubuntu.com/ubuntu/ precise/main ssh-import-id all 2.10-0ubuntu1 404 Not Found [IP: 91.189.91.39 80] 无法下载 http://cn.archive.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-client_5.9p1-5ubuntu1.1_i386.deb 404 Not Found [IP: 91.189.91.39 80] 无法下载 http://cn.archive.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-server_5.9p1-5ubuntu1.1_i386.deb 404 Not Found [IP: 91.189.91.39 80] 无法下载 http://cn.archive.ubuntu.com/ubuntu/pool/main/s/ssh-import-id/ssh-import-id_2.10-0ubuntu1_all.deb 404 Not Found [IP: 91.189.91.39 80] E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试? root@misterlanbing-virtual-machine:~# ^C root@misterlanbing-virtual-machine:~# 在这里插入图片描述 在这里插入图片描述 在这里插入图片描述



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3