Bugzilla – Bug 1225378
[Agama][Milestone8+] Installation progress does not report libzypp errors, e.g., if the package fails to install
Last modified: 2024-06-05 09:16:13 UTC
Created attachment 875135 [details] YaST logs I have created a system with too small /usr and /var, both 500 MiB encrypted XFS. While that might sound like a useful size, there is basically almost no free space left for data already after formatting. See bug #1225364 and bug #1225371. During the actual installation of RPMs, the space run out and libzypp started to report these errors, example: [zypp::exec] abstractspawnengine.cc(checkStatus):182 Pid 10413 exited with status 1 [zypp-core] Exception.cc(log):202 RpmDb.cc(doInstallPackage):1846 THROW: Subprocess failed. Error: RPM failed: Command exited with status 1. [zypp-core] Exception.cc(log):202 History: [zypp-core] Exception.cc(log):202 - installing package xfce4-power-manager-lang-4.18.3-1.3.noarch needs 2MB more space on the /usr filesystem [zypp-core] Exception.cc(log):202 [zypp-core] PathInfo.cc(unlink):711 unlink /mnt/var/cache/zypp/packages/https-download.opensuse.org-425fd75b/noarch/xfce4-power-manager-lang-4.18.3-1.3.noarch.rpm So libzypp failed to install the package, but there was no error in the UI. At the end, Agama congratulated me to a successful installation and told me to reboot. Many have obviously failed, the system would not boot. It's good that libstorage failures are reported, but failures from libzypp don't seem to be.
Just a wild guess: Missing error callback?
Moving to our Trello task queue.