Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 15:38:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193016] New: pkg upgrade does not use latest version from repo
Message-ID:  <bug-193016-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193016

            Bug ID: 193016
           Summary: pkg upgrade does not use latest version from repo
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: pirzyk@FreeBSD.org

When trying to update some packages on my new FreeBSD 10.0 system, I am seeing
not all of them getting upgraded.  I have this in my repo:

pirzyk@freebsd:/mnt/repo/FreeBSD/10.0-RELEASE/amd64
33>l opendkim*
-rw-rw-r--  1 root  wheel  - 327604 Aug 22 08:02 opendkim-2.9.2_3.txz
-rw-rw-r--  1 root  wheel  - 327240 Aug 26 08:52 opendkim-2.9.2_5.txz

pkg version knows the package needs to be updated:

pirzyk@m2j4:/usr/ports/security/badhosts
105>sudo pkg version -e opendkim
Password:
opendkim-2.9.2_3                   <

but when I try to do the upgrade, it says we are current:
pirzyk@m2j4:/usr/ports/security/badhosts
106>sudo pkg upgrade opendkim   
Updating repository catalogue
www.home.pirzyk.org repository is up-to-date
All repositories are up-to-date
Checking integrity... done (0 conflicting)
Your packages are up to date
pirzyk@m2j4:/usr/ports/security/badhosts
110>pkg info opendkim
opendkim-2.9.2_3
Name           : opendkim
Version        : 2.9.2_3
Installed on   : Fri Aug 22 09:15:42 CDT 2014
...

Looking at the packagesite.yaml file we see both packages listed:

