Erro ao instalar qualquer pacote no Raspberry OS

Olá a todos,
Estou tentando instalar o Klipper num Orange Pi zero 3, para usar em minha impressora 3D.
Flasheei o SD com o Raspberry OS, pois foi o sistema usado no tutorial que estou seguindo.
No segundo passo do tutorial, ao tentar instalar o pacote GIT, dá o seguinte erro:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'git' has no installation candidate.

Depois de muitas tentativas, e de ter feito inúmeros "sudo apt update && sudo apt upgrade ", testei instalar um outro pacote qualquer, e é exibido o mesmo erro, ou seja, não consigo instalar nada.
Já pesquisei neste, e em outros fóruns sobre isso, tentei as soluções apontadas mas não deu jeito.
Creio que seja algo muito bobo, mas esse é o meu primeiro contato com Linux e sou completamente leigo. Obrigado

Olá, tudo bem ? Envia o resultado do comando

cat /etc/apt/sources.list /etc/apt/sources.list.d/*

Ele vai listar os repositórios que o apt tem, ou seja, de quais fontes o seu sistema vai baixar os programas

1 curtida

Olá, obrigado pela resposta. O comando retornou essas linhas:

> deb http://deb.debian.org/debian/ bullseye main contrib non-free
> ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
> # You may comment out entries below, but any other modifications may be lost.
> # Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
> deb http://repo.mysql.com/apt/debian/ bullseye mysql-apt-config
> # deb http://repo.mysql.com/apt/debian/ bullseye mysql-5.7
> deb http://repo.mysql.com/apt/debian/ bullseye mysql-tools
> #deb http://repo.mysql.com/apt/debian/ bullseye mysql-tools-preview
> # deb-src http://repo.mysql.com/apt/debian/ bullseye mysql-5.7
> deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ bullseye main
> # Uncomment line below then 'apt-get update' to enable 'apt-get source'
> #deb-src http://archive.raspberrypi.org/debian/ bullseye main

Vamos tentar adicionar um repositorio diferente pra ver se resolve, primeiro abra o terminal e rode o comando:

sudo nano /etc/apt/sources.list

Isso vai abrir um arquivo de texto com um editor do terminal

Vai até o fim do arquivo usando o teclado e adiciona a linha (usa ctrl+ shift + V para colar)

deb http://mirror.ufam.edu.br/raspbian/raspbian/ bullseye main contrib non-free rpi

Agora aperta Ctrl + X , vai perguntar se você deseja salvar as alterações, você digita Y e da Enter.

Agora basta dar um sudo apt updatee depois um sudo apt upgradee vê se consegue instalar o git

Tenta outra distro (ubuntu,Pop!_os ou Fedora)

Ele retorna isso apos o update, e dá o mesmo erro ao tentar instalar o git

Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Ign:3 http://archive.raspbian.org/raspbian wheezy InRelease
Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [39.0 kB]
Get:5 http://mirror.ufam.edu.br/raspbian/raspbian bullseye InRelease [15.0 kB]
Err:6 http://archive.raspbian.org/raspbian wheezy Release
  404  Not Found [IP: 93.93.128.191 80]
Hit:7 http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian bullseye InRelease
Get:8 http://deb.debian.org/debian bullseye/main armhf Packages [7,841 kB]
Get:9 http://deb.debian.org/debian bullseye/main arm64 Packages [7,955 kB]
Err:5 http://mirror.ufam.edu.br/raspbian/raspbian bullseye InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
Get:10 http://deb.debian.org/debian bullseye/main Translation-en [6,235 kB]
Get:11 http://deb.debian.org/debian bullseye/contrib arm64 Packages [40.8 kB]
Get:12 http://deb.debian.org/debian bullseye/contrib armhf Packages [40.1 kB]
Get:13 http://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:14 http://deb.debian.org/debian bullseye/non-free arm64 Packages [72.4 kB]
Get:15 http://deb.debian.org/debian bullseye/non-free armhf Packages [56.0 kB]
Get:16 http://deb.debian.org/debian bullseye/non-free Translation-en [92.5 kB]
Get:17 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [16.3 kB]
Get:18 http://deb.debian.org/debian bullseye-updates/main armhf Packages [16.3 kB]
Get:19 http://deb.debian.org/debian bullseye-updates/main Translation-en [10.9 kB]
Get:20 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [322 kB]
Get:21 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [329 kB]
Get:22 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Err:22 http://security.debian.org/debian-security bullseye-security InRelease
  Error writing to file - write (28: No space left on device) [IP: 151.101.250.132 80]
Get:23 http://repo.mysql.com/apt/debian bullseye InRelease [22.7 kB]
Err:23 http://repo.mysql.com/apt/debian bullseye InRelease
  Error writing to file - write (28: No space left on device) [IP: 23.212.86.47 80]
Ign:9 http://deb.debian.org/debian bullseye/main arm64 Packages
Get:9 http://deb.debian.org/debian bullseye/main arm64 Packages [10.9 MB]
Ign:10 http://deb.debian.org/debian bullseye/main Translation-en
Ign:10 http://deb.debian.org/debian bullseye/main Translation-en
Err:10 http://deb.debian.org/debian bullseye/main Translation-en
  Write error - write (28: No space left on device)
Reading package lists... Done
E: The repository 'http://archive.raspbian.org/raspbian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirror.ufam.edu.br/raspbian/raspbian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
E: The repository 'http://mirror.ufam.edu.br/raspbian/raspbian bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Estranho, você já tentou reinstalar o Raspberry OS ?

1 curtida

Tentei. No tutorial sugere a utilização da versão serve, pq meu Orange só tem 1gb de RAM.
Depois de sua mensagem tentei instalar a versão desktop, e consegui instalar o git normalmente. Obrigado pela ajuda.

1 curtida

Muito pesado para o raspberry e qualquer fruta que seja

Este tópico foi fechado automaticamente 3 dias depois da última resposta. Novas respostas não são mais permitidas.