Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16
I didn't know you could install apt in RedHat....that's pretty sweet, thanks for linking to it....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux User Mado's Avatar
    Join Date
    Jun 2003
    Posts
    255

    I didn't know you could install apt in RedHat....that's pretty sweet, thanks for linking to it.

  2. #12
    Just Joined!
    Join Date
    Jul 2003
    Location
    Calgary, Alberta, Canada
    Posts
    8
    Those RPMs work alot better, but I still haven't been able to install GCC. When I try to install GCC it can't find cpp 3.1.2 or libgcc 3.1.2. But when I try to install those, it tells me that I already have newer versions installed. Is there anywasy to check the version info for these, and / or revert them to 3.1.2.

    Thanks for all the help so far.

  3. #13
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    If you installed apt-get, you can install gcc by doing a "apt-get install gcc" or if that don't work, do a "apt-cache search gcc" to see what to install.

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined!
    Join Date
    Jul 2003
    Location
    Calgary, Alberta, Canada
    Posts
    8
    apt installed without a hitch, but I still can't get gcc to install. When I run the command 'apt-get install gcc' it returns with this error:

    Package gcc has no available version, but exists in the database.
    This typically means that the package was mentioned in a dependency and
    never uploaded, has been obsoleted or is not available with the contents
    of sources.list
    E: Package gcc has no installation candidate
    After running 'apt-cache search gcc' I ran 'apt-get install' on every package it brought up, each one was already installed but would return this error:

    The following packages have unmet dependencies:
    glibc-devel: Conflicts: binutils (< 2.13.90.0.16-5) but 1:2.13.2-1 is to be installed
    E: Unmet dependencies.

  6. #15
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Try:

    just to be sure:

    rpm -e binutils
    apt-get remove binutils

    then:
    apt-get install binutils

    Jason

  7. #16
    Just Joined!
    Join Date
    Jul 2003
    Location
    Calgary, Alberta, Canada
    Posts
    8
    I run 'apt-get remove binutils' which gives me the same dependency error as above. I ran 'apt-get -f install' as it has been suggesting. This removed the following packages: compat-gcc, compat-gcc+, and binutils.

    Now when I run 'apt-get install binutils' it gives me this error:

    Package binutils has no available version, but exists in the database.
    This typically means that the package was mentioned in a dependency and
    never uploaded, has been obsoleted or is not available with the contents
    of sources.list
    I get the same error when I run 'apt-get install gcc' also, except it says "Package gcc has no available version...etc"

    Then I tried to reinstall binutils 2.13.2-1 from the RPM, the progress bar fills to 100% then the installing dialog box freezes and after a few moments it asks me if I want to kill the appliaction.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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