全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: mlcq

[疑问] 保姆级教程!甲骨文ARM DD成Debian10并升级内核成5.10

  [复制链接]
发表于 2021-5-30 19:54:02 | 显示全部楼层
重启以后发现还是进原来的系统,大佬怎么解决这个问题啊
 楼主| 发表于 2021-5-30 20:18:35 | 显示全部楼层
yanyuechuixue 发表于 2021-5-30 19:54
重启以后发现还是进原来的系统,大佬怎么解决这个问题啊

你是输入新的密码进去的呀,怎么会是旧系统..
发表于 2021-5-31 10:56:41 | 显示全部楼层
本帖最后由 Timelt 于 2021-5-31 11:02 编辑

在安装如下步骤时:
sudo apt -t $(lsb_release -sc)-backports install linux-image-$(dpkg --print-architecture) linux-headers-$(dpkg --print-architecture) --install-recommends -y

提示:lsb_release: command not found,并报错。

在ARM架构上安装lsb_release,通过以下脚本:
yum provides */lsb_release  或者 apt provides */lsb_release
均无法安装lsb_release

通过如下脚本已解决:
apt-get update && apt-get install -y lsb-release && apt-get clean all
发表于 2021-5-31 18:19:55 | 显示全部楼层

-bash: sudo: command not found
-bash: lsb_release: command not found
 楼主| 发表于 2021-5-31 20:05:00 | 显示全部楼层
jpfree 发表于 2021-5-31 18:19
-bash: sudo: command not found
-bash: lsb_release: command not found

apt-get update && apt-get install -y lsb-release sudo && apt-get clean all
发表于 2021-5-31 20:23:29 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2021-5-31 20:25:15 | 显示全部楼层
mark一下 好东西
 楼主| 发表于 2021-5-31 20:28:40 | 显示全部楼层
判官 发表于 2021-5-31 20:23
既然已经开好了ubuntu为啥还要换成Debian呢  没有什么区别吧

嗯,这样装的Debian前段时间反而用不了v2ui,ubuntu也可以了
发表于 2021-6-1 09:10:14 | 显示全部楼层
本帖最后由 bost 于 2021-6-1 09:11 编辑

真是看着难受= =

d-i apt-setup/services-select multiselect updates, backports, 脚本自带back­ports 源了 不需要添加

shutdown干嘛应该是reboot

放弃使用lsb_release,用/etc/os-release代替

安装内核根本不需要--install-recommends 参数

dpkg -l|grep linux-image | awk '{print $2}',可以吧老内核删了(洁癖

点评

学习啦,感谢  发表于 2021-6-1 10:26
的确,脚本自带back­ports源,多这样一步,反而报错  发表于 2021-6-1 10:21
发表于 2021-6-1 13:02:19 | 显示全部楼层
Permission denied, please try again. 登不进去啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-5 08:06 , Processed in 0.063530 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表