Deb packages for 4.2.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    Deb packages for 4.2.5

    Hello everyone,

    I have built initial deb packages for V4.2.5 (on x86_64 architecture). If any Debian-based Linux users (Ubuntu etc.) would like to try it, I'd welcome any bug reports in this thread.

    Please note this is NOT a fully polished package, there are likely to be bugs with installation and configuration. (There should not of course be any bugs in the game once it is running!!)

    Please do NOT create any bugs on Launchpad or bugs.debian.org, as this package has not been uploaded yet. I am just looking for early feedback. As soon as I can find a sponsor I will get it approved and uploaded.

    To try it out you need to download BOTH


    and



    And then you just type

    sudo dpkg -i angband_4.2.5-1_amd64.deb
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
  • backwardsEric
    Knight
    • Aug 2019
    • 531

    #2
    Thank you for setting up Debian packages. I'm guessing that the packages want Debian 12 (or derivatives of that). If they were supposed to install cleanly on Debian 11, this is the result I got on such a system from running "dpkg -i angband_4.2.5-1_amd64.deb" as root (no angband package previously installed; packages needed for building angband from source were present; the downloaded .debs from your post were in the directory where dpkg was run):

    Code:
    Selecting previously unselected package angband.
    (Reading database ... 204552 files and directories currently installed.)
    Preparing to unpack angband_4.2.5-1_amd64.deb ...
    Unpacking angband (1:4.2.5-1) ...
    dpkg: dependency problems prevent configuration of angband:
     angband depends on libc6 (>= 2.34); however:
      Version of libc6:amd64 on system is 2.31-13+deb11u5.
     angband depends on libsdl2-mixer-2.0-0 (>= 2.6.0); however:
      Version of libsdl2-mixer-2.0-0:amd64 on system is 2.0.4+dfsg1-3.
     angband depends on angband-data; however:
      Package angband-data is not installed.
    
    dpkg: error processing package angband (--install):
     dependency problems - leaving unconfigured
    Processing triggers for gnome-menus (3.36.0-1) ...
    Processing triggers for desktop-file-utils (0.26-1) ...
    Processing triggers for mailcap (3.69) ...
    Processing triggers for man-db (2.9.4-2) ...
    Errors were encountered while processing:
     angband
    Purging what had been installed seemed to go well:

    Code:
    (Reading database ... 204625 files and directories currently installed.)
    Removing angband (1:4.2.5-1) ...
    Purging configuration files for angband (1:4.2.5-1) ...
    Processing triggers for man-db (2.9.4-2) ...
    Last edited by backwardsEric; September 7, 2023, 07:52. Reason: Added note about purging

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #3
      Ah, my bad - dpkg doesn't handle dependencies like apt does. You actually need to try

      dpkg -i angband_4.2.5-1_amd64.deb angband-data_4.2.5-1_all.deb

      ...so that they're installed together. That still won't help with the libc or sdl-mixer version dependencies though, so that's good intel. I don't know if those deps are real or if those older versions would be fine - do you fancy trying the install with --force (or is it --ignore-depends) and then seeing if it runs and if SDL sound works?
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • backwardsEric
        Knight
        • Aug 2019
        • 531

        #4
        Code:
        dpkg --force-depends -i angband_4.2.5-1_amd64.deb angband_4.2.5-1_all.deb
        did work for installation on Debian 11. Running the installed version ("which angband" reported /usr/games/angand) gave:

        Code:
        angband: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by angband)
        angband: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by angband)
        The unmet dependencies do look they would be satisfied if I had Debian 12 installed. Debian 11's glibc is 2.31-13+deb11u6 while Debian 12's is 2.36-9+deb12u1; Debian 11's libsdl2-mixer is 2.0.4+dfsg1-1 while Debian 12's is 2.6.2+dfsg-2.

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #5
          Thank you for the report - I have queried this with Debian, because of course Angband itself will be perfectly happy with the Debian 11 version of libc, so there is no reason at all to crank up the version required. I don't know if this is a deliberate Debian policy, or simply a default that I can change in the packaging. But I will pursue it, because it's definitely worth enabling it to build and run on Debian 11.

          And anyway, on principle we should not have unnecessary dependencies.
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • Magnate
            Angband Devteam member
            • May 2007
            • 5110

            #6
            Hello Eric, would you mind having another go with the new version (4.2.5+dfsg-1), from the same place (bass.fugue.org/angband/4.2.5). Just the two debs, angband and angband-data. I hope they will install on Debian 11, but don't know. I am working with someone from the Debian Games Team which is good (faster development) but also bad (I don't know what's going on with my own package). Let me know...
            "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

            Comment

            • backwardsEric
              Knight
              • Aug 2019
              • 531

              #7
              Running

              Code:
              dpkg -i angband_4.2.5+dfsg-1_amd64.deb angband-data_4.2.5+dfsg-1_all.deb
              gave these messages

              Code:
              Selecting previously unselected package angband.
              (Reading database ... 204552 files and directories currently installed.)
              Preparing to unpack angband_4.2.5+dfsg-1_amd64.deb ...
              Unpacking angband (1:4.2.5+dfsg-1) ...
              Selecting previously unselected package angband-data.
              Preparing to unpack angband-data_4.2.5+dfsg-1_all.deb ...
              Unpacking angband-data (1:4.2.5+dfsg-1) ...
              dpkg: error processing archive angband-data_4.2.5+dfsg-1_all.deb (--install):
               trying to overwrite '/usr/share/icons/hicolor/128x128/apps/angband.png', which is also in package angband 1:4.2.5+dfsg-1
              dpkg: dependency problems prevent configuration of angband:
               angband depends on libc6 (>= 2.34); however:
                Version of libc6:amd64 on system is 2.31-13+deb11u5.
               angband depends on libsdl2-mixer-2.0-0 (>= 2.6.0); however:
                Version of libsdl2-mixer-2.0-0:amd64 on system is 2.0.4+dfsg1-3.
               angband depends on angband-data; however:
                Package angband-data is not installed.
              
              dpkg: error processing package angband (--install):
               dependency problems - leaving unconfigured
              Processing triggers for hicolor-icon-theme (0.17-2) ...
              Processing triggers for man-db (2.9.4-2) ...
              Processing triggers for gnome-menus (3.36.0-1) ...
              Processing triggers for desktop-file-utils (0.26-1) ...
              Processing triggers for mailcap (3.69) ...
              Errors were encountered while processing:
               angband-data_4.2.5+dfsg-1_all.deb
               angband
              So it looks like the dependency on Debian 12 or better is still there, and there is at least one conflict for a file that both angband and angband-data are trying to install.

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #8
                Yes I fixed the conflict over the icon files, but I can't fix the Debian 11 problem, I don't know where the Deb 12 deps are coming from! Sorry, still working on it
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

                • Magnate
                  Angband Devteam member
                  • May 2007
                  • 5110

                  #9
                  In case anyone is interested:



                  (But I don't know if it will work on Debian 11 - please say if not and I will look into backporting)
                  "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                  Comment

                  • backwardsEric
                    Knight
                    • Aug 2019
                    • 531

                    #10
                    Congratulations and many thanks for getting a 4.* version of Angband into the unstable packages. With regards to the compatibility with Debian 11, using the .deb files downloaded from https://packages.debian.org/unstable/angband and https://packages.debian.org/unstable/angband-data, and running this as root on Debian 11,

                    Code:
                    env PATH="$PATH":/usr/sbin/local:/usr/sbin:/sbin dpkg -i angband_4.2.5+dfsg-1_amd64.deb angband-data_4.2.5+dfsg-1_all.deb
                    , gave:

                    Code:
                    Unpacking angband (1:4.2.5+dfsg-1) ...
                    Selecting previously unselected package angband-data.
                    Preparing to unpack angband-data_4.2.5+dfsg-1_all.deb ...
                    Unpacking angband-data (1:4.2.5+dfsg-1) ...
                    dpkg: dependency problems prevent configuration of angband:
                     angband depends on libc6 (>= 2.34); however:
                      Version of libc6:amd64 on system is 2.31-13+deb11u5.
                     angband depends on libsdl2-mixer-2.0-0 (>= 2.6.0); however:
                      Version of libsdl2-mixer-2.0-0:amd64 on system is 2.0.4+dfsg1-3.
                    
                    dpkg: error processing package angband (--install):
                     dependency problems - leaving unconfigured
                    dpkg: dependency problems prevent configuration of angband-data:
                     angband-data depends on libjs-sphinxdoc (>= 5.2); however:
                      Version of libjs-sphinxdoc on system is 3.4.3-2.
                    
                    dpkg: error processing package angband-data (--install):
                     dependency problems - leaving unconfigured
                    Processing triggers for hicolor-icon-theme (0.17-2) ...
                    Processing triggers for man-db (2.9.4-2) ...
                    Processing triggers for gnome-menus (3.36.0-1) ...
                    Processing triggers for desktop-file-utils (0.26-1) ...
                    Processing triggers for mailcap (3.69) ...
                    Errors were encountered while processing:
                     angband
                     angband-data

                    Comment

                    • Magnate
                      Angband Devteam member
                      • May 2007
                      • 5110

                      #11
                      (Sorry Eric, I haven't done the Debian 11 backport yet, someone has broken sbuild so I can't make a Debian 11 chroot yet)

                      But I have today successfully packaged and installed angband-nonfree, which contains the sound files and shockbolt's tiles. It's available at https://bass.fugue.org/angband/angba....2.5-1_all.deb

                      The main angband package has now successfully migrated to testing (trixie). This new non-free package might take a while to get uploaded, but it can be installed manually.
                      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                      Comment

                      • Magnate
                        Angband Devteam member
                        • May 2007
                        • 5110

                        #12
                        Update: the Debian masters wanted me to continue the old angband-audio package, rather than create the new -nonfree package. So angband-audio has been updated, and Dubtrain's wonderful sounds will soon be available for Ubuntu and other Debian-based Linux distributions. They should Just Work(tm), providing you install angband-audio at the same time as, or after, angband and angband-data. Please post or ping me or file a bug if they don't.

                        This means that Shockbolt's tiles are not available in Debian (or Ubuntu etc.). If there is any demand, I can try and package them and ask for them to be added separately.
                        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                        Comment

                        Working...
                        😀
                        😂
                        🥰
                        😘
                        🤢
                        😎
                        😞
                        😡
                        👍
                        👎