joisonsp
(usa Ubuntu)
Enviado em 29/11/2017 - 17:04h
Cabreuvas escreveu:
Meu caro, por que cara.lhos tu me faz dois tópicos iguais?
Dê mais informações sobre o problema: o erro que dá quando você tenta instalar programas, como o PC desligou do nada, etc.
Talvez tenha até corrompido alguma coisa.
root@j-oison:/home/joison# sudo add-apt-repository ppa:damien-moore/codeblocks-stable
Current stable version of Code::Blocks IDE (16.01)
To install Code::Blocks from this PPA, open a terminal and type:
sudo add-apt-repository ppa:damien-moore/codeblocks-stable
sudo apt-get update
sudo apt-get install codeblocks codeblocks-contrib
Mais informações:
https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
Prima [ENTER] para continuar ou Ctrl+C para cancelar a sua adição.
gpg: keybox '/tmp/tmpe3e60h66/pubring.gpg' created
gpg: /tmp/tmpe3e60h66/trustdb.gpg: banco de dados de confiabilidade criado
gpg: chave 87BB07B4C99E40E1: chave pública "Launchpad PPA for spillz" importada
gpg: Número total processado: 1
gpg: importados: 1
OK
root@j-oison:/home/joison# sudo apt-get update
Atingido:1
http://br.archive.ubuntu.com/ubuntu artful InRelease
Obter:2
http://br.archive.ubuntu.com/ubuntu artful-updates InRelease [78,6 kB]
Ign:3
http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu artful InRelease
Obter:4
http://security.ubuntu.com/ubuntu artful-security InRelease [78,6 kB]
Ign:5
http://dl.google.com/linux/chrome/deb stable InRelease
Atingido:6
http://repository.spotify.com stable InRelease
Obter:7
http://br.archive.ubuntu.com/ubuntu artful-backports InRelease [72,2 kB]
Err:8
http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu artful Release
404 Not Found
Atingido:9
http://dl.google.com/linux/chrome/deb stable Release
Obter:10
http://br.archive.ubuntu.com/ubuntu artful-updates/main i386 Packages [64,8 kB]
Obter:11
http://br.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [65,6 kB]
Obter:12
http://br.archive.ubuntu.com/ubuntu artful-updates/main amd64 DEP-11 Metadata [13,5 kB]
Obter:13
http://br.archive.ubuntu.com/ubuntu artful-updates/universe amd64 DEP-11 Metadata [44,8 kB]
Obter:14
http://br.archive.ubuntu.com/ubuntu artful-updates/universe DEP-11 64x64 Icons [46,1 kB]
Obter:15
http://br.archive.ubuntu.com/ubuntu artful-backports/universe amd64 DEP-11 Metadata [4.676 B]
Obter:16
http://security.ubuntu.com/ubuntu artful-security/main amd64 DEP-11 Metadata [204 B]
Obter:18
http://security.ubuntu.com/ubuntu artful-security/universe amd64 DEP-11 Metadata [10,2 kB]
Lendo listas de pacotes... Pronto
E: The repository '
http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu artful 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.
root@j-oison:/home/joison# udo apt-get install codeblocks codeblocks-contrib
O programa 'udo' não está instalado no momento. Você pode instalá-lo digitando:
apt install udo
root@j-oison:/home/joison# sudo apt-get install codeblocks codeblocks-contrib
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
The following additional packages will be installed:
codeblocks-common gamin libcodeblocks0 libgamin0 libwxbase3.0-0v5
libwxgtk3.0-0v5 libwxsmithlib0 valgrind
Pacotes sugeridos:
libwxgtk3.0-dev valgrind-dbg valgrind-mpi kcachegrind alleyoop valkyrie
Os pacotes a seguir serão REMOVIDOS:
libfam0 linux-image-extra-4.10.0-33-generic
Os NOVOS pacotes a seguir serão instalados:
codeblocks codeblocks-common codeblocks-contrib gamin libcodeblocks0
libgamin0 libwxbase3.0-0v5 libwxgtk3.0-0v5 libwxsmithlib0 valgrind
0 pacotes atualizados, 10 pacotes novos instalados, 2 a serem removidos e 6 não atualizados.
5 pacotes não totalmente instalados ou removidos.
É preciso baixar 30,5 MB de arquivos.
Depois desta operação, 18,8 MB de espaço em disco serão liberados.
Você quer continuar? [S/n] S
Obter:1
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 gamin amd64 0.1.10-5 [41,3 kB]
Obter:2
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 libgamin0 amd64 0.1.10-5 [16,2 kB]
Obter:3
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 libwxbase3.0-0v5 amd64 3.0.3.1+dfsg2-1 [954 kB]
Obter:4
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 libwxgtk3.0-0v5 amd64 3.0.3.1+dfsg2-1 [4.180 kB]
Obter:5
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 libcodeblocks0 amd64 16.01+dfsg-2.1 [1.943 kB]
Obter:6
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 codeblocks-common all 16.01+dfsg-2.1 [2.490 kB]
Obter:7
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 codeblocks amd64 16.01+dfsg-2.1 [1.856 kB]
Obter:8
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 libwxsmithlib0 amd64 16.01+dfsg-2.1 [990 kB]
Obter:9
http://br.archive.ubuntu.com/ubuntu artful/universe amd64 codeblocks-contrib amd64 16.01+dfsg-2.1 [3.814 kB]
Obter:10
http://br.archive.ubuntu.com/ubuntu artful-updates/main amd64 valgrind amd64 1:3.13.0-1ubuntu3 [14,2 MB]
Baixados 30,5 MB em 39s (767 kB/s)
(Lendo banco de dados ... 185877 ficheiros e directórios actualmente instalados.)
A remover linux-image-extra-4.10.0-33-generic (4.10.0-33.37) ...
depmod: FATAL: could not load /boot/System.map-4.10.0-33-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-33-generic /boot/vmlinuz-4.10.0-33-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-33-generic /boot/vmlinuz-4.10.0-33-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-33-generic
WARNING: missing /lib/modules/4.10.0-33-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.10.0-33-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cp: erro de leitura de '/etc/default/keyboard': Erro de entrada/saída
E: /usr/share/initramfs-tools/hooks/console_setup failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.10.0-33-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: erro ao processar o pacote linux-image-extra-4.10.0-33-generic (--remove):
sub-processo script post-removal instalado retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
linux-image-extra-4.10.0-33-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
isso é o que aparece quando eu tento instalar um programa