[Bug 273472] ports-mgmt/pkg: running `pkg upgrade -` freezes pkg from continuing, because of a missing char used for an option by accident
Date: Thu, 31 Aug 2023 08:56:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273472 Bug ID: 273472 Summary: ports-mgmt/pkg: running `pkg upgrade -` freezes pkg from continuing, because of a missing char used for an option by accident 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: kenrap@kennethraplee.com Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Here is how it happened: root@freebsd [~] # pkg upgrade - Updating Local repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 343 KiB 351.1kB/s 00:01 Processing entries: 100% Local repository update completed. 1700 packages processed. All repositories are up to date. ^C root@freebsd [~] # pkg: archive_read_open_filename(-): Error reading stdin pkg: No packages available to upgrade matching '-' have been found in the repositories I had to hit ctrl-c to get out of it, which shows pkg was confused that "-" was a package name by that error message. root@freebsd [~] # pkg --version 1.20.6 root@freebsd [~] # echo $SHELL /usr/local/bin/zsh -- You are receiving this mail because: You are the assignee for the bug.