dnf: Error: RPM package source (jpilot-1.8.2-2.fc22.src) will not installed

Mattias Ellert mattias.ellert at fysast.uu.se
Mon Sep 28 13:43:31 UTC 2015


mån 2015-09-28 klockan 15:06 +0200 skrev Luigi Votta:

> I've downloaded it with dnf,  
> and attempted to install with rpm.
> 
> But it doesn't install; this is the result:
> 
> warning: mockbuild user doesn't exists - using root user
> 
> when using: 
> rpm -i jpilot-1.8.2-2.fc22.src.rpm

That is a warning, not an error. The installation is successful.

You have installed a src rpm as root, which is normally not a good
idea. It is better to install src rpms as non-root.

Installing a src rpm will not add it to the rpmdb, so it will not be
listed if you do "rpm -q".

Installing src rpms as root will install the files in the tree below
/root/rpmbuild (or whatever "rpm -E %_topdir" says when run as the root
user if you have a non-standard configuration).

If you install it as you own user, which is recommended, the files will
appear in ${HOME}/rpmbuild.

	Mattias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5772 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150928/eb66651b/attachment.bin>


More information about the devel mailing list