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

    Error after each package update

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    48 Posts 5 Posters 13.9k 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.
    • J
      jlepthien
      last edited by

      Thanks for clearing that up, jimp ;)

      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

      1 Reply Last reply Reply Quote 0
      • J
        jlepthien
        last edited by

        Now with a working PPPoE connection on startup almost everything worked fine except the nmap package wasn't installed. All other five package were. Can you confirm that? Or should I open a new ticket/thread for nmap?

        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          I haven't tried that one yet. Not sure what its deal might be.

          Try to reinstall it manually one more time and see if it survives the next firmware update again.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • J
            jlepthien
            last edited by

            All packages got reinstalled now after my latest upgrade. nmap shows up as installed but does not work. On console I get:

            [2.0-BETA5][admin@voldemort.hogwarts.lan]/root(9): nmap 
            nmap: Command not found.
            
            

            Also reinstalling the package did not work. Even completely removing and adding the package doesn't change this…

            | apple fanboy | music lover | network and security specialist | in love with cisco systems |

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Does pkg_info still show nmap installed?  What happens if you pkg_delete nmap-5.35.d1 and then reinstall?

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • J
                jlepthien
                last edited by

                @jimp:

                Does pkg_info still show nmap installed?  What happens if you pkg_delete nmap-5.35.d1 and then reinstall?

                Yes, pkg_info shows nmap installed. When I remove it and reinstall or completely delete and reinstall I now get the following error:

                /libexec/ld-elf.so.1: Shared object "libpcap.so.1" not found, required by "nmap"
                

                | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                1 Reply Last reply Reply Quote 0
                • P
                  pac
                  last edited by

                  I experienced the same issues with my ALIX board under 2.0-BETA4; had to revert back to 1.2.3-RELEASE because the system was too unstable.

                  jlepthien, would you say most of the packaging and WebGUI freezes have been fixed ? I could install 2.0-BETA5 01/08 and provide some additional feedback.

                  __.
                  pac

                  1 Reply Last reply Reply Quote 0
                  • R
                    romainp
                    last edited by

                    Juste to let know know:
                    with 2.0-BETA5 (i386) built on Tue Jan 11 14:19:18 EST 2011

                    I got this message at boot time:

                    One moment please, reinstalling packages...
                    pkg_info: no packages match pattern(s)
                    

                    Don't really know what it means…

                    Also, all my packages have been deinstalled but I don't know my just after the upgrade...

                    System log show this:

                    php: /pkg_mgr_install.php: The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '127', the output was '/usr/local/etc/rc.d/postfix.sh: /usr/local/sbin/postfix: not found'
                    

                    It's not the first time that even if a package have been removed the init scripts still alive.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      @romainp:

                      One moment please, reinstalling packages...
                      pkg_info: no packages match pattern(s)
                      

                      Don't really know what it means…

                      That's harmless but we've been trying to track it down.

                      @romainp:

                      Also, all my packages have been deinstalled but I don't know my just after the upgrade…

                      Someone else had that happen but we weren't able to replicate it. Near as I could tell, it was due to an upgrade that was done the last time that wasn't quite right, but the next one was OK and hasn't broken since. If someone can reliably replicate it on current snapshots that might help.

                      @romainp:

                      System log show this:

                      php: /pkg_mgr_install.php: The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '127', the output was '/usr/local/etc/rc.d/postfix.sh: /usr/local/sbin/postfix: not found'
                      

                      It's not the first time that even if a package have been removed the init scripts still alive.

                      That's up to the individual package maintainer to remove the script on deinstall. Not much to be done about that by the package system in general.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • R
                        romainp
                        last edited by

                        Thanks for those infos.

                        Maybe the package automatic deinstall was because my pppoe connection was down at boot time? It happen in earlier release that after a release upgrade, packages are deinstalled and then reinstalled automatically. I think yesterday it happens. Today, just de deinstall. I am impatient to see what will happen tomorrow! :-)
                        Just joking. I love pfSense and you all guys do a fantastic works.
                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          Lack of connectivity would explain it, I suppose. Might need some extra logic there to prevent that from happening.

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            I added some code to bail on the package update if there is no connectivity when the function is called. It won't be in the next new snapshot, but the one after.

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

                            1 Reply Last reply Reply Quote 0
                            • J
                              jlepthien
                              last edited by

                              Oh boy. Now all packages except avahi have been automatically reinstalled…

                              Still, nmap gives me an error:

                              /libexec/ld-elf.so.1: Shared object "libpcap.so.1" not found, required by "nmap"
                              
                              

                              | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                Try to reinstall it now. Remove it first with "x" on the installed packages screen and then pick it from the main list.

                                See if it behaves any better. I bumped it up to a newer version and made sure the dependencies were fixed.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jlepthien
                                  last edited by

                                  Ok that worked with nmap however I tried updating the snap and after that only five of my six packages git reinstalled. But after having a closer look I saw that they were not working. avahi gives me a 404 and Backup completely misssing. Tried reinstalling all packages with Diagnostics->/Backup/Restore and after that I still have the same avahi error. So I needed to remove and install it again.

                                  At least all these removing/installing doesn't need any reboots anymore…

                                  Thanks for your help again, jimp. Some small glitches but we're on the right way...

                                  | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    If you had the serial console hooked up while it upgraded, it would be nice to see the package reinstall messages from the console.

                                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jlepthien
                                      last edited by

                                      Guess it will be the same as always but next time I'll hook it up.

                                      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                                      1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        It will be different in at least one way, I added some text that does a connectivity test before reinstalling the packages, just wondering if it passes or fails when it lands in this state.

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          romainp
                                          last edited by

                                          For me it works, the text is displayed and the startup finish. I am very happy with this.
                                          Maybe in the gui for the package list it could be an exclamation mark saying that the packages needs to be reinstalled?
                                          I do not not why the upgrade require to sync/upgrade the package but if it is missed at boot time because of lack of connectivity, it should alert the user that he has to do something after the link goes up again.

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            Yeah I noticed that even if the upgrade fails something else is still clearing the flag file that says the packages need sync.

                                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

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