8c4a309400
prepare-system, upgrade-system package deletion bug: These two commands had a serious logic flaw that resulted in newly-built packages to be immediately deleted prior the pkg(8) repo command. (And the obvious result of the system not getting updated without re-running the same command.) The cause was that the first package validity scan marked the package for deletion, and this setting was never reset. The obsolete package was correctly deleted and rebuilt, but then it was quickly deleted again during the second package scan because the previous deletion mark was still present. The fix was simple: Reset the deletion marks before rebuilding the repository so the second scan proceeds accurately. Test case provided by Wapcaplet in FreeBSD forums |
||
---|---|---|
.. | ||
chucky | ||
dialog4ports | ||
dialog4ports-static | ||
distilator | ||
fastest_sites | ||
fbsdmon | ||
freebsd-bugzilla-cli | ||
genpatch | ||
genplist | ||
hs-porte | ||
jailaudit | ||
kpackagekit | ||
lsknobs | ||
managepkg | ||
mkreadmes | ||
octopkg | ||
p5-FreeBSD-Portindex | ||
p5-FreeBSD-Ports | ||
p5-FreeBSD-Ports-INDEXhash | ||
packagekit | ||
packagekit-qt4 | ||
pchecker | ||
pkg | ||
pkg-devel | ||
pkg-plist | ||
pkg-rmleaf | ||
pkg_cleanup | ||
pkg_cutleaves | ||
pkg_jail | ||
pkg_replace | ||
pkg_rmleaves | ||
pkg_search | ||
pkg_tree | ||
pkgcompare | ||
pkgs_which | ||
port-authoring-tools | ||
port-maintenance-tools | ||
portal | ||
portconf | ||
portdowngrade | ||
portell | ||
portest | ||
portfind | ||
portless | ||
portlint | ||
portmaster | ||
portrac | ||
portscout | ||
portsearch | ||
portshaker | ||
portshaker-config | ||
portsreinstall | ||
porttools | ||
porttree | ||
portupdate-scan | ||
portupgrade | ||
portupgrade-devel | ||
poudriere | ||
poudriere-devel | ||
psearch | ||
py-pytoport | ||
py-skog | ||
redports-node | ||
symports | ||
synth | ||
tinderbox | ||
wanted-ports | ||
xps | ||
Makefile |