ubuntu 18 当使用命令sudo apt-get install sysv-rc-conf安装不上时,提示“ E: 无法定位软件包问题

个人安装环境

1.ubuntu 18.04.1

问题描述

使用命令sudo apt-get install sysv-rc-conf安装不上时,提示“ E: 无法定位软件包问题

问题解决

1.进入 etc/apt

cd /etc/apt

 

2.使用vim sources.list命令  在里面sources.list 添加镜像源:

deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse

 

3. 更新安装源

sudo apt-get update 

 
4.开始安装

sudo apt-get install sysv-rc-conf

 

5.链接 chkconfig

sudo cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig

 

posted @ 2020-02-03 06:30  “人生苦短”  阅读(3209)  评论(0编辑  收藏  举报