All,
We've been using puppet on many of our systems to manage installed ports, and we've always defaulted to telling pkg to install the lowercase name of a package.
Recenty, we're noticing that pkg fails to install p5-ipc-run3, and that a pkg search won't find it anymore because it's in the tree as p5-IPC-Run3.
Did pkg recently change to be case-sensitive?
On Dec 4, 2025, at 2:03rC>AM, Baptiste Daroussin <bapt@FreeBSD.org> wrote:Do you mean that it was a harmless bug that it *ignored* case by default? Like the above case where 'pkg install p5-ipc-run3' would work just fine?
On Thu 04 Dec 01:23, Dan Mahoney (ports) wrote:
All,
We've been using puppet on many of our systems to manage installed ports, and we've always defaulted to telling pkg to install the lowercase name of a package.
Recenty, we're noticing that pkg fails to install p5-ipc-run3, and that a pkg search won't find it anymore because it's in the tree as p5-IPC-Run3.
Did pkg recently change to be case-sensitive?
The fact that pkg was case sensitive was a bug, which has been harmless for a while, until people started playing with packages named "FreeBSD-" vs packages
named "freebsd-" with the same suffix.
Note I just figured a bug which makes the pkg.conf setting which determines thisThe shipped pkg.conf doesn't have a setting for this.
behaviour bugging and not working consistently everywhere (well actually working
in most cases). I am fixing this part right now.
On Thu 04 Dec 01:23, Dan Mahoney (ports) wrote:
All,
We've been using puppet on many of our systems to manage installed ports, and we've always defaulted to telling pkg to install the lowercase name of a package.
Recenty, we're noticing that pkg fails to install p5-ipc-run3, and that a pkg search won't find it anymore because it's in the tree as p5-IPC-Run3.
Did pkg recently change to be case-sensitive?
The fact that pkg was case sensitive was a bug, which has been harmless for a while, until people started playing with packages named "FreeBSD-" vs packages
named "freebsd-" with the same suffix.
Note I just figured a bug which makes the pkg.conf setting which determines this
behaviour bugging and not working consistently everywhere (well actually working
in most cases). I am fixing this part right now.
Best regards,
Bapt
On Dec 4, 2025, at 2:50rC>AM, Baptiste Daroussin <bapt@FreeBSD.org> wrote:That would require rewriting puppet's package provider. It's easier to update our manifests now that we know this is a thing, and I'm sure there will be Gotchas, especially with the CamelCase perl ports.
On Thu 04 Dec 11:03, Baptiste Daroussin wrote:
On Thu 04 Dec 01:23, Dan Mahoney (ports) wrote:
All,
We've been using puppet on many of our systems to manage installed ports, and we've always defaulted to telling pkg to install the lowercase name of a package.
Recenty, we're noticing that pkg fails to install p5-ipc-run3, and that a pkg search won't find it anymore because it's in the tree as p5-IPC-Run3.
Did pkg recently change to be case-sensitive?
The fact that pkg was case sensitive was a bug, which has been harmless for a
while, until people started playing with packages named "FreeBSD-" vs packages
named "freebsd-" with the same suffix.
Note I just figured a bug which makes the pkg.conf setting which determines this
behaviour bugging and not working consistently everywhere (well actually working
in most cases). I am fixing this part right now.
Best regards,
Bapt
Side note: if you want a consistent and predictible behaviour the -C/-i options
are still working the same for all versions of pkg.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 59 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 23:10:20 |
| Calls: | 810 |
| Calls today: | 1 |
| Files: | 1,287 |
| D/L today: |
12 files (21,036K bytes) |
| Messages: | 195,760 |