Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unbound updated to 1.4.14

    Scheduled Pinned Locked Moved pfSense Packages
    26 Posts 5 Posters 6.7k 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.
    • marcellocM
      marcelloc
      last edited by

      You can try to remove it's packages with pkg_del but be carefull with package dependencies.

      After removing it, reinstall package.

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Yeah I could force a delete of the old packages and then install the current ones, but as you mention doesn't that break dependencies?

        How are you suppose to correctly update these packages?  So that you maintain dependencies?

        I have the 1.4.14 installed and it seems to be working with the old packages, but something is broke if the the other packages don't get updated as well if you ask me.

        And even when I removed the old unbound packages, using the package manager in pfsense did not seem to download the current unbound package I had to manually install it with pkg_add -r url

        edit:
        hmmm, take it back that everything is working.. Does not seem to want to listen on loopback for ipv4 or ipv6..  I have unchecked the interface saved, and rechecked and then saved and then restarted and only listening on 127.0.0.1 for control on port 953.

        Looks like going to have to manually edit config to get it to work, or use advanced options?

        Ok if just pick loopback it listens on loopback, but if pick both interfaces lan and loopback it only listens on lan

        interfacesunbound.png_thumb
        interfacesunbound.png

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          Yeah I could force a delete of the old packages and then install the current ones, but as you mention doesn't that break dependencies?

          When you try to delete some package that has dependencies, freebsd lists you dependecies and abort pkg_delete.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            yeah I agree so how do you update expat-2.0.1_1 to expat-2.0.1_2

            if you force delete of expat-2.0.1_1, don't you break dependencies so even if you install expat-2.0.1_2 the dependencies are broken, so then I could delete expat-2.0.1_2 without warning that others depend on it, etc.

            Same goes for the other 2 packages that 1.4.14 wants newer versions of.

            edit: btw I got it to listen on loopback by manual edit of /usr/local/etc/unbound/unbound.conf and then restart of services.

            Now its bound to both lan ipv4 and v6 and loopback ipv4 and v6

            tcp6      0      0 ::1.53                .                    LISTEN
            tcp4      0      0 127.0.0.1.53          .                    LISTEN
            tcp6      0      0 2001:470:xxxx:b8.53    .                    LISTEN
            tcp4      0      0 192.168.1.253.53      .                    LISTEN

            udp6      0      0 ::1.53                .
            udp4      0      0 127.0.0.1.53          .
            udp6      0      0 2001:470:xxxx:b8.53    .
            udp4      0      0 192.168.1.253.53      .

            But using the unbound gui to listen on both lan and loopback does not seem to work

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • W
              wagonza
              last edited by

              You mentioned the control 953 - that only listens on 127.0.0.1 but I am assuming you meant 53 does not want to listen on loopback?
              Ill check it out shortly.

              As to the dependancies there might be other packages, that you have installed, that depend on them so they wont be deleted.

              Follow me on twitter http://twitter.com/wagonza
              http://www.thepackethub.co.za

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                yeah control listens on loopback at 953

                tcp4       0      0 127.0.0.1.953          .                    LISTEN

                But it will not come up listening on .53 unless I manually edit the conf file.

                here are what I show as dependent on those packages.

                Information for expat-2.0.1_1:
                Comment:
                XML 1.0 parser written in C
                Required by:
                git-1.7.1.1
                fontconfig-2.8.0,1
                unbound-1.4.14

                The other 2 only show unbound needing them, so I could update those.  I don't recall every manually installing fontconfig?  But don't show anything depend on it.. So could delete and reinstall, but git I kind of need ;) with running 2.1 ;)

                edit: on a side note is http://files.pfsense.org down??  I can not seem to get to the packages dir.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • W
                  wagonza
                  last edited by

                  Ok package updated. It was an old bug which i fixed which then subsequently broke the loopback stuff.
                  files.pfsense.org is down at the moment. cmb is trying to sort it out.

                  Follow me on twitter http://twitter.com/wagonza
                  http://www.thepackethub.co.za

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    so when files comes back up will it be 1.4.14_01?  What about the dependency things – is this something I need to fix outside of the package gui?  Or should updating unbound also update those other packages?

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • W
                      wagonza
                      last edited by

                      Yeah don't worry about those and Installing any package will download the required dependencies.

                      Files.pfsense.org is back up so just reinstall the package.

                      Follow me on twitter http://twitter.com/wagonza
                      http://www.thepackethub.co.za

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        Ok that seems to have fixed it, now it listens on both lan and loop when both selected in the gui

                        Thanks!

                        But I did not see it download the actual package .tbz file – guess I could completely uninstall it and then check with pkg_info to see if unbound its gets removed and if it then download loads it.

                        But since it working and on current version I think will leave it until 1.4.15 comes out to test ;)

                        Thanks again for the fix!

                        But kind of curious still about the out of sync other packages.

                        So 1.4.14 says it needs expat-2.0.1_2, but have _1 installed -- can I force removal and then install _2 -- but could that break git, cuz I use that like once a week when new changes come out.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.