Skocz do zawartości

Błąd Protected Multilib Versions: Libffi-3.0.5-3.2.el6.i686 != Libffi-3.0.9-1.el5.rf.x86_64


Robert412

Rekomendowane odpowiedzi

instaluję ponownie virtualbox u siebie poprzednio miałem błąd przy jego działaniu

 

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.



Failed to open a session for the virtual machine bazaczeresnia.
The virtual machine 'bazaczeresnia' has terminated unexpectedly during startup with exit code 1 (0x1).

 

niestety polecenie '/etc/init.d/vboxdrv setup'  generowało kolejne błędy

 

trochę walczyłem z tym w końcu odinstalowałem virtualbox

 

i podjąłem próbę jego ponownej instalacji   yum install /home/oracle/Downloads/VirtualBox-4.3-4.3.18_96516_el6-1.i686.rpm
 w trakcie wykonania pojawił się błąd

 

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
       
         1. You have an upgrade for libffi which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of libffi of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude libffi.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of libffi installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
       
         3. You have duplicate versions of libffi installed already.
            You can use "yum check" to get yum show these errors.
       
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
       
       Protected multilib versions: libffi-3.0.5-3.2.el6.i686 != libffi-3.0.9-1.el5.rf.x86_64
 

jak go usunąć jest zapewne wynikiem prób usunięcia poprzedniego błedu poprzez instalacje dodatkowych pakietów

Odnośnik do komentarza
Udostępnij na innych stronach

Podstawowe pytanie jaki masz system? Jeśli Fedorę, to dlaczego pakiet dla RHEL? Jeśli RHEL, to nie ten dział.

 

Paczki dla Fedory najlepiej jest instalować z repozytorium Oracla. Jak zainstalować repo? → https://www.virtualbox.org/wiki/Linux_Downloads w części "RPM-based Linux distributions"

[EDIT]

Jako root:

wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo  -O /etc/yum.repos.d/vbox.repo
[/EDIT]

 

Polecenie '/etc/init.d/vboxdrv setup' zrzuca log, o którym zapewne jest mowa w komunikacie błędu. Stawiam, że brakuje Ci kernel-devel odpowiedniego dla uruchomionego jądra i/lub gcc.

Poza zainstalowaniem powyższych pakietów warto też zainstalować dkms - przy aktualizacji jądra moduł przebuduje się przy pierwszym uruchomieniu systemu bez konieczności ręcznego uruchamiania polecenia.

Odnośnik do komentarza
Udostępnij na innych stronach

Podstawowe pytanie jaki masz system? Jeśli Fedorę, to dlaczego pakiet dla RHEL? Jeśli RHEL, to nie ten dział.

 

Paczki dla Fedory najlepiej jest instalować z repozytorium Oracla. Jak zainstalować repo? → https://www.virtualbox.org/wiki/Linux_Downloads w części "RPM-based Linux distributions"

[EDIT]

Jako root:

wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo  -O /etc/yum.repos.d/vbox.repo

[/EDIT]

 

Polecenie '/etc/init.d/vboxdrv setup' zrzuca log, o którym zapewne jest mowa w komunikacie błędu. Stawiam, że brakuje Ci kernel-devel odpowiedniego dla uruchomionego jądra i/lub gcc.

Poza zainstalowaniem powyższych pakietów warto też zainstalować dkms - przy aktualizacji jądra moduł przebuduje się przy pierwszym uruchomieniu systemu bez konieczności ręcznego uruchamiania polecenia.

system oparty na redhat gdzie pisać ?

 

 

 

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : VirtualBox-4.3-4.3.18_96516_el6-1.x86_64 1/1

 

Creating group 'vboxusers'. VM users must be member of that group!

 

No precompiled module for this kernel found -- trying to build one. Messages

emitted during module compilation will be logged to /var/log/vbox-install.log.

 

Stopping VirtualBox kernel modules [ OK ]

Uninstalling old VirtualBox DKMS kernel modules [ OK ]

Trying to register the VirtualBox kernel modules using DKMSError! echo

Your kernel headers for kernel 3.8.13-44.1.4.el6uek.x86_64 cannot be found at

/lib/modules/3.8.13-44.1.4.el6uek.x86_64/build or /lib/modules/3.8.13-44.1.4.el6uek.x86_64/source.

[FAILED]

(Failed, trying without DKMS)

Recompiling VirtualBox kernel modules [FAILED]

(Look at /var/log/vbox-install.log to find out what went wrong)

Verifying : VirtualBox-4.3-4.3.18_96516_el6-1.x86_64 1/1

 

Installed:

VirtualBox-4.3.x86_64 0:4.3.18_96516_el6-1

 

Complete!

 

przy ponownej instalacji uzyskałem błąd potwierdza to potrzebę wymienionych poprzednio zmian ?

 

w pliku /var/log/vbox-install.log

 

Uninstalling modules from DKMS

Attempting to install using DKMS

 

Creating symlink /var/lib/dkms/vboxhost/4.3.18/source ->

/usr/src/vboxhost-4.3.18

 

DKMS: add completed.

Failed to install using DKMS, attempting to install without

Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

