ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.68k stars 1.82k forks source link

黑豹x2 armbian换源无法更新 #2167

Closed 2049320070KXYX closed 4 months ago

2049320070KXYX commented 5 months ago

你们好,我遇到了一个问题。黑豹 X2 换源 然后更新报错 是怎么回事 怎么弄 Screenshot_2024-03-15-11-10-32-48_3d419158bad5872c40592a6c9956e692

2049320070KXYX commented 5 months ago

@ophub 大佬请问我这个问题怎么弄

ophub commented 5 months ago

根据自己的releases换,别换成别的。 你图上是国外的,如果你不能正常访问,就换国内的。

2049320070KXYX commented 5 months ago

@ophub 我是用的是Armbian_24.5.0_rockchip_panther-x2_bookworm_6.1.78_server_2024.02.20.img这个版本 我已经换国内的源了 换了好几个都不行 o大佬 给个源呗

ophub commented 5 months ago

Armbian默认

deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
#deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
#deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware

deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
#deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware

deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
#deb-src http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware

中科大

deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware

清华

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib

阿里

deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib

腾讯

deb https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.tencent.com/debian-security/ bookworm-security main
deb-src https://mirrors.tencent.com/debian-security/ bookworm-security main
deb https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib

网易

deb https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.163.com/debian-security/ bookworm-security main
deb-src https://mirrors.163.com/debian-security/ bookworm-security main
deb https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib

华为

deb https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
deb-src https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
deb https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib
2049320070KXYX commented 5 months ago

Screenshot_2024-03-15-18-41-58-11_3d419158bad5872c40592a6c9956e692

现在变成这样了 怎么办

ophub commented 5 months ago

去电脑上把文件格式写好了

2049320070KXYX commented 5 months ago

啥文件  改啥格式  在哪

---原始邮件--- 发件人: @.> 发送时间: 2024年3月15日(周五) 晚上6:54 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 黑豹x2 armbian换源无法更新 (Issue #2167)

去电脑上把文件格式写好了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

2049320070KXYX commented 5 months ago

@ophub 改啥文件啊?

ophub commented 5 months ago

/etc/apt/sources.list

2049320070KXYX commented 5 months ago

@ophub 还是不行 依然是报错 对了更新后内存越来越大 怎么清理 Screenshot_2024-03-16-13-47-47-57_3d419158bad5872c40592a6c9956e692

ophub commented 5 months ago

已经都get了,这就是可以了,docke是国外的,你也一样换个国内的源

2049320070KXYX commented 5 months ago

@ophub 换了源 更新了后 内存变大了 怎么清理啊 我本人有强迫症 看着不舒服

ophub commented 5 months ago

你要觉得是源的问题,就再换回去。

yingqiangyu commented 5 months ago

@ophub 换了源 更新了后 内存变大了 怎么清理啊 我本人有强迫症 看着不舒服

建议出掉设备,换一个有厂商支持的设备,先去学习下ubuntu的apt的,问题网上都有现成的答案

2049320070KXYX commented 5 months ago

@ophub 大佬请问一下上传这是啥意思不是直接用 TF 卡里的系统写入吗 ?需要上传固件到根目录再写入吗?我有点没理解明白 Image_1711097689148

ophub commented 5 months ago

rockchip系列的写法有dd的,也有用rk工具的,但没写入脚本。

amlogic和allwinner有armbian-install脚本。

2049320070KXYX commented 5 months ago

@ophub 那这个上传镜像是啥意思 上传到哪里

ophub commented 5 months ago

任意位置,例如/root等你喜欢的地方

2049320070KXYX commented 5 months ago

@ophub 大佬请问我把系统写入emmc了 然后第一次换源报错 更新失败如何解决 换了好几个源都不行 ;还有就是 更新软件源产生的数据在哪文件夹里面 。 Screenshot_2024-03-24-11-37-18-36_3d419158bad5872c40592a6c9956e692

ophub commented 5 months ago

你安装的是bookwarm,你换buster的源干嘛呢?要返回2018年的怀旧版? 我上面的贴子里已经给你发了很多你安装版本的国内的源了。

LSP0123 commented 5 months ago

如果你不会调整源的话就不要手动调整了。 可以使用root权限执行下面的命令来调整源(如果没有修改过/etc/os-release和/etc/armbian-release的话) bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)

