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

    Error when updating: Could not install package(s): libpng-dev

    Scheduled Pinned Locked Moved Help and Support
    libpng12-dev
    26 Posts 5 Posters 2.6k 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.
    • BuZzB
      BuZz administrators @bernhard263
      last edited by BuZz

      @bernhard263 because you're specifying a "fix" for an unsupported board / os combo that requires editing of core files without even clarifying why it's needed to an 11 month old thread.

      It's also not the best way to accomplish 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
      • BuZzB
        BuZz administrators
        last edited by

        BTW I wasn't aware there was still a mapping issue with libpng as I thought I had sorted it, but actually there's a small bug still in the rework - it maps correctly for Ubuntu 16.10 but not 16.04. I will correct the issue, but note this is an old version of Ubuntu and things are likely to break.

        Also we don't support the Banana Pi board, so I assume you're running some fork ?

        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

        B 1 Reply Last reply Reply Quote 0
        • B
          bernhard263
          last edited by

          BuZz I'm sure that you as a developer know a better way to fix this. I am not an expert by any means. But you said Ubuntu 16.04 is not supported anymore, so there will be no official fix, I had to edit the script myself and that's what I came up with. I didn't call it a "fix", I know it's a hack. It's just a temporary workaround that allows the cores to be built. Until there is a better solution, it gets the job done, that is all. Maybe it helps someone who has the same problem.

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

            @bernhard263 There is an official fix - as it was a bug from before when I fixed this for 16.10 - I just resolved it. You will get a warning popup saying it's unsupported which needs updating also actually (just the wording probably).

            https://github.com/RetroPie/RetroPie-Setup/commit/2d7297d2d20f6acaff0d0e63eaceff0e65b526b4

            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
            • B
              bernhard263 @BuZz
              last edited by

              @BuZz said in Error when updating: Could not install package(s): libpng-dev:

              BTW I wasn't aware there was still a mapping issue with libpng as I thought I had sorted it, but actually there's a small bug still in the rework - it maps correctly for Ubuntu 16.10 but not 16.04. I will correct the issue, but note this is an old version of Ubuntu and things are likely to break.

              Also we don't support the Banana Pi board, so I assume you're running some fork ?

              No, I'm running the normal RetroPie and RetroPie-Setup from the official git repository. I know the Banana Pi is not supported, but I believe this has nothing to do with it, it's just a general issue with Ubuntu 16.04, as the creator of this thread had a regular Intel PC and he was running into the same problem. Anyway, that's great that you will try to fix it, thank you. A permanent solution would be much better than a a hack.

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

                @bernhard263 It should already be fixed. See above link.

                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

                B 1 Reply Last reply Reply Quote 0
                • B
                  bernhard263 @BuZz
                  last edited by bernhard263

                  @BuZz I have just tried it, works like a charm. Thank you! Something else I noticed, every time I'm running retropie-setup I now get a popup window saying "Raspbian/Debian Jessie and Ubuntu versions below 16.04 are no longer supported". Did you just add that? This did not happen before.

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

                    @bernhard263 I mentioned that above.

                    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 1
                    • B
                      bhuthogg
                      last edited by

                      Hi I am having this same error showing on x86 I've run through the tutorial but used mint latest 32bit (using an old thin client) not sure what I can do can't get any emulators installed due to libpng-dev ....
                      Thanks

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

                        @bhuthogg start a new topic providing details of your set up. Including OS version. Retropie version 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

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          bhuthogg @BuZz
                          last edited by

                          @BuZz https://retropie.org.uk/forum/topic/27043/libpng-dev-not-installed-x86

                          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.