Odnośnik do komentarza
Udostępnij na innych stronach

Nie pisz postów pod własnymi.

Nie cytuj własnych postów - przecież to bez sensu

Jeśli system RHEL, to przenoszę do działu RHEL :)

 

P.S. tak jak pisałem wcześniej brakuje ci kernel-devel, przeciez widzisz:

unable to find the sources of your current Linux kernel.
Zresztą jak widzę sokar620 udzielił już wsparcia.
Odnośnik do komentarza
Udostępnij na innych stronach

ponownie pojawia się błąd w wirtualnej maszynie

 

Failed to open a session for the virtual machine bazaczeresnia.

The virtual machine 'bazaczeresnia' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {..............}
 
 
 
 
po komendzie
 
/etc/init.d/vboxdrv setup
 
wynik
Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modulesError! There are no instances of module: vboxhost
4.3.18 located in the DKMS tree.
                                                           [  OK  ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.8.13-44.1.4.el6uek.x86_64 cannot be found at
/lib/modules/3.8.13-44.1.4.el6uek.x86_64/build or /lib/modules/3.8.13-44.1.4.el6uek.x86_64/source.
                                                           [FAILED]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                      [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)
 
 
zawartość pliku /var/log/vbox-install.log
 
 
Uninstalling modules from DKMS
  removing old DKMS module vboxhost version  4.3.18

-------- Uninstall Beginning --------
Module:  vboxhost
Version: 4.3.18
Kernel:  2.6.32-504.1.3.el6.x86_64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.
Removing any linked weak-modules

vboxdrv.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.32-504.1.3.el6.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetflt.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.32-504.1.3.el6.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetadp.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.32-504.1.3.el6.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxpci.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.32-504.1.3.el6.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod......

DKMS: uninstall completed.

------------------------------
Deleting module version: 4.3.18
completely from the DKMS tree.
------------------------------
Done.
  removing old DKMS module vboxhost version  4.3.18
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.3.18/source ->
                 /usr/src/vboxhost-4.3.18

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
Edytowane przez WalDo
Dodanie znaczników
Odnośnik do komentarza
Udostępnij na innych stronach

Pokaż wyniki poleceń.

Najlepiej jakbyś wcześniej ponownie spróbował uruchomić setup i w razie niepowodzenia wykonał poniższe w tej samej sesji:

uname -r
rpm -qa  kernel kernel-devel hernel-headers

P.S. Korzystaj ze znaczników [ code ] [/ code ] (wytnij spacje!) do umieszczania wyników wyjścia z konsoli - czytelniejsze.

 

 

[EDIT]

Prawie na pewno masz zainstalowane niepasujące do kernela paczki *-devel i *headers

Your kernel headers for kernel 3.8.13-44.1.4.el6uek.x86_64 cannot be found at
/lib/modules/3.8.13-44.1.4.el6uek.x86_64/build or /lib/modules/3.8.13-44.1.4.el6uek.x86_64/source.
Odnośnik do komentarza
Udostępnij na innych stronach

No to jak widzisz: kernel 3.8.13-44.14, brak kernel-headers a kernel-devel oba od jądra 2.6.32. Nie ma prawy działać.

 

Proponuję najpierw aktualizację jądra, żeby upewnić się, że nie ma nic nowszego niż 3.8.13-44.1.4.

Potem restart na najnowszym jądrze.

Potem instalacja kernel-devel i kernel-headers.

Czyli po kolei:

yum update kernel
restart (tylko o ile coś nowego się zainstaluje) a potem

yum install kernel-devel kernel-headers
/etc/init.d/vboxdrv setup
Jak coś pójdzie nie tak, to wklej wynik polecenia

yum repolist
Może nie masz zainstalowanych właściwych repozytoriów? Jak instalowałeś kernel-3.8.13-44.1.4.el6uek.x86_64?

 

[EDIT]

RHEL 6 ma w repozytoriach najwyższe jadro kernel-2.6.32-504.1.3.el6.x86_64.rpm

Czyli kernel-devel są OK. Brakuje kernel-headers i musisz uruchamiać (wcześniej być moze zainstalować?) właściwy kernel-2.6.32-504.1.3.el6.x86_64.rpm

Edytowane przez WalDo
Odnośnik do komentarza
Udostępnij na innych stronach

to co tu widać to zapewne efekt dość przypadkowego wpisywania poleceń z różnych forów korzystam z oracle linux 6.5 bo uczę się oracle a na windows mam za wolny komputer

 

yum repolist

Loaded plugins: protectbase, refresh-packagekit, security

0 packages excluded due to repository protections

repo id repo name status

chromium-el6 CentOS-6Server - Chromium EL6 7

epel Extra Packages for Enterprise Linux 6 - x86_64 11,191

google-chrome google-chrome – 64-bit 3

public_ol6_UEKR3_latest Unbreakable Enterprise Kernel Release 3 for Oracl 252

public_ol6_UEK_latest Latest Unbreakable Enterprise Kernel for Oracle L 365

public_ol6_latest Oracle Linux 6Server Latest (x86_64) 28,743

rpmforge RHEL 6Server - RPMforge.net - dag 11,403

virtualbox Oracle Linux / RHEL / CentOS-6Server / x86_64 - V 19

repolist: 51,983

 

 

polecenia wcześniejsze

 

yum update kernel

Loaded plugins: protectbase, refresh-packagekit, security

Setting up Update Process

0 packages excluded due to repository protections

No Packages marked for Update

 

 

 

yum install kernel-devel kernel-headersyum install kernel-devel kernel-headers

Loaded plugins: protectbase, refresh-packagekit, security

Setting up Install Process

0 packages excluded due to repository protections

Package kernel-devel-2.6.32-504.1.3.el6.x86_64 already installed and latest version

No package kernel-headersyum available.

No package install available.

Package kernel-devel-2.6.32-504.1.3.el6.x86_64 already installed and latest version

Package kernel-headers-2.6.32-504.1.3.el6.x86_64 is obsoleted by kernel-uek-headers-3.8.13-26.2.4.el6uek.x86_64 which is already installed

Nothing to do

 

 

 

 

/etc/init.d/vboxdrv setup to polecenie daje błąd identyczny co poprzednio

 

 

[EDIT]

Prawie na pewno masz zainstalowane niepasujące do kernela paczki *-devel i *headers

Your kernel headers for kernel 3.8.13-44.1.4.el6uek.x86_64 cannot be found at/lib/modules/3.8.13-44.1.4.el6uek.x86_64/build or /lib/modules/3.8.13-44.1.4.el6uek.x86_64/source.

jak te paczki usunąć *-devel i *headers

Your kernel headers for kernel 3.8.13-44.1.4.el6uek.x86_64 cannot be found at

/lib/modules/3.8.13-44.1.4.el6uek.x86_64/build or /lib/modules/3.8.13-44.1.4.el6uek.x86_64/source.

Odnośnik do komentarza
Udostępnij na innych stronach

Prosiłem o dwie rzeczy:

1. nie pisz postów pod własnymi - to jakis problem korzystać z "Edytuj" pod postem?

2. korzystaj ze znaczników "code" - daj znać jeśli masz z tym jakiś problem.

 

Nie usuwaj paczek devel i headers tylko uruchom system na jądrze kernel-2.6.32-504.1.3.el6.x86_64 albo kernel-2.6.32-504.el6.x86_64 (to pierwsze pewnie aktualne). Po uruchomieniu usuń kernel-3.8.13-44.1.4.el6uek.x86_64, bo to jest źródło wszystkich problemów.

Jeszcze raz pytanie skąd wziąłeś kernel 3.8.13-44.1.4.el6uek.x86_64?

Odnośnik do komentarza
Udostępnij na innych stronach

http://www.oracle.com/us/technologies/linux/product/specifications/index.html

 

oracle linux 6.5 posiada takie kernele

 

  • 3.8.13 Unbreakable Enterprise Kernel Release 3 (x86_64 only)
  • 2.6.39 Unbreakable Enterprise Kernel Release 2**
  • 2.6.32 (Red Hat compatible kernel)

co się stanie z systemem jak go usunę i z innymi programami z których obecnie korzystam ?

jak to bezpiecznie zrobić ?

 

aktuanie system startuje bez możliwości wyboru kernela wcześniej było inaczej

 

co znaczników [ code ] [/ code ] mam obejmować nimi instrukcje linuxa i wyniki poleceń ?

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli Oracle posiada takie jajka na składzie, to powinien również udostępniać repo z paczkami umożliwiającymi kompilację VirtualBox - w końcu to teraz ich produkt ;) Ale informacji na ten temat musisz szukać raczej na ich forum.

 

