@relgames
Java Developer

Как установить gcc на Scientific Linux release 6.4?

Не могу установить gcc (нужен для установки VirtualBox):

# yum install gcc
Loaded plugins: dellsysid, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.6-3.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.47.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.47.el6 for package: glibc-devel-2.12-1.47.el6.x86_64
--> Processing Dependency: glibc = 2.12-1.47.el6 for package: glibc-devel-2.12-1.47.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6.x86_64
---> Package libgomp.i686 0:4.4.6-3.el6 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.12-1.47.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.47.el6 for package: glibc-2.12-1.47.el6.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6.i686
---> Package glibc-headers.x86_64 0:2.12-1.47.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.12-1.47.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.47.el6 for package: glibc-2.12-1.47.el6.i686
---> Package nss-softokn-freebl.i686 0:3.14.3-3.el6_4 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.47.el6.i686 (os)
           Requires: glibc-common = 2.12-1.47.el6
           Installed: glibc-common-2.12-1.132.el6.x86_64 (@security)
               glibc-common = 2.12-1.132.el6
           Available: glibc-common-2.12-1.47.el6.x86_64 (os)
               glibc-common = 2.12-1.47.el6
 You could try using --skip-broken to work around the problem
** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
pl-6.4.1-1.el6.x86_64 has missing requires of libarchive.so.2()(64bit)
pl-6.4.1-1.el6.x86_64 has missing requires of libossp-uuid.so.16()(64bit)
pl-compat-yap-devel-6.4.1-1.el6.x86_64 has missing requires of pl-devel = ('0', '6.4.1', '1.el6')
pl-jpl-6.4.1-1.el6.x86_64 has missing requires of java
pl-jpl-6.4.1-1.el6.x86_64 has missing requires of jpackage-utils
pl-jpl-6.4.1-1.el6.x86_64 has missing requires of libjava.so()(64bit)
pl-jpl-6.4.1-1.el6.x86_64 has missing requires of libjvm.so()(64bit)
pl-jpl-6.4.1-1.el6.x86_64 has missing requires of libjvm.so(SUNWprivate_1.1)(64bit)
pl-jpl-6.4.1-1.el6.x86_64 has missing requires of libverify.so()(64bit)
pl-static-6.4.1-1.el6.x86_64 has missing requires of readline-devel


Похоже, оно пытается поставить glibc.i686 0:2.12-1.47.el6 т.к. glibc.x86_64 стоит не той версии.
yum list installed glibc
Loaded plugins: dellsysid, security
Installed Packages
glibc.x86_64 2.12-1.132.el6 @security


Как мне это победить? Переустановить не предлагать, сервер не мой, там всякое уже крутится.
  • Вопрос задан
  • 3112 просмотров
Решения вопроса 1
IlyaEvseev
@IlyaEvseev
Opensource geek
glibc-devel хочет поставиться старый.
Обновление баз через "yum update" без установки пакетов не помогает?
Если нет, то показывайте списки активных репозиториев.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы