Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76906 - update-pciids cannot find an externa download tool despite it is installed

Attached to Project: Arch Linux
Opened by Vincenzo Romano (0badc0de) - Wednesday, 21 December 2022, 18:31 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 21 December 2022, 23:10 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
update-pciids cannot find an externa download tool despite it is installed.
When run (with su/sudo of course) update-pciids fails with the message:
> update-pciids: cannot find curl, wget or lynx
Despite two (the first two) tools out of the three ones attempted are actually installed.


Additional info:
* package version: core/pciutils 3.9.0-2
* config and/or log files: n/a
* link to upstream bug report, if any: not yet

Steps to reproduce:
0 Check you have at least one of the required tools installed:
0.1 Execute "sudo wget --version"
0.2 Execute "sudo curl --version"
0.3 Execute "sudo lynx --version"
1. Execute "sudo update-pciids"

Expected result:
An up-to-date file with all known PCI IDs is downloaded from somewhere and installed at "/usr/share/hwdata/pci.ids".

Actual result:
An error message is displayed:
> update-pciids: cannot find curl, wget or lynx

It happens: always
Has it worked in the past: yes (cannot recall precisely, it should be 3.8.0-2).

Note: I hope now the report is nice enough not to be dimissed.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 21 December 2022, 23:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Please proper support channels (forum/IRC/etc). Thanks.
Comment by Vincenzo Romano (0badc0de) - Wednesday, 21 December 2022, 18:34 GMT
I set this report as "Severity: Medium" as (a part of) a core utility is now unusable.
The program used to work not later than 6 months ago.
It has worked in my past installations.
If it is not a bug, why isn't that program working?
Why are you focusing on "whereis" and "grep" instead of saying something useful like: it's an upstream bug?
wget and grep gets installed with the base system at the very beginning.
As well as whereis which is part of core/util-linux.
So, if this is a bug, then you cannot close it with "not a bug" status.
If it is not, please, you cannot close without proper statements like: "you removed some dependency is a way to defy the dependency system".
In either case you should not close the bug with a question to which I cannot reply but editing my 1sr comment.
Comment by Tobias Powalowski (tpowa) - Wednesday, 21 December 2022, 18:49 GMT
It was never working before, now the depends are listed how to get this working.
Comment by Doug Newgard (Scimmia) - Wednesday, 21 December 2022, 19:08 GMT
And you have *all 3* of the optional deps installed?
Comment by Tobias Powalowski (tpowa) - Wednesday, 21 December 2022, 19:09 GMT
A wild guess, have you installed 'which'?

Loading...