sysinfo/providename

Jeffrey Johnson n3npq at me.com
Thu Jun 4 14:35:09 CEST 2015


> On Jun 4, 2015, at 6:34 AM, Elan Ruusamäe <glen at pld-linux.org> wrote:
> 
> how it's supposed to be used?
> 
> does not seem to have effect:
> 
> [root at e13092785543 /]# echo "virtual(init-daemon)" >> /etc/rpm/sysinfo/Providename
> [root at e13092785543 /]# poldek -u nfs-utils
> error: $TERM undefined
> Loading [pndir]th...
> Loading [pndir]th...
> 24245 packages read
> Processing dependencies...
> nfs-utils-1.3.2-2.x86_64 marks rc-scripts-0.4.14-1.x86_64 (cap /etc/rc.d/init.d)
> rc-scripts-0.4.14-1.x86_64 marks gettext-0.19.4-3.x86_64 (cap /bin/gettext)
> rc-scripts-0.4.14-1.x86_64 marks findutils-4.4.2-2.x86_64 (cap findutils)
> rc-scripts-0.4.14-1.x86_64: required "virtual(init-daemon)" is provided by the following packages:
> a) SysVinit-2.88-18.x86_64
> b) systemd-init-219-3.x86_64
> Which one do you want to install ('Q' to abort)? [SysVinit-2.88-18.x86_64]
> 
> poldek not implementing that inferface or i use it somehow wrong?
> 

Likely poldek not implementing the interface.

You can verify functionality by doing

	echo “unknown_dependency” >> /etc/rpm/sysinfo/Requirename

and attempting to install any package using rpm cli until you do

	echo “unknown_dependency” >> /etc/rpm/sysinfo/Providename

> [root at e13092785543 tmp]# echo /etc/rc.d/init.d >> /etc/rpm/sysinfo/Dirnames
> [root at e13092785543 tmp]# poldek -u nfs-utils
> error: $TERM undefined
> Loading [pndir]th...
> Loading [pndir]th...
> 24245 packages read
> Processing dependencies...
> nfs-utils-1.3.2-2.x86_64 marks rc-scripts-0.4.14-1.x86_64 (cap /etc/rc.d/init.d)
> rc-scripts-0.4.14-1.x86_64 marks gettext-0.19.4-3.x86_64 (cap /bin/gettext)
> rc-scripts-0.4.14-1.x86_64 marks findutils-4.4.2-2.x86_64 (cap findutils)
> rc-scripts-0.4.14-1.x86_64: required "virtual(init-daemon)" is provided by the following packages:
> a) SysVinit-2.88-18.x86_64
> b) systemd-init-219-3.x86_64
> Which one do you want to install ('Q' to abort)? [SysVinit-2.88-18.x86_64]
> 
> 
> -- 
> glen
> 
> _______________________________________________
> pld-devel-en mailing list
> pld-devel-en at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-devel-en



More information about the pld-devel-en mailing list