野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 17953|回复: 11

[求助] sudo apt install peripheral安装失败

[复制链接]
发表于 2022-7-18 11:08:10 | 显示全部楼层 |阅读模式
安装的镜像版本为2022-2版本,根据视频操作,无法安装peripheral。所有的apt update都以为最新版本

镜像是2022-2月的版本

镜像是2022-2月的版本
回复

使用道具 举报

发表于 2022-7-27 15:23:53 | 显示全部楼层
可以换下源
执行sudo vi /etc/apt/sources.list
把以下内容拷贝进去

deb http://mirrors.bfsu.edu.cn/debian buster main contrib non-free
#deb-src http://mirrors.bfsu.edu.cn/debian buster main contrib non-free

#deb http://mirrors.bfsu.edu.cn/debian buster-updates main contrib non-free
##deb-src http://mirrors.bfsu.edu.cn/debian buster-updates main contrib non-free

#deb http://deb.debian.org/debian-security buster/updates main contrib non-free
##deb-src http://deb.debian.org/debian-security buster/updates main contrib non--
free


#deb https://Embedfire.github.io/ buster main
#deb https://sourceforge.net/projects/embedfire-debian-sources/files/ buster maii
n
deb [arch=armhf] https://cloud.embedfire.com/mirrors/ebf-debian buster main
deb [arch=armhf] https://cloud.embedfire.com/mirrors/ebf-debian carp-imx6 main
#deb-src [arch=armhf] https://cloud.embedfire.com/mirrors/ebf-debian buster main

回复 支持 反对

使用道具 举报

发表于 2023-6-23 23:54:29 | 显示全部楼层
おおおじ。 发表于 2022-7-27 15:23
可以换下源
执行sudo vi /etc/apt/sources.list
把以下内容拷贝进去

仍然不起作用。。源地址好像不对
回复 支持 反对

使用道具 举报

发表于 2023-6-24 00:19:46 | 显示全部楼层
好奇怪,不懂为什么,更新到最新的镜像就好了。通过野火大课堂,点进云盘资料,找到最新的debian镜像文件。
/etc/apt/source.list里面的地址如下,
deb [arch=armhf] https://cloud.embedfire.com/mirrors/ebf-debian buster main
deb [arch=armhf] https://cloud.embedfire.com/mirrors/ebf-debian carp-imx6 main
回复 支持 反对

使用道具 举报

发表于 2023-6-26 08:40:00 | 显示全部楼层
可以ssh把下面这个丢到板卡里面解压使用

peripheral.zip

238.17 KB, 下载次数: 284

回复 支持 反对

使用道具 举报

发表于 2024-11-5 16:36:54 | 显示全部楼层
pepenero 发表于 2023-6-24 00:19
好奇怪,不懂为什么,更新到最新的镜像就好了。通过野火大课堂,点进云盘资料,找到最新的debian镜像文件。 ...

这个源现在是不是又不能用了,显示的是404
回复 支持 反对

使用道具 举报

发表于 2024-11-6 15:52:27 | 显示全部楼层
截图上来看看?看看报错是什么,排查一下网络问题或者密钥问题
回复 支持 反对

使用道具 举报

发表于 2025-1-27 15:26:44 | 显示全部楼层
本帖最后由 732276410 于 2025-1-27 15:31 编辑
YiangYiang 发表于 2024-11-6 15:52
截图上来看看?看看报错是什么,排查一下网络问题或者密钥问

这给源是最新的吧,也下载不成功,我连的手机热点
野火论坛202501271529041670..png
回复 支持 反对

使用道具 举报

发表于 2025-2-11 08:47:07 | 显示全部楼层
732276410 发表于 2025-1-27 15:26
这给源是最新的吧,也下载不成功,我连的手机热点

有没有sudo apt update过,update 的过程有报错吗
回复 支持 反对

使用道具 举报

发表于 2025-7-19 11:35:55 | 显示全部楼层
Debian 10的源已不再更新,Buster 已经进入归档(Archive)状态,普通镜像不再提供更新。但目前的系统可能仍然在尝试从旧有的源获取 Debian 10(Buster)的软件包,因此出现404,可将源替换为归档的源地址再试一下。
修改/etc/apt/sources.list
将源替换为
# Debian 10 (Buster) - 主仓库(归档)
deb http://archive.debian.org/debian buster main contrib non-free
deb-src http://archive.debian.org/debian buster main contrib non-free

# Debian 10 (Buster) - 安全更新(归档)
deb http://archive.debian.org/debian-security buster/updates main contrib non-free
deb-src http://archive.debian.org/debian-security buster/updates main contrib non-free

然后
apt update

再安装软件试试

回复 支持 1 反对 0

使用道具 举报

发表于 2025-9-8 23:04:18 | 显示全部楼层
gaofong 发表于 2025-7-19 11:35
Debian 10的源已不再更新,Buster 已经进入归档(Archive)状态,普通镜像不再提供更新。但目前的系统可能 ...

您好,我用这个源后更新没问题,但是在sudo apt install peripheralle时提示Unable to locate package peripheral,这是什么问题导致的?网上查资料说还是源的问题吗
野火论坛202509082304078166..png
回复 支持 反对

使用道具 举报

发表于 2025-9-9 08:53:30 | 显示全部楼层
自为之有 发表于 2025-9-8 23:04
您好,我用这个源后更新没问题,但是在sudo apt install peripheralle时提示Unable to locate package pe ...

这个包是在野火的镜像源里面,我看你update 的log好像没有读取到野火的镜像源,从上面的帖子里面找到embedfire 的源复制进去重新update一遍吧。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2025-12-5 19:31 , Processed in 0.050870 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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