rpm4 on carme*

Jan Rękorajski baggins at pld-linux.org
Sun Dec 20 20:55:02 CET 2020


On Fri, 18 Dec 2020, Jan Palus wrote:

> On 18.12.2020 20:31, Jan Rękorajski wrote:
> > 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)
> 
> Is this by any chance mpd from main th repo built with rpm5? The
> difference is most likely here:
> 
> > > $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache
> > > Requires(pre):  /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38
> 
> With rpm4 + poldek(rpm4) gtk-update-icon-cache lands in Requires(pre):
> while with rpm5 + poldek(rpm5) it's just in Requires:. I suppose poldek
> ignores Requires(pre).

I can't figure out what's missing there, opened poldek bug

https://github.com/poldek-pm/poldek/issues/17

-- 
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