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

    2.1-release [Update - Success]

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    75 Posts 29 Posters 27.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.
    • I
      ilium007
      last edited by

      Is there any clean way of removing packages that havent finished installing / or removing the packages that no longer show up in my installed package list ?

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        One last thing - To me, it seems people with Alix have so far been far more willing to spend 3 hours or more in forums than to do a clean wipe and reinstall of all services, so I STILL have no idea if avahi will work after a fresh re-install.  Don't think anyone has done it.  (But I do fresh install at the first sign of a snag - I don't like beating my head against walls)

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          @ilium007:

          Is there any clean way of removing packages that havent finished installing / or removing the packages that no longer show up in my installed package list ?

          Type pkg_info/pbi_info into shell… pkg_delete/pbi_delete to remove.

          1 Reply Last reply Reply Quote 0
          • I
            ilium007
            last edited by

            @kejianshi:

            One last thing - To me, it seems people with Alix have so far been far more willing to spend 3 hours or more in forums than to do a clean wipe and reinstall of all services, so I STILL have no idea if avahi will work after a fresh re-install.  Don't think anyone has done it.  (But I do fresh install at the first sign of a snag - I don't like beating my head against walls)

            Probably because doing a 'fresh' install is not as easy as throwing in a CD and booting on an Alix as it is on a PC based system… I dunno..  I would rather fix a problem than do a fresh install and never know what went wrong or how to fix it.

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              Its faster, thats for sure - But you gotta live with this thing for a long time.

              1 Reply Last reply Reply Quote 0
              • I
                ilium007
                last edited by

                @kejianshi:

                Its faster, thats for sure - But you gotta live with this thing for a long time.

                Maybe…

                1. find screwdriver and open case
                2. find CF card reader and dd image

                you get the idea. Not as easy / quick as putting in a CD and hitting reset.

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  Yep - Thats what i was thinking…  Exactly.  Its hard?

                  1 Reply Last reply Reply Quote 0
                  • I
                    ilium007
                    last edited by

                    @kejianshi:

                    Yep - Thats what i was thinking…  Exactly.  Its hard?

                    I might try and find a nice Aton based board and build a new system.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      Atom works, but I think your system is salvageable.  I wouldn't set the box on fire or any thing just yet.

                      1 Reply Last reply Reply Quote 0
                      • I
                        ilium007
                        last edited by

                        @kejianshi:

                        Atom works, but I think your system is salvageable.  I wouldn't set the box on fire or any thing just yet.

                        :D :D

                        Removing avahi now:

                        
                        [2.1-RELEASE][admin@pfSense.harland]/root(7): pbi_delete -v avahi-0.6.29-i386
                        Running pre-removal script: /var/db/pbi/installed/avahi-0.6.29-i386/pre-remove.sh
                        Removing: /usr/pbi/avahi-i386
                        
                        1 Reply Last reply Reply Quote 0
                        • P
                          phil.davis
                          last edited by

                          Type pkg_info/pbi_info into shell… pkg_delete/pbi_delete to remove.

                          After using pbi_info and pbi_delete you can also look in:
                          a) /usr/local/pkg
                          b) /usr/local/etc/rc.d
                          and get rid of the scripts starting with the package name, or obviously related to the package.
                          If you are reinstalling straight away, those things will get overwritten anyway by the install, so you don't really have to clean them out.
                          There will still be the menu options that the package added into the config. Those are in config.xml and will appear in your webGUI menus, but clicking them will give an error. Again, if you are reinstalling the package those will all become valid.
                          The cleanest way to "clean up" a package is

                          1. uninstall (or clean it out as above if the uninstall won't go),
                          2. install properly from the GUI,
                          3. uninstall (which should now uninstall cleanly).
                            I haven't had to start from a fresh CF card for a long time now - it should be quite possible to recover gracefully from package installs that die part way through.

                          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                          1 Reply Last reply Reply Quote 0
                          • I
                            ilium007
                            last edited by

                            @phil.davis:

                            Type pkg_info/pbi_info into shell… pkg_delete/pbi_delete to remove.

                            After using pbi_info and pbi_delete you can also look in:
                            a) /usr/local/pkg
                            b) /usr/local/etc/rc.d
                            and get rid of the scripts starting with the package name, or obviously related to the package.
                            If you are reinstalling straight away, those things will get overwritten anyway by the install, so you don't really have to clean them out.
                            There will still be the menu options that the package added into the config. Those are in config.xml and will appear in your webGUI menus, but clicking them will give an error. Again, if you are reinstalling the package those will all become valid.
                            The cleanest way to "clean up" a package is

                            1. uninstall (or clean it out as above if the uninstall won't go),
                            2. install properly from the GUI,
                            3. uninstall (which should now uninstall cleanly).
                              I haven't had to start from a fresh CF card for a long time now - it should be quite possible to recover gracefully from package installs that die part way through.

                            Excellent news ! I know the Alix is underpowered but it is small, uses no power and is a nice little red steel case :D

                            1 Reply Last reply Reply Quote 0
                            • P
                              phil.davis
                              last edited by

                              I know the Alix is underpowered but it is small, uses no power and is a nice little red steel case

                              Yours will run faster in a red case. I only have black cases  :(
                              Once you get it up and running with links stable and "a decent bit" of free memory after installing and configuring "42 packages", it should run fine. The challenges so far for me are the boot, where lots of stuff gets going together and the poor little thing struggles, and link (hardware or gateway or VPN) down/up events that need a bit of memory headroom for check_reload_status to do all the stuff it wants.

                              As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                              If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                              1 Reply Last reply Reply Quote 0
                              • M
                                MaxPF
                                last edited by

                                Last night I updated my Alix 2d13 from 2.1RC2 to 2.1 Release without issues. All packages reintalled.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ilium007
                                  last edited by

                                  @MaxPF:

                                  Last night I updated my Alix 2d13 from 2.1RC2 to 2.1 Release without issues. All packages reintalled.

                                  Did you have to re-install them or were they there after the reboot ?

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    doktornotor Banned
                                    last edited by

                                    @ilium007:

                                    @MaxPF:

                                    Last night I updated my Alix 2d13 from 2.1RC2 to 2.1 Release without issues. All packages reintalled.

                                    Did you have to re-install them or were they there after the reboot ?

                                    5 updated Alixes here, no manual reinstall required. Incl. this abused testbed overloaded with packages.

                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      ilium007
                                      last edited by

                                      My issues seem to be fixed now. Removed Avahi and re-installed other packages (LED pkg for Alix board and OpenVPN client exporter).

                                      Thanks for your help guys :D

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        doktornotor Banned
                                        last edited by

                                        @ilium007:

                                        My issues seem to be fixed now. Removed Avahi and re-installed other packages (LED pkg for Alix board and OpenVPN client exporter).

                                        Well, all good then. Still leaves the question why stuff like avahi, snort or squid are even offered on nanobsd.

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          ilium007
                                          last edited by

                                          Not sure - but now I need a new way to get my mDNS packets across VLANs. I have a separate 'internal' wifi network to secure traffic from the internal ethernet. I also have a 'guest' wifi network that is even more restricted but without Avahi / mDNS I can't get traffic across the VLANs to allow things such as Apple Remote (control music / Apple TV etc).

                                          First world problems I know :D

                                          1 Reply Last reply Reply Quote 0
                                          • GruensFroeschliG
                                            GruensFroeschli
                                            last edited by

                                            An alternate way to get around the mDNS problem is to configure the IGMP proxy.

                                            I'm not really sure what avahi actually does (i know it's an mDNS implementation, but that's about it).
                                            What i do know is to allow mDNS devices to communicate over a router, you need to route 224.0.0.251 (which the igmp proxy should be able to do).

                                            We do what we must, because we can.

                                            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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