Find the answer to your Linux question:
Results 1 to 2 of 2
I'm jumping through hoops trying to create a base installation of Fedora into a loopback file, for use on Amazon's elastic cloud. However, yum is giving me a lot of ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    1

    Yum base installation to loopback file

    I'm jumping through hoops trying to create a base installation of Fedora into a loopback file, for use on Amazon's elastic cloud. However, yum is giving me a lot of errors when I try to do a groupinstall of 'Base' into the mounted loopback file.

    I think the problem has to do with the fact that my 'regular' OS is the x86_64 distribution, but I'm trying to install the i386/i686 distribution into the mounted loopback file/filesystem using the installroot option to yum. Can somebody verify this for me?

    The error that yum gives me is this:

    Code:
    Transaction Check Error: 
      file /usr/share/doc/ccid-1.3.9/GemPCTwin.reader.conf from install of ccid-1.3.9-2.fc12.i686 conflicts with file from package ccid-1.3.9-2.fc12.x86_64 
      file /usr/bin/pm-is-supported from install of pm-utils-1.2.5-7.fc12.i686 conflicts with file from package pm-utils-1.2.5-7.fc12.x86_64 
      file /usr/sbin/pm-hibernate from install of pm-utils-1.2.5-7.fc12.i686 conflicts with file from package pm-utils-1.2.5-7.fc12.x86_64 
      file /usr/sbin/pm-powersave from install of pm-utils-1.2.5-7.fc12.i686 conflicts with file from package pm-utils-1.2.5-7.fc12.x86_64 
      file /usr/sbin/pm-suspend from install of pm-utils-1.2.5-7.fc12.i686 conflicts with file from package pm-utils-1.2.5-7.fc12.x86_64 
      file /usr/sbin/pm-suspend-hybrid from install of pm-utils-1.2.5-7.fc12.i686 conflicts with file from package pm-utils-1.2.5-7.fc12.x86_64 
      file /usr/share/doc/nfs-utils-1.2.1/Makefile from install of nfs-utils-1:1.2.1-4.fc12.i686 conflicts with file from package nfs-utils-1:1.2.1-4.fc12.x86_64 
      file /usr/bin/.ssh.hmac from install of openssh-clients-5.3p1-19.fc12.i686 conflicts with file from package openssh-clients-5.3p1-19.fc12.x86_64 
      file /usr/share/authconfig/authconfig-tui.pyc from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/authconfig-tui.pyo from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/authconfig.pyc from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/authconfig.pyo from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/authinfo.pyc from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/authinfo.pyo from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/dnsclient.pyc from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/dnsclient.pyo from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/shvfile.pyc from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64 
      file /usr/share/authconfig/shvfile.pyo from install of authconfig-6.0.0-2.fc12.i686 conflicts with file from package authconfig-6.0.0-2.fc12.x86_64
    My yum configuration file is this:

    Code:
    [main] 
    cachedir=/var/cache/yum-loop 
    debuglevel=2 
    logfile=/var/log/yum-loop.log 
    exclude=*-debuginfo 
    gpgcheck=0 
    obsoletes=1 
    reposdir=/dev/null 
    
    [base] 
    name=Fedora Core 12 - i386 - Base 
    mirrorlist=htttp://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=i386 
    enabled=1 
    
    [updates-released] 
    name=Fedora Core 12 - i386 - Released Updates 
    mirrorlist=htttp://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=i386 
    enabled=1
    So, as far as I can tell, yum shouldn't know anything about x86_64 packages, but for some reason does and insists on 'upgrading' some of them instead of just installing the 'Base' group into the installroot.

    Am I on the right path here? I really need to get this figured out. Worst case scenario is I have to strap in an extra hard drive and do another installation of Fedora that's just i686, so that I can do another installation of 'Base' into the installroot of the same base architecture.

    NOTE: ignore the htttp part of the URLs -- the forum won't let me give actual URLs until I've posted more. It's really correct in the configuration file I'm using. Thanks.

  2. #2
    Linux Newbie unlimitedscolobb's Avatar
    Join Date
    Jan 2008
    Posts
    120
    Quote Originally Posted by nstoddar View Post
    I think the problem has to do with the fact that my 'regular' OS is the x86_64 distribution, but I'm trying to install the i386/i686 distribution into the mounted loopback file/filesystem using the installroot option to yum. Can somebody verify this for me?
    I'm not well familiar with Fedora, although I did use for some time in the past. However, I am sure your post would be a little more helpful if you also told the forum the exact command line you are using.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...