Find the answer to your Linux question:
Results 1 to 10 of 10
When I try to install "libstdc++6-4.3-dev_4.3.2-1.1_i386.deb" it says: libstdc++6-4.3 depends on g++-4.3 (=4.3.2-1.1) When I try to install "g++-4.3_4.3.2-1.1_i386.deb" it says: g++-4.3 depends on libstdc++6-4.3-dev (=4.3.2-1.1) so now I got ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36

    [SOLVED] 2 packages depend on each other??


    When I try to install "libstdc++6-4.3-dev_4.3.2-1.1_i386.deb" it says:
    libstdc++6-4.3 depends on g++-4.3 (=4.3.2-1.1)
    When I try to install "g++-4.3_4.3.2-1.1_i386.deb" it says:
    g++-4.3 depends on libstdc++6-4.3-dev (=4.3.2-1.1)

    so now I got 2 packages that I can't install because each one of them depends on the other...
    What can I do?

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    How do you install them? With apt-get?

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36
    with dpkg -i

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    If you want to do it your way see man dpkg and pay attention to --force and --ignore-depends options.

  6. #5
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36
    and if I want to do it your way?
    By the way I didnt really get how to use the tips you gave me, in the description they just tell me what the code --ignore and stuff does but with no examples how to use it.

  7. #6
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    Quote Originally Posted by DroidFighter View Post
    and if I want to do it your way?


    There's no my way. The way you do it depends on needs. If you need to install something you should normally use apt-get, if it's something not in official repo then you need to improvise, add repos or download deb files and install and resolve dependencies manually.

  8. #7
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36
    somehow apt-get never worked for me. Every time I tried it it said something is missing so I just used the dpkg command and downloaded deb files directly from the site...

    Anyway that's not my problem. My problem is how do I install packages that depend on each other... Still can't figure it out...

  9. #8
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    apt-get not working points to problems in your system. If it was my box I'd look into this ASAP.

    My problem is how do I install packages that depend on each other... Still can't figure it out.
    How about experimenting a little with options provided on dpkg man page? Let us know if you need spoon-feeding.

  10. #9
    Just Joined! jdkaye's Avatar
    Join Date
    Aug 2010
    Location
    Gorizia, Italy
    Posts
    65
    Quote Originally Posted by DroidFighter View Post
    Anyway that's not my problem. My problem is how do I install packages that depend on each other... Still can't figure it out...
    You could try installing them at the same time.
    Code:
    aptitude install package1 package2 ... packageN
    I would use aptitude rather than apt-get.
    ciao,
    jdk

  11. #10
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36
    thanks jdk your comment solved my problem, I didn't use aptitude but I installed both with dpkg -i in one command and it worked

Posting Permissions

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