Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413351

Summary: postgresql-base should have "less" in its dependencies
Product: Portage Development Reporter: Fabian Pijcke <fabian.pijcke>
Component: Core - DependenciesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED WORKSFORME    
Severity: trivial    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Pijcke 2012-04-24 10:29:58 UTC
When emerging postgresql-base, the psql tool is installed, and when trying to select a not tiny set of data, one gets the following error:

test=> select * from information_schema.sequences;
sh: /usr/bin/less: No such file or directory

I just emerged less, and the problem disappeared ...

I don't know if someone else got the problem, I can join the /etc/make.conf if needed.
Comment 1 Aaron W. Swenson gentoo-dev 2012-04-25 12:41:16 UTC
The vast majority of users have 'less' installed. And it was a part of the system set.

You are correct, the ebuild does now need to explicitly depend on 'less'.
Comment 2 Aaron W. Swenson gentoo-dev 2012-06-08 14:28:50 UTC
After a chat with darkside, I've learned that virtual/pager is in the @system set. virtual/pager will pull in a suitable pager for psql.