[Bug 285470] ports-mgmt/pkg: strange query output
Date: Sun, 16 Mar 2025 14:18:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285470
Bug ID: 285470
Summary: ports-mgmt/pkg: strange query output
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pkg@FreeBSD.org
Reporter: d8zNeCFG@aon.at
Assignee: pkg@FreeBSD.org
Flags: maintainer-feedback?(pkg@FreeBSD.org)
Scenario:
- FreeBSD stable/14
- ports latest
- amongst others, installed the following libreoffice ports:
. editors/libreoffice
. editors/libreoffice-i18n
. editors/libreoffice-it
. german/libreoffice
. french/libreoffice
. portuguese/libreoffice
- Running the command 'pkg query %n-%v editors/libreoffice'
Result:
- The following output appears:
[0]# pkg query %n-%v editors/libreoffice
de-libreoffice-25.2.1.2
fr-libreoffice-25.2.1.2
libreoffice-25.2.1.2_1
pt-libreoffice-25.2.1.2
[0]#
Expected result:
[0]# pkg query %n-%v editors/libreoffice
libreoffice-25.2.1.2_1
[0]#
Scenario (continued):
- Running the following command: 'pkg query %t editors/libreoffice'
Result:
- The following output appears:
[0]# pkg query %t editors/libreoffice
1742130942
1742130965
1742121409
1742130971
[0]#
Expected result:
[0]# pkg query %t editors/libreoffice
1742121409
[0]#
Scenario (continued):
- Running the following command: 'pkg query %o\ %t editors/libreoffice'
Result:
- The following output appears:
[0]# pkg query %o\ %t editors/libreoffice
german/libreoffice 1742130942
french/libreoffice 1742130965
editors/libreoffice 1742121409
portuguese/libreoffice 1742130971
[0]#
Expected result:
[0]# pkg query %o\ %t editors/libreoffice
editors/libreoffice 1742121409
[0]#
Scenario (continued):
- Running the following command: 'pkg query %rn-%rv editors/libreoffice'
Result:
- The following output appears:
[0]# pkg query %rn-%rv editors/libreoffice
libreoffice-i18n-25.2.1.2
libreoffice-i18n-25.2.1.2
pt-libreoffice-25.2.1.2
fr-libreoffice-25.2.1.2
de-libreoffice-25.2.1.2
it-libreoffice-25.2.1.2
libreoffice-i18n-25.2.1.2
[0]#
Expected result:
[0]# pkg query %rn-%rv editors/libreoffice
pt-libreoffice-25.2.1.2
fr-libreoffice-25.2.1.2
de-libreoffice-25.2.1.2
it-libreoffice-25.2.1.2
[0]#
Note: This is probably all due to using portmaster instead of poudriere; if so,
please just close this issue.
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.