Find the answer to your Linux question:
Results 1 to 6 of 6
Dear all, I am new to linux and debian and recently, I downloaded the yum utility using the apt-get install command but anytime I try using the yum command to ...
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    9

    Unhappy Help with yum

    Dear all,
    I am new to linux and debian and recently, I downloaded the yum utility using the apt-get install command but anytime I try using the yum command to install a package, I get errors like below:
    yum install httpd
    Warning, could not load sqlite, falling back to pickle
    Setting up Update Process
    Setting up repositories
    No Repositories Available to Set Up
    Reading repository metadata in from local files
    Could not find update match for httpd
    No Packages marked for Update/Obsoletion

    Can anyone please tell me the reasons for this problem.

  2. #2
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    Debian has the following ways of installing software: apt-get, aptitude and Synaptic (graphical) or double clicking a .deb file(I think it's called "gebi"). Using yum or rpm instead may cause damage to your system as they will "buypass" Debian's package manager.
    Apt-get works similarly to yum, so there isn't much, if anything, that yum will offer you over apt.

  3. #3
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Hiya!
    I think part of the problem here is that YUM isn't a Debian tool, it's a Fedora/Redhat tool for RPM based systems. I'm not saying it won't work with Debian but I am saying that you probably will have to *make* it work with Debian....such as installing RPM, which is required to use YUM and adding your own repositories and whatnot.
    It would make life a lot easier for you if you could/would use apt-get or synaptic to install software in Debian.
    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.

  4. #4
    Just Joined!
    Join Date
    Dec 2008
    Posts
    9

    Thumbs up

    Please all, Is there a command for apt-get to search if a software package exists before downloading it and thanks for all your replies, I think I am getting to understand things a little now.

  5. #5
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    A simple table of apt commands is in Distrowatch.
    For a more complete guide to apt, check this link.

    Basically you need to run the following 3 commands:
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install <pkg>
    The first 2 will update ALL your programs. The 3rd will install the program you want. If you decide you don't want to install it, just press "N" when it asks for confirmation.
    Synaptic, which is a grahical front end for apt has search capabilities. You can find it in System->Administration->Synaptic or
    Code:
    sudo synaptic

  6. #6
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    to search
    Code:
    apt-cache search <packagename>
    ex..
    apt-cache search apache
    to show the details of a specific named package
    Code:
    apt-cache show apache2

Posting Permissions

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