早教吧作业答案频道 -->其他-->
用sudoapt-getinstallssh出现错误该怎么办?est2@ubuntu:/etc/init.d$sudoapt-getinstallsshReadingpackagelists...DoneBuildingdependencytreeReadingstateinformation...DoneSomepackagescouldnotbeinstalled.Thismaymeanth
题目详情
用sudo apt-get install ssh出现错误该怎么办?
est2@ubuntu:/etc/init.d$ sudo apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ssh : Depends: openssh-server (>= 1:6.6p1-2ubuntu1)
E: Unable to correct problems, you have held broken packages.
est2@ubuntu:/etc/init.d$ sudo apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ssh : Depends: openssh-server (>= 1:6.6p1-2ubuntu1)
E: Unable to correct problems, you have held broken packages.
▼优质解答
答案和解析
可能存在一些依赖问题或者软件源出了问题。
先把软件源换到ubuntu官方源,
然后update,upgrade,将所有已经安装的软件更新一下,
然后apt-get -f install修复一下破损的依赖关系。
最后再来试试安装openssh
先把软件源换到ubuntu官方源,
然后update,upgrade,将所有已经安装的软件更新一下,
然后apt-get -f install修复一下破损的依赖关系。
最后再来试试安装openssh
看了 用sudoapt-getin...的网友还看了以下:
英文中,结尾是s或者发S音的姓氏应该怎么表示一家人?英语中,表示某某一家,一般是在其姓氏后面加S, 2020-05-17 …
musician后能加s吗说有10个音乐家后能加s吗?Ourclubhasten(music)所给 2020-06-08 …
用sudoapt-getinstallssh出现错误该怎么办?est2@ubuntu:/etc/i 2020-06-10 …
夏季奥运会每4年举办一次,公元S年举办奥运会后,下一届奥运会将在公元多少年举办?2008年北京举办 2020-07-03 …
当名词后面加’s的时候……当名词后面加’s的时候……如:teacher→teacher’s意思是: 2020-07-10 …
幂级数和函数s(0)=0.幂级数求和函数有个S(0)=0如果不是0会怎样运算,幂级数求和的时候会有 2020-07-31 …
在ubuntu下安装一些工具会出现以下问题:root@ubuntu:/#apt-getinstall 2020-12-01 …
如图所示,S是波源,MN是带孔的挡板,其中M固定,N可以上下移动,为了使原来振动的A点停止振动,可采 2020-12-15 …
英语合同中c/s和同是这样写的))c/s)(Title):))Ihaveauthoritytobin 2020-12-21 …
求素数的这个办法是怎么回事?关键不懂sqrt()这个函数的地方……求用它来判断是否为素数的原理谢vo 2021-02-05 …