<p>You can rebuild pkg from dports in probably five minutes.</p>
<div class="gmail_quote">On Feb 12, 2015 8:02 PM, "Pierre Abbat" <<a href="mailto:phma@leaf.dragonflybsd.org">phma@leaf.dragonflybsd.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">pkg 1.4.6 had a bug in which, if told to upgrade a package, it would leave the<br>
database thinking the package is installed, but its files are actually missing.<br>
I just tried to install a package, and pkg found it had to upgrade itself.<br>
Here's what happened:<br>
<br>
# pkg ins minicom<br>
Updating Avalon repository catalogue...<br>
Avalon repository is up-to-date.<br>
All repositories are up-to-date.<br>
New version of pkg detected; it needs to be installed first.<br>
The following 1 packages will be affected (of 0 checked):<br>
<br>
Installed packages to be UPGRADED:<br>
pkg: 1.4.6 -> 1.4.11<br>
<br>
The process will require 51 KB more space.<br>
2 MB to be downloaded.<br>
<br>
Proceed with this action? [y/N]: y<br>
Fetching pkg-1.4.11.txz: 100% 2 MB 99.0k/s 00:22<br>
Checking integrity... done (0 conflicting)<br>
[1/1] Upgrading pkg from 1.4.6 to 1.4.11...<br>
[1/1] Extracting pkg-1.4.11: 20%<br>
pkg: archive_read_extract(): truncated input<br>
[1/1] Extracting pkg-1.4.11: 100%<br>
[1/1] Deleting files for pkg-1.4.11: 100%<br>
# pkg ins minicom<br>
pkg: not found<br>
<br>
So I have a downloaded pkg package in /var/cache/pkg/. What do I do with it?<br>
<br>
Pierre<br>
--<br>
ve ka'a ro klaji la .romas. se jmaji<br>
<br>
</blockquote></div>