pirzyk@freebsd:/tmp/pkg
25>grep opendkim packagesite/packagesite.yaml 
{"name":"opendkim","origin":"mail/opendkim","version":"2.9.2_5","arch":"freebsd:10:x86:64","maintainer":"umq@ueo.co.jp","prefix":"/usr/local","www":"http://opendkim.org/","sum":"09ecae4723d04ceeeb91d9db6645f19173d3dd7d1f838a2fed96ed85a8eefaf8","flatsize":1373019,"comment":"DKIM
library and milter
implementation","path":"opendkim-2.9.2_5.txz","repopath":"opendkim-2.9.2_5.txz","licenselogic":"and","licenses":["BSD3CLAUSE","SENDMAIL"],"pkgsize":327240,"desc":"OpenDKIM
is an open source implementation of the DKIM (Domain Keys Identified \nMail)
sender authentication system proposed by the E-mail Signing Technology \nGroup
(ESTG), now standardized by the IETF (RFC4871). It also includes
\nimplementations of the Author Domain Signing Practises (ADSP, RFC5617) and
\nVouch By Reference (VBR, RFC5518) proposed standards.\n\nThe OpenDKIM package
consists of a library that implements the DKIM service\nand a milter-based
filter application that can plug in to any milter-aware\nMTA to provide that
service to sufficiently recent sendmail MTAs and other\nMTAs that support the
milter protocol. \n\nWWW:
http://opendkim.org/","deps":{"lua52":{"origin":"lang/lua52","version":"5.2.3_2"},"perl5.18":{"origin":"lang/perl5.18","version":"5.18.2_4"},"unbound":{"origin":"dns/unbound","version":"1.4.22_4"}},"categories":["mail","security"],"shlibs_required":["liblua-5.2.so","libunbound.so"],"shlibs_provided":["libopendkim.so"],"options":{"FILTER":"on","CURL":"off","GNUTLS":"off","JANSSON":"off","LDNS":"off","LMDB":"off","LUA":"on","MEMCACHED":"off","BDB_BASE":"off","OPENDBX":"off","OPENLDAP":"off","POPAUTH":"off","QUERY_CACHE":"off","SASL":"off","STOCK_RESOLVER":"off","UNBOUND":"on","ALLSYMBOLS":"off","CODECOVERAGE":"off","DEBUG":"off","ADSP_LISTS":"off","ATPS":"off","DB_HANDLE_POOLS":"off","DEFAULT_SENDER":"off","DIFFHEADERS":"off","IDENTITY_HEADER":"off","LDAP_CACHING":"off","POSTGRES_RECONNECT_HACK":"off","RATE_LIMIT":"off","RBL":"off","REPLACE_RULES":"off","REPRRD":"off","REPUTATION":"off","RESIGN":"off","SENDER_MACRO":"off","SOCKETDB":"off","STATS":"off","STATSEXT":"off","VBR":"off"},"me
 ssage":"************************************************************************\n\nIn
order to run this port, write your opendkim.conf and:\n\nif you use sendmail,
add the milter socket `socketspec'
in\n/etc/mail/<your_configuration>.mc:\n\nINPUT_MAIL_FILTER(`dkim-filter',
`S=_YOUR_SOCKET_SPEC_, F=T, T=R:2m')\n\nor if you use postfix write your milter
socket `socketspec' in\n/usr/local/etc/postfix/main.cf:\n\nsmtpd_milters =
_YOUR_SOCKET_SPEC_\n\n\nAnd to run the milter from startup, add
milteropendkim_enable=\"YES\" in\nyour /etc/rc.conf.\nExtra options can be
found in startup script.\n\nNote: milter sockets must be accessible from
postfix/smtpd;\n  using inet sockets might be
preferred.\n\n************************************************************************"}
{"name":"opendkim","origin":"mail/opendkim","version":"2.9.2_3","arch":"freebsd:10:x86:64","maintainer":"umq@ueo.co.jp","prefix":"/usr/local","www":"http://opendkim.org/","sum":"66222f030b29e5f68ebf1b70024517e2306a7f6642229c42fdf8519cf24acb39","flatsize":1373051,"comment":"DKIM
library and milter
implementation","path":"opendkim-2.9.2_3.txz","repopath":"opendkim-2.9.2_3.txz","licenselogic":"and","licenses":["BSD3CLAUSE","SENDMAIL"],"pkgsize":327604,"desc":"OpenDKIM
is an open source implementation of the DKIM (Domain Keys Identified \nMail)
sender authentication system proposed by the E-mail Signing Technology \nGroup
(ESTG), now standardized by the IETF (RFC4871). It also includes
\nimplementations of the Author Domain Signing Practises (ADSP, RFC5617) and
\nVouch By Reference (VBR, RFC5518) proposed standards.\n\nThe OpenDKIM package
consists of a library that implements the DKIM service\nand a milter-based
filter application that can plug in to any milter-aware\nMTA to provide that
service to sufficiently recent sendmail MTAs and other\nMTAs that support the
milter protocol. \n\nWWW:
http://opendkim.org/","deps":{"lua52":{"origin":"lang/lua52","version":"5.2.3_2"},"perl5.18":{"origin":"lang/perl5.18","version":"5.18.2_4"},"unbound":{"origin":"dns/unbound","version":"1.4.22_3"}},"categories":["mail","security"],"shlibs_required":["liblua-5.2.so","libunbound.so"],"shlibs_provided":["libopendkim.so"],"options":{"FILTER":"on","CURL":"off","GNUTLS":"off","JANSSON":"off","LDNS":"off","LMDB":"off","LUA":"on","MEMCACHED":"off","BDB_BASE":"off","OPENDBX":"off","OPENLDAP":"off","POPAUTH":"off","QUERY_CACHE":"off","SASL":"off","STOCK_RESOLVER":"off","UNBOUND":"on","ALLSYMBOLS":"off","CODECOVERAGE":"off","DEBUG":"off","ADSP_LISTS":"off","ATPS":"off","DB_HANDLE_POOLS":"off","DEFAULT_SENDER":"off","DIFFHEADERS":"off","IDENTITY_HEADER":"off","LDAP_CACHING":"off","POSTGRES_RECONNECT_HACK":"off","RATE_LIMIT":"off","RBL":"off","REPLACE_RULES":"off","REPRRD":"off","REPUTATION":"off","RESIGN":"off","SENDER_MACRO":"off","SOCKETDB":"off","STATS":"off","STATSEXT":"off","VBR":"off"},"me
 ssage":"************************************************************************\n\nIn
order to run this port, write your opendkim.conf and:\n\nif you use sendmail,
add the milter socket `socketspec'
in\n/etc/mail/<your_configuration>.mc:\n\nINPUT_MAIL_FILTER(`dkim-filter',
`S=_YOUR_SOCKET_SPEC_, F=T, T=R:2m')\n\nor if you use postfix write your milter
socket `socketspec' in\n/usr/local/etc/postfix/main.cf:\n\nsmtpd_milters =
_YOUR_SOCKET_SPEC_\n\n\nAnd to run the milter from startup, add
milteropendkim_enable=\"YES\" in\nyour /etc/rc.conf.\nExtra options can be
found in startup script.\n\nNote: milter sockets must be accessible from
postfix/smtpd;\n  using inet sockets might be
preferred.\n\n************************************************************************"}

I believe I have the current version of pkg:
pirzyk@m2j4:/usr/ports/security/badhosts
112>pkg version -e pkg
pkg-1.3.6                          =

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193016-13>