Find the answer to your Linux question:
Results 1 to 5 of 5
hi, i am using 64bit centos-5 i want to install a package which requires some dependencies. GUI software manager is not working properly package through yum is not available online. ...
  1. #1
    Linux User abhishek456's Avatar
    Join Date
    Dec 2006
    Posts
    470

    Question rpm dependencies

    hi,

    i am using 64bit centos-5
    i want to install a package which requires some dependencies.

    GUI software manager is not working properly

    package through yum is not available online. so i downloaded rpm file of the software, now when i try too install downloaded package it's giving me dependency error

    can yum download dependencies when i install local package


    if yes how to do it
    life is the greatest opportunity that the nature had given you

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3

    rpm dependencies

    Hi,

    Mount the OS cd & create a local repository (point to packages location in cd) in YUM. Once you are ready execute yum clean all (will build the repo) then run yum install <package name>, it will automatically resolve the dependencies if they are available in the local repo.

    Regds,

    Vibin

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    8
    Quote Originally Posted by abhishek456 View Post
    can yum download dependencies when i install local package
    no.

    the best you can do is "rpm -qR downloaded.rpm" to check the dependencies.

    or

    check if there is any repo that provides the package you want to install.

  4. #4
    Just Joined!
    Join Date
    Jun 2010
    Posts
    8
    Quote Originally Posted by yukihisa View Post
    no.

    the best you can do is "rpm -qR downloaded.rpm" to check the dependencies.

    or

    check if there is any repo that provides the package you want to install.
    avobe, it is my missunderstanding.

    PLEASE TRY " yum localinstall downloaded.rpm".

    good luck!

  5. #5
    Linux User abhishek456's Avatar
    Join Date
    Dec 2006
    Posts
    470

    Exclamation

    Quote Originally Posted by yukihisa View Post
    avobe, it is my missunderstanding.

    PLEASE TRY " yum localinstall downloaded.rpm".

    good luck!
    sorry for late reply

    when it try
    yum localinstall downloaded.rpm
    it's showing dependencies list but it's not downloading

    here's an example

    [root@localhost Desktop]# yum localinstall chrome.rpm
    Loaded plugins: fastestmirror
    Setting up Local Package Process
    Examining chrome.rpm: google-chrome-stable-9.0.597.107-75357.x86_64
    Marking chrome.rpm to be installed
    Loading mirror speeds from cached hostfile
    * addons: repo.genomics.upenn.edu
    * base: centos.supsec.org
    * extras: centos.aol.com
    * updates: centos.corenetworks.net
    Resolving Dependencies
    --> Running transaction check
    ---> Package google-chrome-stable.x86_64 0:9.0.597.107-75357 set to be updated
    --> Processing Dependency: lsb >= 3.2 for package: google-chrome-stable
    --> Processing Dependency: xdg-utils for package: google-chrome-stable
    --> Processing Dependency: libcurl.so.4()(64bit) for package: google-chrome-stable
    --> Running transaction check
    ---> Package google-chrome-stable.x86_64 0:9.0.597.107-75357 set to be updated
    --> Processing Dependency: lsb >= 3.2 for package: google-chrome-stable
    --> Processing Dependency: libcurl.so.4()(64bit) for package: google-chrome-stable
    ---> Package xdg-utils.noarch 0:1.0.2-2.el5.centos set to be updated
    --> Finished Dependency Resolution
    google-chrome-stable-9.0.597.107-75357.x86_64 from /chrome has depsolving problems
    --> Missing Dependency: lsb >= 3.2 is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (/chrome)
    google-chrome-stable-9.0.597.107-75357.x86_64 from /chrome has depsolving problems
    --> Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (/chrome)
    Error: Missing Dependency: lsb >= 3.2 is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (/chrome)
    Error: Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (/chrome)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    [root@localhost Desktop]#
    life is the greatest opportunity that the nature had given you

Posting Permissions

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