Bug 197670 - ports-mgmt/pkg should pipe package installation messages through less when there are lots of them
Summary: ports-mgmt/pkg should pipe package installation messages through less when th...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-14 23:26 UTC by jgoerzen
Modified: 2021-08-18 09:24 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jgoerzen 2015-02-14 23:26:30 UTC
After running pkg install with a few packages on the command line, it wound up installing 300+ packages to fulfill the dependencies.  Many of them had messages to communicate at the end, but they all scrolled by.  For anyone that didn't think to capture the pkg output with script or tee, this may lead them to miss important information.

If pkg's controlling terminal is a tty and it has lots of messages to communicate, it should automatically pipe them through less.

The messages I'm talking about are this sort:

Message for xfce4-session-4.10.1_3:
 To be able to shutdown or reboot your system, you'll have to add a .pkla file
in /usr/local/etc/polkit-1/localauthority/50-local.d directory. Which looks
like this (replace PUTYOURGROUPHERE by your group):

etc.

The suggestion to file this feature request came from http://article.gmane.org/gmane.os.freebsd.questions/311847
Comment 1 vali gholami 2017-12-17 07:11:40 UTC
MARKED AS SPAM
Comment 2 giftmax 2020-09-14 04:05:57 UTC
MARKED AS SPAM
Comment 3 farsavisa 2021-05-13 07:17:06 UTC
MARKED AS SPAM
Comment 4 mazyar 2021-06-24 03:45:20 UTC
MARKED AS SPAM
Comment 5 Baptiste Daroussin freebsd_committer freebsd_triage 2021-08-18 09:24:14 UTC
item added to pkg TODO list