Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2023 08:56:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273472] ports-mgmt/pkg: running `pkg upgrade -` freezes pkg from continuing, because of a missing char used for an option by accident
Message-ID:  <bug-273472-7788@https.bugs.freebsd.org/bugzilla/>

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

            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=20=20=20=20
Fetching packagesite.pkg: 100%  343 KiB 351.1kB/s    00:01=20=20=20=20
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

--=20
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-273472-7788>