pkg ntimed?

Karl Denninger karl at denninger.net
Thu Jan 12 13:25:44 UTC 2017


On 1/12/2017 07:02, Paul Mather wrote:
> On Jan 12, 2017, at 7:44 AM, Karl Denninger <karl at denninger.net> wrote:
>
>> On 1/12/2017 00:45, Oleksandr Tymoshenko wrote:
>>> Karl Denninger (karl at denninger.net) wrote:
>>>> I saw a reference to this and attempted to fetch it, but...
>>>>
>>>> root at IPGw:~ # pkg install ntimed
>>>> Updating FreeBSD repository catalogue...
>>>> FreeBSD repository is up-to-date.
>>>> All repositories are up-to-date.
>>>> The following 1 package(s) will be affected (of 0 checked):
>>>>
>>>> New packages to be INSTALLED:
>>>>        ntimed: 0.0.2015.01.30
>>>>
>>>> The process will require 46 KiB more space.
>>>> 20 KiB to be downloaded.
>>>>
>>>> Proceed with this action? [y/N]: y
>>>> Fetching ntimed-0.0.2015.01.30.txz: 100%   20 KiB  20.8kB/s    00:01
>>>> pkg: cached package ntimed-0.0.2015.01.30: size mismatch, fetching from
>>>> remote
>>>> Fetching ntimed-0.0.2015.01.30.txz: 100%   20 KiB  20.8kB/s    00:01
>>>> pkg: cached package ntimed-0.0.2015.01.30: size mismatch, cannot continue
>>>> root at IPGw:~ #
>>> Just a guess: try running "pkg update" before "pkg install" to get
>>> latest package info.
>>>
>> Nope...
>>
>> root at IPGw:/home/karl # pkg update
>> Updating FreeBSD repository catalogue...
>> FreeBSD repository is up-to-date.
>> All repositories are up-to-date.
>> root at IPGw:/home/karl # pkg install ntimed
>> Updating FreeBSD repository catalogue...
>> FreeBSD repository is up-to-date.
>> All repositories are up-to-date.
>> The following 1 package(s) will be affected (of 0 checked):
>>
>> New packages to be INSTALLED:
>>        ntimed: 0.0.2015.01.30
>>
>> The process will require 46 KiB more space.
>> 20 KiB to be downloaded.
>>
>> Proceed with this action? [y/N]: y
>> Fetching ntimed-0.0.2015.01.30.txz: 100%   20 KiB  20.8kB/s    00:01
>> pkg: cached package ntimed-0.0.2015.01.30: size mismatch, fetching from
>> remote
>> Fetching ntimed-0.0.2015.01.30.txz: 100%   20 KiB  20.8kB/s    00:01
>> pkg: cached package ntimed-0.0.2015.01.30: size mismatch, cannot continue
>> root at IPGw:/home/karl #
>
> Try "pkg update -f".  That's worked for me when I've had these complaints about size mismatches.  Oddly enough, it's only been a problem on FreeBSD/arm.
>
> Cheers,
>
> Paul.
>
That worked.... after I resized the tmpfs filesystem.  Apparently
there's a part of the extraction and update process that hits there, and
if it doesn't complete fully (because it ran out of room in /tmp) it
leaves pkg in a state where it never tries to update the database again.....

-- 
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2993 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170112/ac92beba/attachment.bin>


More information about the freebsd-arm mailing list