ubuntu kylin重装系统后无法连接WIFI

项目场景:

ubuntu kylin重装系统后无法连接WIFI


ubuntu kylin重装系统后无法连接WIFI,不显示有什么WIFI,也没有出现让输入密码的提示 查看网络状态:
ip a

在这里插入图片描述注:上图的前面小红框中的“wlp2s0”即为我的无线网卡的名称,在未激活前,其状态为“DOWN”,而非本截图中的“UP”状态。


# 解决方案:
rfkill list
rfkill unblock all
sudo killall nm-applet
sudo nm-applet

参考文章
https://ywnz.com/linuxjc/4750.html
https://blog.csdn.net/zahuopuboss/article/details/49072605

项目场景:

ubuntu kylin重装系统后,无法使用apt安装软件


显示下面的错误:
sudo apt install git
没有可用的软件包 git,但是它被其它的软件包引用了。 这可能意味着这个缺失的软件包可能已被废弃,  
或者只能在其他发布源中找到

E: 软件包 git 没有可供安装的候选者
下列软件包有未满足的依赖关系: git : 依赖: liberror-perl 但无法安装它 推荐: less 但无法安装它 E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

重装了英文版本的系统,报错如下:

sudo apt install git


原因分析:


可能是软件源不对,但是改了软件源还是这样。


正确的银河麒麟系统软件源:

deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-desktop main restricted universe multiverse

注意这里要根据系统版本来更改,比如4.0.2sp2-desktop这个地方需要更改。(具体如何更改)

重装系统之后,发现源还是不能apt install 但是,之后换了上面所说正确的源。然后sudo apt update了一次,还是报错,而且很慢,推测网络不好。重新执行了一次sudo apt update,现在可行了。能够正确安装软件。

cat /proc/version
cat /etc/.kyinfo

sudo apt clean 
sudo apt update
sudo apt upgrade
sudo apt install -f 

参考链接:
https://my.oschina.net/chipo/blog/3093242

sudo apt upgrade的错误

Preparing to unpack .../cups-daemon_2.2.2-1kord1sp2~1_amd64.deb ...
Failed to stop cups.path: Connection timed out
See system logs and 'systemctl status cups.path' for details.
Failed to get load state of cups.path: Failed to activate service 'org.freedesktop.systemd1': timed out
dpkg: warning: subprocess old pre-removal script returned error exit status 1




dpkg: trying script from the new package instead ...
Failed to stop cups.path: Failed to activate service 'org.freedesktop.systemd1': timed out
See system logs and 'systemctl status cups.path' for details.
Failed to get load state of cups.path: Failed to activate service 'org.freedesktop.systemd1': timed out
dpkg: error processing archive /var/cache/apt/archives/cups-daemon_2.2.2-1kord1sp2~1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Failed to execute operation: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to execute operation: Failed to activate service 'org.freedesktop.systemd1': timed out


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值