clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
520 stars 29 forks source link

non-root swupd search doesn't find what root swupd search does #614

Open nsauzede opened 5 years ago

nsauzede commented 5 years ago

Describe the bug Searching an available bundle as non-root sometimes returns false-negative

To Reproduce In CLR 28780, where the newer bundle "epydoc" is available, if we do : $ swupd search epydoc Search failed, no reasonable results found $ sudo swupd search epydoc Bundle with the best search result: python-extras - Improve user experience with a common set of prebuilt Python libraries. (516MB) (installed)

This bundle can be installed with:

swupd bundle-add python-extras

Expected behavior non-root swupd search should also match available bundles as told by root swupd search

Environment (please complete the following information):

ahkok commented 5 years ago

This is per design.

The non-root version can not download manifest files since the location they are stored in is not world writable. Therefore, it works on limited information, and therefore may not return as many results.

nsauzede commented 5 years ago

ok; so do you suggest users that most (all ?) swupd searches should be done with sudo, to maximize chances to find bundles ?