RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Package installation errors installing DOSBox

    Scheduled Pinned Locked Moved Help and Support
    dosboxerrorsinstallation
    9 Posts 2 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cesarabandeira
      last edited by

      Re: Package installation errors installing DOSBox

      I have tried to do as instructed but it didnt solved. If anyone can help me.

      pi@retrocesar:~ $ sudo apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... failed.
      The following packages have unmet dependencies:
      expect : Depends: tcl8.5 (>= 8.5.0) but it is not installed
      libexpat1-dev : Depends: libexpat1 (= 2.1.0-6+deb8u1) but 2.1.0-6+deb8u4 is ins talled
      libjpeg62-turbo-dev : Depends: libjpeg62-turbo (= 1:1.3.1-12) but 1:1.4.1-2 is installed
      xfonts-base : Depends: xfonts-utils (>= 1:7.5+2) but it is not installed
      E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by he ld packages.
      E: Unable to correct dependencies

      Thanks

      BuZzB 1 Reply Last reply Reply Quote 0
      • C
        cesarabandeira
        last edited by

        Here is the log tried with source

        Log started at: Tue 8 Aug 13:07:18 UTC 2017

        RetroPie-Setup version: 4.2.14 (90b1484)
        System: Linux retrocesar 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux

        = = = = = = = = = = = = = = = = = = = = =
        Installing dependencies for 'dosbox' : DOS emulator
        = = = = = = = = = = = = = = = = = = = = =

        Did not find needed package(s): libsdl-net1.2-dev libsdl-sound1.2-dev. I am trying to install them now.
        Hit http://archive.raspberrypi.org jessie InRelease
        Hit http://mirrordirector.raspbian.org jessie InRelease
        Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
        Hit http://archive.raspberrypi.org jessie/main armhf Packages
        Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
        Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
        Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
        Hit http://archive.raspberrypi.org jessie/ui armhf Packages
        Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
        Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
        Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
        Ign http://archive.raspberrypi.org jessie/main Translation-en
        Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
        Ign http://mirrordirector.raspbian.org jessie/main Translation-en
        Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
        Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
        Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
        Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
        Ign http://archive.raspberrypi.org jessie/ui Translation-en
        Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
        Reading package lists...
        Reading package lists...
        Building dependency tree...
        Reading state information...
        You might want to run 'apt-get -f install' to correct these:
        The following packages have unmet dependencies:
        expect : Depends: tcl8.5 (>= 8.5.0) but it is not going to be installed
        libexpat1-dev : Depends: libexpat1 (= 2.1.0-6+deb8u1) but 2.1.0-6+deb8u4 is to be installed
        libjpeg62-turbo-dev : Depends: libjpeg62-turbo (= 1:1.3.1-12) but 1:1.4.1-2 is to be installed
        libsdl-net1.2-dev : Depends: libsdl-net1.2 (= 1.2.8-4) but it is not going to be installed
        libsdl-sound1.2-dev : Depends: libsdl-sound1.2 (= 1.0.3-7+b1) but it is not going to be installed
        xfonts-base : Depends: xfonts-utils (>= 1:7.5+2) but it is not going to be installed
        E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
        Could not install package(s): libsdl-net1.2-dev libsdl-sound1.2-dev.

        Log ended at: Tue 8 Aug 13:07:51 UTC 2017
        Total running time: 0 hours, 0 mins, 33 secs

        BuZzB 1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators @cesarabandeira
          last edited by BuZz

          @cesarabandeira Please provide details of your set-up as detailed in the link at the top of the screen. if apt-get -f install doesn't work it sounds like you have some 3rd party repo packages installed (or some outdated packages / packages from an older dist) that is breaking dependencies - this may well be a problem on your system and not related retropie.

          I need more info though - so I can try and reproduce.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @cesarabandeira
            last edited by

            @cesarabandeira also please post the output of

            sudo apt-get update
            sudo apt-get dist-upgrade
            sudo apt-get -f install
            

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            C 2 Replies Last reply Reply Quote 0
            • C
              cesarabandeira
              last edited by

              @buzz said in Package installation errors installing DOSBox:

              sudo apt-get update

              pi@retrocesar:~ $ sudo apt-get -f install
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Correcting dependencies... failed.
              The following packages have unmet dependencies:
              expect : Depends: tcl8.5 (>= 8.5.0) but it is not installed
              libexpat1-dev : Depends: libexpat1 (= 2.1.0-6+deb8u1) but 2.1.0-6+deb8u4 is installed
              libjpeg62-turbo-dev : Depends: libjpeg62-turbo (= 1:1.3.1-12) but 1:1.4.1-2 is installed
              xfonts-base : Depends: xfonts-utils (>= 1:7.5+2) but it is not installed
              E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
              E: Unable to correct dependencies

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @cesarabandeira
                last edited by

                @cesarabandeira That's not the output for all the commands I gave. no dist-upgrade output etc.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • C
                  cesarabandeira @BuZz
                  last edited by

                  @buzz
                  trocesar:~ $ sudo apt-get update
                  Hit http://mirrordirector.raspbian.org jessie InRelease
                  Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
                  Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/main Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
                  Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
                  Get:2 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
                  Hit http://archive.raspberrypi.org jessie/ui armhf Packages
                  Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
                  Ign http://archive.raspberrypi.org jessie/main Translation-en
                  Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
                  Ign http://archive.raspberrypi.org jessie/ui Translation-en
                  Fetched 193 kB in 16min 14s (197 B/s)
                  Reading package lists... Done

                  1 Reply Last reply Reply Quote 0
                  • C
                    cesarabandeira @BuZz
                    last edited by

                    @buzz said in Package installation errors installing DOSBox:

                    sudo apt-get dist-upgrade

                    pi@retrocesar:~ $ sudo apt-get dist-upgrade
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    You might want to run 'apt-get -f install' to correct these.
                    The following packages have unmet dependencies:
                    expect : Depends: tcl8.5 (>= 8.5.0) but it is not installed
                    libexpat1-dev : Depends: libexpat1 (= 2.1.0-6+deb8u1) but 2.1.0-6+deb8u4 is installed
                    libjpeg62-turbo-dev : Depends: libjpeg62-turbo (= 1:1.3.1-12) but 1:1.4.1-2 is installed
                    xfonts-base : Depends: xfonts-utils (>= 1:7.5+2) but it is not installed
                    E: Unmet dependencies. Try using -f.

                    pi@retrocesar:~ $ sudo apt-get -f install
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    Correcting dependencies... failed.
                    The following packages have unmet dependencies:
                    expect : Depends: tcl8.5 (>= 8.5.0) but it is not installed
                    libexpat1-dev : Depends: libexpat1 (= 2.1.0-6+deb8u1) but 2.1.0-6+deb8u4 is installed
                    libjpeg62-turbo-dev : Depends: libjpeg62-turbo (= 1:1.3.1-12) but 1:1.4.1-2 is installed
                    xfonts-base : Depends: xfonts-utils (>= 1:7.5+2) but it is not installed
                    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
                    E: Unable to correct dependencies

                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @cesarabandeira
                      last edited by

                      @cesarabandeira I'm not sure how you got the dependency issue, but it must be due to some packages installed. Can't reproduce it on my rpi. Might just be easiest to back up settings and use a fresh image - or maybe aptitude could help (probably need to install it).

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.