Find the answer to your Linux question:
Results 1 to 8 of 8
i've used yum (and rpm) for some time now, and have finally run into one of those dependency problem. I am trying to install git (among other programs), and I ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    5

    [SOLVED] yum dependency horror

    i've used yum (and rpm) for some time now, and have finally run into one of those dependency problem. I am trying to install git (among other programs), and I have reach an empass. Nothing I've tried has worked, and I just know there is a simple solution to this that I just don't know.

    It all started by skipping a dependency in the past (don't remember the package). I figured there would be something to clean that up, so I just continued.

    Here is my output:

    Code:
    # yum install git
    Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, security
    Adding en_US to language list
    Loading mirror speeds from cached hostfile
    Excluding mirror: ftp-stud.fht-esslingen.de
    Excluding mirror: wftp.tu-chemnitz.de
     * livna: rpm.livna.org
     * rpmfusion-free: mirror.hiwaay.net
    Excluding mirror: mirrors.cat.pdx.edu
     * rpmfusion-free-updates: mirror.hiwaay.net
     * rpmfusion-nonfree: mirror.hiwaay.net
    Excluding mirror: mirrors.cat.pdx.edu
     * rpmfusion-nonfree-updates: mirror.hiwaay.net
    Excluding mirror: archive.linux.duke.edu
    Excluding mirror: astromirror.uchicago.edu
    Excluding mirror: fedora.mirror.iweb.ca
    Excluding mirror: linux.nssl.noaa.gov
    Excluding mirror: mirror.anl.gov
    Excluding mirror: mirror.csclub.uwaterloo.ca
    Excluding mirror: mirror.ipnode.info
    Excluding mirror: mirror.its.dal.ca
    Excluding mirror: mirror.pnl.gov
    Excluding mirror: mirror.unl.edu
    Excluding mirror: mirrors.cat.pdx.edu
     * updates: distro.ibiblio.org
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package git.i686 0:1.7.3.3-1.fc14 set to be installed
    --> Processing Dependency: perl-Git = 1.7.3.3-1.fc14 for package: git-1.7.3.3-1.fc14.i686
    --> Processing Dependency: perl(Error) for package: git-1.7.3.3-1.fc14.i686
    --> Processing Dependency: perl(Git) for package: git-1.7.3.3-1.fc14.i686
    --> Running transaction check
    ---> Package git.i686 0:1.7.3.3-1.fc14 set to be installed
    --> Processing Dependency: perl(Error) for package: git-1.7.3.3-1.fc14.i686
    ---> Package perl-Git.noarch 0:1.7.3.3-1.fc14 set to be installed
    --> Processing Dependency: perl(Error) for package: perl-Git-1.7.3.3-1.fc14.noarch
    --> Finished Dependency Resolution
    Error: Package: perl-Git-1.7.3.3-1.fc14.noarch (updates)
               Requires: perl(Error)
    Error: Package: git-1.7.3.3-1.fc14.i686 (updates)
               Requires: perl(Error)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    If I need to, I could go and download the RPM package and install it that way, but I'd like to get YUM back working properly.

    Thanks in advanced.
    Last edited by MikeTbob; 12-16-2010 at 01:38 AM. Reason: Added Code Tags

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Hello and Welcome!
    I would suggest that you update the entire system before you try to proceed any further. One missing Depend can cause more grief than you think. Login as root or use sudo for each command.
    Code:
    yum clean all
    Code:
    yum check-update
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    5
    Thanks. Both command ran successfully, but the install still failed with the same error.

    Here's the results:

    Code:
    # yum clean all
    Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, security
    Adding en_US to language list
    Cleaning repos: adobe-linux-i386 livna rpmfusion-free rpmfusion-free-updates rpmfusion-nonfree
                  : rpmfusion-nonfree-updates updates
    Cleaning up Everything
    Cleaning up list of fastest mirrors
    0 delta-package files removed, by presto
    
    =============
    Code:
    [root@dwill-fed14 android-x86]# yum check-update
    Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, security
    Adding en_US to language list
    Determining fastest mirrors
    updates/metalink                                                                             |  16 kB     00:00     
    Excluding mirror: ftp-stud.fht-esslingen.de
    Excluding mirror: wftp.tu-chemnitz.de
     * livna: rpm.livna.org
     * rpmfusion-free: mirror.hiwaay.net
    Excluding mirror: mirrors.cat.pdx.edu
     * rpmfusion-free-updates: mirror.hiwaay.net
     * rpmfusion-nonfree: mirror.hiwaay.net
    Excluding mirror: mirrors.cat.pdx.edu
     * rpmfusion-nonfree-updates: mirror.hiwaay.net
    Excluding mirror: archive.linux.duke.edu
    Excluding mirror: astromirror.uchicago.edu
    Excluding mirror: fedora.mirror.iweb.ca
    Excluding mirror: linux.nssl.noaa.gov
    Excluding mirror: mirror.anl.gov
    Excluding mirror: mirror.csclub.uwaterloo.ca
    Excluding mirror: mirror.ipnode.info
    Excluding mirror: mirror.its.dal.ca
    Excluding mirror: mirror.pnl.gov
    Excluding mirror: mirror.unl.edu
    Excluding mirror: mirrors.cat.pdx.edu
     * updates: distro.ibiblio.org
    adobe-linux-i386                                                                             |  951 B     00:00     
    adobe-linux-i386/primary                                                                     |  12 kB     00:00     
    adobe-linux-i386                                                                                              18/18
    livna                                                                                        | 3.2 kB     00:00     
    livna/primary_db                                                                             | 3.0 kB     00:00     
    rpmfusion-free                                                                               | 2.7 kB     00:00     
    rpmfusion-free/primary_db                                                                    | 266 kB     00:00     
    rpmfusion-free-updates                                                                       | 3.3 kB     00:00     
    rpmfusion-free-updates/primary_db                                                            | 121 kB     00:00     
    rpmfusion-nonfree                                                                            | 2.7 kB     00:00     
    rpmfusion-nonfree/primary_db                                                                 | 114 kB     00:00     
    rpmfusion-nonfree-updates                                                                    | 3.3 kB     00:00     
    rpmfusion-nonfree-updates/primary_db                                                         |  29 kB     00:00     
    updates                                                                                      | 4.7 kB     00:00     
    updates/primary_db                                                                           | 2.5 MB     00:32     
    
    e2fsprogs.i686                                            1.41.12-6.fc14                                     updates
    e2fsprogs-libs.i686                                       1.41.12-6.fc14                                     updates
    elfutils.i686                                             0.150-2.fc14                                       updates
    elfutils-libelf.i686                                      0.150-2.fc14                                       updates
    elfutils-libs.i686                                        0.150-2.fc14                                       updates
    libcom_err.i686                                           1.41.12-6.fc14                                     updates
    libss.i686                                                1.41.12-6.fc14                                     updates
    pcsc-lite.i686                                            1.6.4-2.fc14                                       updates
    pcsc-lite-libs.i686                                       1.6.4-2.fc14                                       updates
    ql2400-firmware.noarch                                    5.03.13-1.fc14                                     updates
    ql2500-firmware.noarch                                    5.03.13-1.fc14                                     updates
    
    ====================
    Code:
    [root@dwill-fed14 android-x86]# yum install git
    Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, security
    Adding en_US to language list
    Loading mirror speeds from cached hostfile
    Excluding mirror: ftp-stud.fht-esslingen.de
    Excluding mirror: wftp.tu-chemnitz.de
     * livna: rpm.livna.org
     * rpmfusion-free: mirror.hiwaay.net
    Excluding mirror: mirrors.cat.pdx.edu
     * rpmfusion-free-updates: mirror.hiwaay.net
     * rpmfusion-nonfree: mirror.hiwaay.net
    Excluding mirror: mirrors.cat.pdx.edu
     * rpmfusion-nonfree-updates: mirror.hiwaay.net
    Excluding mirror: archive.linux.duke.edu
    Excluding mirror: astromirror.uchicago.edu
    Excluding mirror: fedora.mirror.iweb.ca
    Excluding mirror: linux.nssl.noaa.gov
    Excluding mirror: mirror.anl.gov
    Excluding mirror: mirror.csclub.uwaterloo.ca
    Excluding mirror: mirror.ipnode.info
    Excluding mirror: mirror.its.dal.ca
    Excluding mirror: mirror.pnl.gov
    Excluding mirror: mirror.unl.edu
    Excluding mirror: mirrors.cat.pdx.edu
     * updates: distro.ibiblio.org
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package git.i686 0:1.7.3.3-1.fc14 set to be installed
    --> Processing Dependency: perl-Git = 1.7.3.3-1.fc14 for package: git-1.7.3.3-1.fc14.i686
    --> Processing Dependency: perl(Error) for package: git-1.7.3.3-1.fc14.i686
    --> Processing Dependency: perl(Git) for package: git-1.7.3.3-1.fc14.i686
    --> Running transaction check
    ---> Package git.i686 0:1.7.3.3-1.fc14 set to be installed
    --> Processing Dependency: perl(Error) for package: git-1.7.3.3-1.fc14.i686
    ---> Package perl-Git.noarch 0:1.7.3.3-1.fc14 set to be installed
    --> Processing Dependency: perl(Error) for package: perl-Git-1.7.3.3-1.fc14.noarch
    --> Finished Dependency Resolution
    Error: Package: perl-Git-1.7.3.3-1.fc14.noarch (updates)
               Requires: perl(Error)
    Error: Package: git-1.7.3.3-1.fc14.i686 (updates)
               Requires: perl(Error)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Last edited by MikeTbob; 12-16-2010 at 02:23 AM. Reason: Added Code Tags

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Try installing the updates first. I'm not positive about the command because I haven't tried Fedora in a long time.
    Code:
    yum update
    If that doesn't work, you can do it one by one.
    Code:
    yum update e2fsprogs
    I've highlighted (Bold) all the ones you need you update, in your previous post.
    Keep in mind, you have some disabled repos and I don't know if the depends you need for git are in those disabled repos.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    Just Joined!
    Join Date
    Dec 2010
    Posts
    5
    wow. didn't even know I had updates. the updates went in without any problems. and the single update did also, but the "yum install git" failed the the same way.

    I guess I need to download them one time at a time.

  6. #6
    Just Joined!
    Join Date
    Dec 2010
    Posts
    5
    figured it out. don't know why it is, but my main fedora.repo was NOT enabled. edited the file, enabled it, and did a plain "yum update" and it is updating everything successfully.

    thanks for all the help.

  7. #7
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Sweet!
    Glad you got it sorted. Feel free to mark this thread as solved from the "Thread tools" at the top of this thread.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  8. #8
    Just Joined!
    Join Date
    Dec 2010
    Posts
    5
    i don't see solved as an option. i give permission to mark it solved.

Posting Permissions

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