rpm4 on carme*
Jan Rękorajski
baggins at pld-linux.org
Fri Dec 18 20:31:06 CET 2020
On Sun, 13 Dec 2020, Jan Palus via pld-devel-en wrote:
> 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.
Works for me.
Maybe it's rpm4 that does not produce deps for R:(post, postun)?
[root at pldmachine-rpm.org ~]# rpm -q rpm poldek
rpm-4.16.0-0.12.x86_64
poldek-0.42.2-3.5.x86_64
poldek:/all-avail> install -t mpd-0.22.3-2.x86_64
Processing dependencies...
mpd-0.22.3-2.x86_64 marks gtk-update-icon-cache-3.24.23-1.x86_64 (cap gtk-update-icon-cache)
There are 2 packages to install (1 marked by dependencies):
A gtk-update-icon-cache-3.24.23-1.x86_64 mpd-0.22.3-2.x86_64
This operation will use 1.8MB of disk space.
Need to get 661.4KB of archives (661.4KB to download).
poldek:/all-avail> install mpd-0.22.3-2.x86_64
Processing dependencies...
mpd-0.22.3-2.x86_64 marks gtk-update-icon-cache-3.24.23-1.x86_64 (cap gtk-update-icon-cache)
There are 2 packages to install (1 marked by dependencies):
A gtk-update-icon-cache-3.24.23-1.x86_64 mpd-0.22.3-2.x86_64
This operation will use 1.8MB of disk space.
Need to get 661.4KB of archives (661.4KB to download).
[1/2] th::gtk-update-icon-cache-3.24.23-1.x86_64.rpm [20.7K (20.7K/s)]
gtk-update-icon-cache-3.24.23-1.x86_64.rpm: digests OK
[2/2] th-test::mpd-0.22.3-2.x86_64.rpm [640.6K (640.6K/s)]
mpd-0.22.3-2.x86_64.rpm: digests OK
Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1...
warning: /root/.poldek-cache/ftp_ftp1.pld-linux.org.dists.th.PLD.x86.64.RPMS/gtk-update-icon-cache-3.24.23-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e4f1bc2d: NOKEY
warning: /root/.poldek-cache/ftp_ftp1.pld-linux.org.dists.th.test.x86.64.RPMS/mpd-0.22.3-2.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 857607c0: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:gtk-update-icon-cache-3.24.23-1 ################################# [ 50%]
Adding group mpd GID=204.
Adding user mpd UID=204.
2:mpd-0.22.3-2 ################################# [100%]
poldek:/all-avail>
--
Jan Rękorajski | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/
More information about the pld-devel-en
mailing list