maintainer-feedback requested: [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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody) <pkg@FreeBSD.org> for maintainer-feedback: Bug 273472: ports-mgmt/pkg: running `pkg upgrade -` freezes pkg from continuing, because of a missing char used for an option by accident https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273472 --- Description --- 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