Eu reinstalei o Centos 7 duas vezes nos últimos dias a partir do mesmo live usb.
Na primeira vez, instalei vários pacotes de que precisava da seguinte maneira (típica) sudo yum install XXX
, em que XXX
era um pacote, como ntfs-3g
, qemu
ou geany
. Desta vez, estou recebendo No package XXX available.
Como eu disse, usei o mesmo usb ao vivo na mesma máquina. Estou bastante certo de que corri sudo yum update
ambas as vezes (eu definitivamente fiz isso, já que tenho várias versões de kernel instaladas).
Veja algumas informações que podem ser úteis:
Versão do Centos
$ cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
Repos ativados
$ yum repolist enabled
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.tocici.com
* updates: mirror.hmc.edu
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,007
extras/7/x86_64 CentOS-7 - Extras 264
updates/7/x86_64 CentOS-7 - Updates 1,213
repolist: 10,484
Mesma coisa, exceto verbose
$ yum repolist enabled -v
Loading "fastestmirror" plugin
Loading "langpacks" plugin
Adding en_US to language list
Config time: 0.008
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.tocici.com
* updates: mirror.hmc.edu
Setting up Package Sacks
pkgsack time: 0.004
Repo-id : base/7/x86_64
Repo-name : CentOS-7 - Base
Repo-revision: 1449700451
Repo-updated : Wed Dec 9 14:35:45 2015
Repo-pkgs : 9,007
Repo-size : 6.5 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
Repo-baseurl : http://centos.sonn.com/7.2.1511/os/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Sun Apr 3 13:07:31 2016)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
Repo-id : extras/7/x86_64
Repo-name : CentOS-7 - Extras
Repo-revision: 1459508613
Repo-updated : Fri Apr 1 04:03:51 2016
Repo-pkgs : 264
Repo-size : 704 M
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
Repo-baseurl : http://mirror.tocici.com/centos/7.2.1511/extras/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Sun Apr 3 13:07:31 2016)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
Repo-id : updates/7/x86_64
Repo-name : CentOS-7 - Updates
Repo-revision: 1459456033
Repo-updated : Thu Mar 31 13:30:30 2016
Repo-pkgs : 1,213
Repo-size : 3.3 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock
Repo-baseurl : http://mirror.hmc.edu/centos/7.2.1511/updates/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Sun Apr 3 13:07:31 2016)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
repolist: 10,484
Todos os repos
$ yum repolist all
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.tocici.com
* updates: mirror.hmc.edu
repo id repo name status
C7.0.1406-base/x86_64 CentOS-7.0.1406 - Base disabled
C7.0.1406-centosplus/x86_64 CentOS-7.0.1406 - CentOSPlus disabled
C7.0.1406-extras/x86_64 CentOS-7.0.1406 - Extras disabled
C7.0.1406-fasttrack/x86_64 CentOS-7.0.1406 - CentOSPlus disabled
C7.0.1406-updates/x86_64 CentOS-7.0.1406 - Updates disabled
C7.1.1503-base/x86_64 CentOS-7.1.1503 - Base disabled
C7.1.1503-centosplus/x86_64 CentOS-7.1.1503 - CentOSPlus disabled
C7.1.1503-extras/x86_64 CentOS-7.1.1503 - Extras disabled
C7.1.1503-fasttrack/x86_64 CentOS-7.1.1503 - CentOSPlus disabled
C7.1.1503-updates/x86_64 CentOS-7.1.1503 - Updates disabled
base/7/x86_64 CentOS-7 - Base enabled: 9,007
base-debuginfo/x86_64 CentOS-7 - Debuginfo disabled
base-source/7 CentOS-7 - Base Sources disabled
c7-media CentOS-7 - Media disabled
centosplus/7/x86_64 CentOS-7 - Plus disabled
centosplus-source/7 CentOS-7 - Plus Sources disabled
cr/7/x86_64 CentOS-7 - cr disabled
extras/7/x86_64 CentOS-7 - Extras enabled: 264
extras-source/7 CentOS-7 - Extras Sources disabled
fasttrack/7/x86_64 CentOS-7 - fasttrack disabled
updates/7/x86_64 CentOS-7 - Updates enabled: 1,213
updates-source/7 CentOS-7 - Updates Sources disabled
repolist: 10,484
Procurando geany
yum search geany
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.tocici.com
* updates: mirror.hmc.edu
Warning: No matches found for: geany
No matches found
Procurando por qemu
$ yum search qemu
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.tocici.com
* updates: mirror.hmc.edu
============================== N/S matched: qemu ===============================
centos-release-qemu-ev.noarch : QEMU Enterprise Virtualization packages from the
: CentOS Virtualization SIG repository
ipxe-roms-qemu.noarch : Network boot loader roms supported by QEMU, .rom format
libvirt-daemon-driver-qemu.x86_64 : Qemu driver plugin for the libvirtd daemon
qemu-guest-agent.x86_64 : QEMU guest agent
qemu-img.x86_64 : QEMU command line tool for manipulating disk images
qemu-kvm.x86_64 : QEMU is a FAST! processor emulator
qemu-kvm-common.x86_64 : QEMU common files needed by all QEMU targets
libvirt-lock-sanlock.x86_64 : Sanlock lock manager plugin for QEMU driver
qemu-kvm-tools.x86_64 : KVM debugging and diagnostics tools
Name and summary matches only, use "search all" for everything.
Há alguns hits com esse, mas lembro que yum install qemu
funcionaria e instalaria um monte de pacotes qemu.
Tentando instalar qemu
$ sudo yum install qemu
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.tocici.com
* updates: centos.eecs.wsu.edu
No package qemu available.
Error: Nothing to do
E, ironicamente, não consigo resolver dependências do meu gerenciador de senhas por causa de tudo isso, então não consigo fazer login na minha conta do SE.
Está consertando isso tão simples quanto adicionar / ativar um repo?