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

    Upgrade to new VM - ghost packages after a restore from the backup.

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 1.2k 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.
    • A
      ashleydrees
      last edited by

      I was in the position of not having enough disk space on my old install to do an inlace update and did not want to mess about trying to change disk sizes - so i installed a new vm with the latest release (2.3.1-RELEASE (amd64)) and then imported the config from a backup.

      Once i had fixed a couple of glitches and got everything running again, i am left with a couple of ghost packages.

      In the control panel i get…
      named Domain Name Service
      nrpe2 Nagios NRPEv2 Daemon

      These packages seem to no longer be available in the packages - but how do i loose them from the GUI or will they eventually make their way into the packages and i can eventually re-install them?

      1 Reply Last reply Reply Quote 0
      • luckman212L
        luckman212 LAYER 8
        last edited by

        1. Backup

        2. Edit your config.xml manually, delete the sections from <installedpackages>that relate to the packages you want to remove. Be careful when editing the XML to preserve the syntax. I suggest using an editor with syntax highlighting (e.g. Atom or VScode) to help you spot errors.

        3. Do the same thing for

        <menu>, <services>and other sections – best bet is to do a text search for your package name as Phil suggests below...

        4. Restore config

        That should do it….</services></menu></installedpackages>

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

          And you might find entries in the services section. Search for the package name in config.xml, think and remove each bit.

          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
          • luckman212L
            luckman212 LAYER 8
            last edited by

            good point Phil - I added your suggestion to my last msg  ;)

            1 Reply Last reply Reply Quote 0
            • A
              ashleydrees
              last edited by

              Thanks all, i'll have a go at that.

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