tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_add(8). Bug in handling the flag "automatic"?



 >> Reality is the following
 >>
 >>    asrock# pkg_info -Q automatic autoconf213
 >>    yes
 >>    asrock# pkg_add -UD /srv/pkgsrc_bin/NetBSD/x86_64/cache/All/autoconf213-2.13nb4.tgz
 >>    pkg_add: Warning: package `autoconf213-2.13nb4' was built for a platform:
 >>    pkg_add: NetBSD/x86_64 6.0 (pkg) vs. NetBSD/x86_64 6.1_STABLE (this host)
 >>    autoconf213-2.13nb4: unregistering info file /usr/pkg/info/autoconf213.info
 >>    autoconf213-2.13nb4: registering info file /usr/pkg/info/autoconf213.info
 >>    asrock# pkg_info -Q automatic autoconf213
 >>    yes
 >>    asrock#
 >>
 >> As you can see "automatic" is still here.
 >> Am I doing something wrong?

> The docs are off.   "pkg_add -U" is special, for updating a package in
> place.   The fact that you want to update a package to a newer version
> is not a clue that you want to make it not automatic.

Thanks for explanation. How about the following patch?

Attachment: 1
Description: patch

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index