Date: Sun, 29 Mar 2026 08:24:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 294113] make install fails because needed software is already installed Message-ID: <bug-294113-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294113 Bug ID: 294113 Summary: make install fails because needed software is already installed Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sblachmann@gmail.com I am attempting to install Telegram desktop. Pkg fails shamefully. It pretends it installed successfully but it installed nothing, no files are installed. So next attempt to install is via ports. But this also fails in a gross manner: ===> Installing for qt6-lottie-6.9.1 ===> Checking if qt6-lottie is already installed ===> qt6-lottie-6.9.1 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 qt6-lottie without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 BUG: make install / pkg demand to reinstall an already-installed package, even though exactly the correct version is installed. EXPECTED BEHAVIOUR: There is nothing to do in this step. The package required is already there. Thus make install / pkg should just skip to the next step. If for some reason this behaviour is not desired, there should at least be an option to gracefully skip the intended destructive action. (Yes, destructive... ask yourself, can you still count how many of your FreeBSD installations have been damaged by pkg?) SOLUTION: Either fix make / pkg so they behave the expected way. Or, add an opposite option to "FORCE_PKG_REGISTER", maybe "USE_ALREADY_REGISTERED"? -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294113-227>
