Open nsauzede opened 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.
ok; so do you suggest users that most (all ?) swupd searches should be done with sudo, to maximize chances to find bundles ?
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):
cat /usr/lib/os-release
] $ cat /usr/lib/os-release NAME="Clear Linux OS" VERSION=1 ID=clear-linux-os ID_LIKE=clear-linux-os VERSION_ID=28780 PRETTY_NAME="Clear Linux OS" ANSI_COLOR="1;35" HOME_URL="https://clearlinux.org" SUPPORT_URL="https://clearlinux.org" BUG_REPORT_URL="mailto:dev@lists.clearlinux.org" PRIVACY_POLICY_URL="http://www.intel.com/privacy"sudo swupd bundle-list
] $ sudo swupd bundle-list Babel NetworkManager Sphinx acpica-unix2 alsa-utils ansible baobab bc bcc binutils bison bootloader c-basic ceph cheese cloc cloud-api clr-installer clr-network-troubleshooter containers-basic cpio curl cve-bin-tool ddd desktop desktop-apps desktop-assets desktop-autostart desktop-gnomelibs desktop-locales dev-utils dev-utils-gui devpkg-SDL2 devpkg-atk devpkg-base devpkg-cairo devpkg-expat devpkg-fontconfig devpkg-freetype devpkg-fribidi devpkg-gdk-pixbuf devpkg-glib devpkg-graphite devpkg-gtk devpkg-harfbuzz devpkg-libX11 devpkg-libdrm devpkg-libffi devpkg-libpng devpkg-libpthread-stubs devpkg-llvm devpkg-mesa devpkg-openssl devpkg-pango devpkg-pcre devpkg-pixman devpkg-util-linux devpkg-xorgproto devpkg-xz devpkg-zlib diffutils dnf docutils dosfstools doxygen editors emacs eog ethtool evince evolution file file-roller findutils firefox flatpak flex fonts-basic fuse fwupdate gdb gedit gimp git gjs glibc-locale gnome-base-libs gnome-calculator gnome-characters gnome-color-manager gnome-disk-utility gnome-font-viewer gnome-logs gnome-music gnome-photos gnome-screenshot gnome-system-monitor gnome-todo gnome-weather go-basic graphviz gstreamer gtkwave gvim gzip hardware-printing hardware-uefi htop icdiff inotify-tools iotop ipmitool iproute2 iptables irssi joe kbd kernel-install kernel-lts kernel-lts2018 kernel-native less lib-imageformat lib-opengl lib-openssl lib-samba libX11client libglib libstdcpp libva-utils libxslt linux-firmware linux-firmware-extras linux-firmware-wifi linux-tools llvm locales make man-pages meld minicom nasm nautilus network-basic nfs-utils nginx openblas openldap openssh-server openssl os-core os-core-update os-core-webproxy p11-kit package-utils parallel parted patch performance-tools perl-basic pmdk polkit powertop pulseaudio pxe-server pygobject python-extras python2-basic python3-basic python3-tcl qemu-guest-additions qt-basic qt-core ruby-basic samba seahorse smartmontools storage-utils strace sudo sysadmin-basic sysadmin-hostmgmt syslinux sysstat tcl-basic telemetrics texlive thermal_daemon tmux totem tzdata unzip valgrind vim webkitgtk weechat wget which wpa_supplicant x11-server xemacs xfsprogs xz zip znc zstd