Jadra 3.18.13 nie musisz nawet odinstalowywać. Wystarczy, że uruchomisz system na jądrze 2.6.32, do którego devel już masz i brakuje Ci tylko headers.

 

Co do "code", to dokladnie o to mi chodziło. Oczywiście po usunięci zbędnych spacji z okolic nawiasów kwadratowych ;)

Odnośnik do komentarza
Udostępnij na innych stronach

 

rpm -qa  kernel kernel-devel hernel-headers
kernel-2.6.32-504.1.3.el6.x86_64
kernel-devel-2.6.32-504.el6.x86_64
kernel-devel-2.6.32-504.1.3.el6.x86_64
kernel-2.6.32-504.el6.x86_64

 udało się ruszyć na tym kernelu

 

przy uruchamianiu już konkretnej maszyny pojawił się błąd

This kernel requires the following features not present on the CPU:

Unable to boot - please use kernel appropriate for your CPU

 

posiadam Intel Core2 Duo E6300 @ 1.86GHz

 

na studiach otrzymałem dysk vdi z środowiskiem oracle database  11g 64 bit do wykonania zadania

 

na stronie oracla też są 64 bitowe tylko

 

pod moim linuxem mam problemy z połączeniem java oracle database  którego nie udało się usunąć pomimo pomocy na forum baz danych

 

pozostaje mi tylko virtualna maszyna z gotowym środowiskiem bazy bo w tym środowisku ma być wykonane zadanie (linux)

 

czy trzeba wymieniać komputer czy da się to obejść ?

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...