Upgraded from 13.x release to 14.4 and now I can't use the ports tree?
Kaya Saman <[email protected]> Tue, 26 May 2026 06:43:14 +0100
| Newsgroups | gmane.os.freebsd.questions |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've just gone through the upgrade procedure described here: https://docs.freebsd.org/en/books/handbook/cutting-edge/ and updated to 14.4 from 13.5 (I think was the latest release version?), uname output: 14.4-RELEASE-p3 FreeBSD 14.4-RELEASE-p3 GENERIC amd64 When I try to build ports now, this is what I keep getting: ===>>> Creating a backup package for old version portmaster-3.35 Creating package for portmaster-3.35 pkg-static: file '/usr/local/share/licenses/portmaster-3.35/BSD2CLAUSE' is missing pkg-static: package creation failed ===>>> Package creation failed for portmaster-3.35! ===>>> Ignore this error [i] ===>>> Abort update [a] ===>>> Retry [r] ===>>> How would you like to proceed? [i] No packages matched for pattern 'portmaster-3.35' Checking integrity... done (0 conflicting) 1 packages requested for removal: 0 locked, 1 missing ===> Installing for portmaster-3.35 ===> Checking if portmaster is already installed ===> portmaster-3.35 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of portmaster without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop. make[1]: stopped making "/usr/ports/ports-mgmt/portmaster/work/.install_done.portmaster._usr_local" in /usr/ports/ports-mgmt/portmaster *** Error code 1 Stop. make: stopped making "install" in /usr/ports/ports-mgmt/portmaster ===>>> A backup package for portmaster-3.35 should be located in /usr/ports/packages/portmaster-backup ===>>> Installation of portmaster-3.35 (ports-mgmt/portmaster) failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> ports-mgmt/portmaster This command has been saved to ~/portmasterfail.txt For some reason I'm unable to use either portmaster or even the standard 'make' command under any of the ports eg: :/usr/ports/ports-mgmt/portmaster # make deinstall; make install clean ===> Deinstalling for portmaster ===> Deinstalling portmaster-3.35 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: portmaster: 3.33 Number of packages to be removed: 1 [1/1] Deinstalling portmaster-3.33... [1/1] Deleting files for portmaster-3.33: 100% ===> Installing for portmaster-3.35 ===> Checking if portmaster is already installed ===> portmaster-3.35 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of portmaster without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop. make[1]: stopped making "/usr/ports/ports-mgmt/portmaster/work/.install_done.portmaster._usr_local" in /usr/ports/ports-mgmt/portmaster *** Error code 1 Stop. make: stopped making "install clean" in /usr/ports/ports-mgmt/portmaster There's a mismatch somewhere but what's going on? Do I need to update the ports tree? It seems there is no more "portsnap" command so should I clean out /usr/ports completely then use the git version described here: https://docs.freebsd.org/en/books/handbook/ports/ I guess this would be needed: # git clone --depth 1 https://git.FreeBSD.org/ports.git /usr/ports ? Regards, Kaya