Forum Stats

  • 3,722,383 Users
  • 2,244,297 Discussions
  • 7,849,820 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Error: shim-x64 conflicts with kernel-container

Beremour
Beremour Member Posts: 8 Red Ribbon
edited April 8 in Oracle Linux

Dear OL7 maintainers!

"yum upgrade" on OL7 gives error for 2 days for me.

======================================================

--> Finished Dependency Resolution

Error: shim-x64 conflicts with kernel-container-3.10.0-0.0.0.2.el7.x86_64

 You could try using --skip-broken to work around the problem

 You could try running: rpm -Va --nofiles --nodigest

======================================================


Update:

Even Anaconda installer from boot DVD fails now during package installation.

Update 2:

It's all about EFI systems.

Comments

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    If you are not running inside a container, you should remove kernel-container completely, i.e. yum remove kernel-container.

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    I've reported this to QA for testing/validation too.

  • Todd Vierling-Oracle
    Todd Vierling-Oracle Member Posts: 20 Employee

    Are you building system images inside Docker, or using custom install ISOs?

    The kernel-container package is normally only used within Docker containers when a real kernel is not installed there, so it's actually good that this conflict is coming up -- a full, non-container system should not have it installed. But I'd like to figure out how you got it installed after all.

    One thing you can do is run "yum erase kernel-container". You don't have to say Yes to it yet, but please paste what it outputs here, so we can see what it will try to remove. This way we might be able to figure out what put it there.

  • Todd Vierling-Oracle
    Todd Vierling-Oracle Member Posts: 20 Employee

    As for the anaconda issue, that's something to address separately. When do you get an error in anaconda? This would suggest that something is being installed by it which mistakenly pulls in kernel-container.

  • Beremour
    Beremour Member Posts: 8 Red Ribbon

    No-no, just full virtual machine under VMware and ISO from yum.oracle.com

    Error occurs during installation process and stops with exact error mesage

  • User_DT13V
    User_DT13V Member Posts: 0 Green Ribbon

    burn boot ol7 iso. boot from it with phy machine. set the installation source to the latest/x86_64/ . Select Server with GUI. Include the virt options also. Get error and it can't resolver it. One way around it is to select min. server for base env.

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    I can reproduce this using the steps above, i.e. only configuring ol7_latest in the installer. However, if you also configure ol7_UEKR6, then the package dependencies resolve themselves.

    Still a bug that needs to be fixed, though.

  • User_DT13V
    User_DT13V Member Posts: 0 Green Ribbon

    I'm seeing it post install still. I added the UEKR6 first and then tried again after adding in the addons and optional.

    [[email protected] yum.repos.d]# yum repolist
    repo id                                                                  repo name                                                                                                       status
    ol7_UEKR6/x86_64                                                         Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 7Server (x86_64)                                  282
    ol7_addons/x86_64                                                        Oracle Linux 7Server Add ons (x86_64)                                                                             485
    ol7_latest/x86_64                                                        Oracle Linux 7Server Latest (x86_64)                                                                            22263
    ol7_optional_latest/x86_64                                               Oracle Linux 7Server Optional Latest (x86_64)                                                                   16080
    ol7_oracle-linux-manager210_client/x86_64                                Oracle Linux Manager Client 2.10 for Oracle Linux 7 (x86_64)                                                       84
    ol7_oracle-linux-manager210_server/x86_64                                Oracle Linux Manager Server 2.10 for Oracle Linux 7 (x86_64)                                                      366
    repolist: 39560
    
    [[email protected] yum.repos.d]# yum groupinstall "Server with GUI" | egrep error
    There is no installed groups file.
    Maybe run: yum groups mark convert (see man yum)
    Warning: Group core does not have any packages to install.
    --> Processing Dependency: libsamba-errors.so.1(SAMBA_ERRORS_1)(64bit) for package: libsmbclient-4.10.16-13.el7_9.x86_64
    --> Processing Dependency: libsamba-errors.so.1()(64bit) for package: libsmbclient-4.10.16-13.el7_9.x86_64
    Error: shim-x64 conflicts with kernel-container-3.10.0-0.0.0.2.el7.x86_64
    [[email protected] yum.repos.d]#
    
  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    Thanks for the additional info. You can run the following to exclude the package completely as a workaround until the release team remove it from yum.oracle.com:

    yum-config-manager --save --setopt=ol7_latest.exclude=kernel-container
    

    If you don't have yum-config-manager, just add exclude = kernel-container to the [ol7_latest] repo stanza in the /etc/yum.repos.d/oracle-linux-ol7.repo configuration file.

    User_DT13V
  • Beremour
    Beremour Member Posts: 8 Red Ribbon

    And what about installation process ?

    Sorry for no screens in starting post.. Will post now


  • Todd Vierling-Oracle
    Todd Vierling-Oracle Member Posts: 20 Employee

    Thanks. We're going to get kernel-container removed from yum since it isn't supposed to be there. Once that's done, we'll test the above to make sure it doesn't mistakenly pull that package in.

Sign In or Register to comment.