FS#51924 - [gawk] Missing readline dependency

Attached to Project: Arch Linux
Opened by Stéphan Kochen (stephank) - Tuesday, 22 November 2016, 15:37 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 23 November 2016, 00:07 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Gawk depends on readline, but does not mention it in its dependencies. Trying to run gawk in an environment without readline installed results in:

gawk: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory

After installing readline, gawk works normally.

Additional info:
* gawk 4.1.4-2

Steps to reproduce:

* Startup a bootstrap
* Setup a mirrorlist
* pacman-key --init
* pacman-key --populate archlinux
* pacman -Sy gawk
* gawk --help
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 23 November 2016, 00:07 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Partial updates are not supported
Comment by David Thurstenson (thurstylark) - Tuesday, 22 November 2016, 16:01 GMT
This sounds like you did not update the rest of the packages on the system. pacman -Sy causes a partial upgrade situation, and can cause issues like this. Partial upgrades are not supported. https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported

Run pacman -Syu and try again.
Comment by Stéphan Kochen (stephank) - Tuesday, 22 November 2016, 16:05 GMT
Ugh, that was silly of me. You're absolutely right, the bootstrap simply contained readline 6.3.

Sorry for the noise, but thanks for the speedy response!
Comment by Alexander Schnaidt (Namarrgon) - Tuesday, 22 November 2016, 16:07 GMT
This is not a bug, you made a partial update when you ran '-Sy gawk' which is not supported on arch. Either get a new bootstrap image where readline is already updated or, the better solution, use "-Syu gawk" to update the whole image.

Loading...