
tupann
(usa Outra)
Enviado em 25/03/2025 - 14:22h
alexabolada escreveu:
Olá! Vamos analisar as informações que você forneceu.
A saída do comando
**ls -l /usr/share/pixmaps/ubuntu-logo-text-dark.png**
mostra que o arquivo `ubuntu-logo-text-dark.png` pertence ao usuário `root` e ao grupo `root`, com permissões de leitura para outros usuários, mas sem permissões de escrita. Isso pode estar causando problemas ao tentar fazer alterações nesse arquivo durante a instalação ou atualização de pacotes.
Aqui estão algumas sugestões para resolver o problema:
1. **Alterar as permissões do arquivo**:
Se você precisar permitir que um usuário específico escreva no arquivo, pode mudar as permissões ou a propriedade. Como `root`, você poderia executar:
**sudo chmod 664 /usr/share/pixmaps/ubuntu-logo-text-dark.png**
Ou se você quiser mudar a propriedade para o seu usuário (substitua `seu_usuario` pelo seu nome de usuário):
**sudo chown seu_usuario /usr/share/pixmaps/ubuntu-logo-text-dark.png**
2. **Rodar o comando sem a necessidade de modificar o arquivo**:
Se o arquivo não precisa ser alterado diretamente, você pode tentar simplesmente executar o comando de instalação ou atualização novamente após fazer a verificação de pacotes:
**sudo apt-get update && sudo apt-get upgrade[\/b]**
3
Usei os trẽs comandos e não deu certo. essa foi a resposta para o terceiro comando.
sudo apt-get update && sudo apt-get upgrade[\/b]
Atingido:1 http://localhost/aceros noble InRelease
Atingido:2
https://dl.google.com/linux/chrome/deb stable InRelease
Atingido:3 http://localhost/aceros noble-security InRelease
Atingido:4 http://localhost/aceros noble-updates InRelease
Atingido:5 http://localhost/aceros noble-backports InRelease
Atingido:6 http://localhost/aptfast noble InRelease
Obter:7 http://localhost/gimp noble InRelease [18,1 kB]
Ign:7 http://localhost/gimp noble InRelease
Atingido:8
https://esm.ubuntu.com/cis/ubuntu noble InRelease
Atingido:9
https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease
Atingido:10
https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease
Atingido:11
https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Atingido:12
https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Atingido:13
https://deb.opera.com/opera-stable stable InRelease
Obter:14
https://repository.spotify.com stable InRelease [3.316 B]
Ign:14
https://repository.spotify.com stable InRelease
Ign:15
https://packages.microsoft.com/repos/vscode stable InRelease
Atingido:16
https://packages.microsoft.com/repos/code stable InRelease
Atingido:15
https://packages.microsoft.com/repos/vscode stable InRelease
Baixados 21,4 kB em 21s (998 B/s)
Lendo listas de pacotes... Pronto
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: http://localhost/aptfast/dists/noble/InRelease: A chave é armazenada no chaveiro legado trust.gpg (/etc/apt/trusted.gpg), veja a seção DEPRECATION em apt-key(8) para detalhes.
W: http://localhost/aptfast/dists/noble/InRelease: Signature by key A2166B8DE8BDC3367D1901C11EE2FF37CA8DA16B uses weak algorithm (rsa1024)
W: Erro GPG: http://localhost/gimp noble InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 5738AE8480447DDF NO_PUBKEY 4C1CBE14852541CB
W:
http://deb.opera.com/opera-stable/dists/stable/InRelease: A chave é armazenada no chaveiro legado trust.gpg (/etc/apt/trusted.gpg), veja a seção DEPRECATION em apt-key(8) para detalhes.
W: Erro GPG:
https://repository.spotify.com stable InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY C85668DF69375001
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
E: Operação upgrade inválida