更新源产生的cache在/var/lib/apt 如果你分不清内存和外存的话,我真心建议不要玩这类设备了

yingqiangyu commented 4 months ago

@ophub 建议关掉这个issue, 纯属伸手党,所有答案搜索均能找到不止一个正确答案

2049320070KXYX commented 4 months ago

为什么关闭呢 我早就解决了  是公钥的问题   只不过没给o大回复而已 

---原始邮件--- 发件人: @.> 发送时间: 2024年3月31日(周日) 上午10:04 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 黑豹x2 armbian换源无法更新 (Issue #2167)

@ophub 建议关掉这个issue, 纯属伸手党,所有答案搜索均能找到不止一个正确答案

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

LSP0123 commented 4 months ago

为什么关闭呢 我早就解决了  是公钥的问题   只不过没给o大回复而已  ---原始邮件--- 发件人: @.> 发送时间: 2024年3月31日(周日) 上午10:04 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 黑豹x2 armbian换源无法更新 (Issue #2167) @ophub 建议关掉这个issue, 纯属伸手党,所有答案搜索均能找到不止一个正确答案 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

解决了为什么不关闭issue?

2049320070KXYX commented 4 months ago

忘记了

---原始邮件--- 发件人: @.> 发送时间: 2024年3月31日(周日) 中午1:05 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 黑豹x2 armbian换源无法更新 (Issue #2167)

为什么关闭呢 我早就解决了  是公钥的问题   只不过没给o大回复而已  … ---原始邮件--- 发件人: @.> 发送时间: 2024年3月31日(周日) 上午10:04 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 黑豹x2 armbian换源无法更新 (Issue #2167) @ophub 建议关掉这个issue, 纯属伸手党,所有答案搜索均能找到不止一个正确答案 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

解决了为什么不关闭issue?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

ophub commented 4 months ago

为了解决更新软件源镜像的问题,我添加了一个命令armbian-apt,可以一键换源或恢复默认源,可以使用armbian-sync命令一键拉取此命令到当前的armbian系统里,就可以使用了。

LSP0123 commented 4 months ago

为了解决更新软件源镜像的问题,我添加了一个命令armbian-apt,可以一键换源或恢复默认源,可以使用armbian-sync命令一键拉取此命令到当前的armbian系统里,就可以使用了。

教育网的源可以使用mirrorz,这个基本上重定向所有的edu的源了,不需要处理多个edu镜像

2049320070KXYX commented 4 months ago

好的谢谢  请教一下一个问题docker安装了访问不了openwrtUI界面 镜像已经正常启动了  IP地址也修改了  访问的时候提示连接超时  我在网上搜了下没找着教程

---原始邮件--- 发件人: @.> 发送时间: 2024年4月1日(周一) 下午2:10 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 黑豹x2 armbian换源无法更新 (Issue #2167)

为了解决更新软件源镜像的问题,我添加了一个命令armbian-apt,可以一键换源或恢复默认源,可以使用armbian-sync命令一键拉取此命令到当前的armbian系统里,就可以使用了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

2049320070KXYX commented 4 months ago

谢谢大佬我已经解决了

---原始邮件--- 发件人: @.> 发送时间: 2024年4月1日(周一) 下午2:10 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 黑豹x2 armbian换源无法更新 (Issue #2167)

为了解决更新软件源镜像的问题,我添加了一个命令armbian-apt,可以一键换源或恢复默认源,可以使用armbian-sync命令一键拉取此命令到当前的armbian系统里,就可以使用了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

2049320070KXYX commented 4 months ago

@ophub 大佬你好 docker openwrt插件在哪找啊 我从网上没找着 下载链接都过期了 op模板能不能加插件安装模板啊?

2049320070KXYX commented 4 months ago

@ophub 我找着了 谢谢大佬