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
    retropie 4.1dosboxpackageerror log
    4 Posts 2 Posters 3.0k 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.
    • SkittleBrau79S
      SkittleBrau79
      last edited by

      When I try to install the DOSBox package I'm getting the error in the log below. Anyone have an idea? Thanks for any help!

      Pi Model or other hardware: 3
      Power Supply used: 2.5V
      RetroPie Version Used: 4.1
      Built From: Image provided by RetroPie
      USB Devices connected: Keyboard
      Controller used: Saitek Gamepad
      Error messages received: See full error below
      File: libsdl-net1.2-dev, libsdl-sound1.2-dev, libasound2-dev, libpng12-dev
      Emulator: DOSBox
      How to replicate the problem:
      On the package installer screen, choose the optional package DOSBox (from either source or binary)

      From the logs:

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

      Did not find needed package(s): libsdl-net1.2-dev libsdl-sound1.2-dev libasound2-dev libpng12-dev. I am trying to install them now.
      Reading package lists...
      Building dependency tree...
      Reading state information...
      libpng12-dev is already the newest version.
      libpng12-dev set to manually installed.
      libasound2-dev is already the newest version.
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      libraspberrypi-dev : Depends: libraspberrypi0 (= 1.20161215-1) but 1.20161020-1 is to be installed
      libraspberrypi-doc : Depends: libraspberrypi0 (= 1.20161215-1) but 1.20161020-1 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
      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 libasound2-dev libpng12-dev.

      Log ended at: Mon 30 Jan 09:12:05 UTC 2017
      Total running time: 0 hours, 0 mins, 3 secs

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

        You have a problem with your current packages/dependencies/database. go to a terminal and do

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

        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

        SkittleBrau79S 1 Reply Last reply Reply Quote 0
        • SkittleBrau79S
          SkittleBrau79 @BuZz
          last edited by

          @BuZz Thank you very much, that fixed it! What types of actions cause this (so I don't repeat them)? I imagine there are a million reasons.

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

            @SkittleBrau79 you were installing packages before and your internet connection broke or an upgrade was interrupted or something. Impossible to say.

            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.