rpm4 on carme*

Jan Palus atler at pld-linux.org
Sun Dec 13 21:30:19 CET 2020


Looks like poldek does not recognize R:(post, postun) and fails to
install packages even though dependencies are present:

$ ag '^R.*post' mpd.spec
86:Requires(post,postun):	gtk-update-icon-cache
87:Requires(post,preun,postun):	systemd-units >= 38

$ poldek --cmd desc -r mpd |grep gtk-update-icon-cache
Requires(pre):  /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38
Requires(un):   /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38

$ poldek -u mpd
...
Processing dependencies...
There are 1 package to install:
A mpd-0.22.3-1
This operation will use 1.4MB of disk space.
Need to get 507.6KB of archives.
mpd-0.22.3-1.armv6hl.rpm: digests OK
Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1...
error: Failed dependencies:
	gtk-update-icon-cache is needed by mpd-0.22.3-1.armv6hl

Manual installation of gtk-update-icon-cache followed by installation of
mpd is all fine.


More information about the pld-devel-en mailing list