[Rpm-ecosystem] How to download only a rpm and the dependency rpms not installed

Jun Aruga jaruga at redhat.com
Tue Oct 3 13:37:05 UTC 2017


Hello rpm ecosystem ML!

May I ask you a question?

When trying to install rpm-devel, popt-devel is installed together, because
it is the dependency RPM package.


$ sudo dnf install rpm-devel
Last metadata expiration check: 1:24:34 ago on Tue Oct  3 13:47:40 2017.
Dependencies resolved.
==============================================================================================
 Package               Arch              Version
Repository          Size
==============================================================================================
Installing:
 popt-devel            x86_64            1.16-7.fc24
fedora              29 k
 rpm-devel             x86_64            4.13.0.1-2.fc25
updates            124 k

Transaction Summary
==============================================================================================
Install  2 Packages

Total download size: 153 k
Installed size: 319 k
Is this ok [y/N]:-


When trying to download rpm-devel and the dependencies by normal user
account, all the dependency is downloaded including RPM packages that are
already installed.

I want to download only not installed dependency RPM packages for rpm-devel
from normal user account without specifying popt-devel as a argument.

Do you know how?


$ dnf download rpm-devel --resolve

$ ls | sort
elfutils-libelf-0.169-1.fc25.i686.rpm
file-libs-5.29-9.fc25.i686.rpm
lua-libs-5.3.4-3.fc25.i686.rpm
nspr-4.16.0-1.fc25.i686.rpm
nss-3.32.1-1.0.fc25.i686.rpm
nss-softokn-3.32.0-1.2.fc25.i686.rpm
nss-util-3.32.0-1.0.fc25.i686.rpm
popt-1.16-7.fc24.i686.rpm
popt-devel-1.16-7.fc24.i686.rpm
popt-devel-1.16-7.fc24.x86_64.rpm
rpm-build-libs-4.13.0.1-2.fc25.i686.rpm
rpm-devel-4.13.0.1-2.fc25.i686.rpm
rpm-devel-4.13.0.1-2.fc25.x86_64.rpm
rpm-libs-4.13.0.1-2.fc25.i686.rpm
rpm-plugin-selinux-4.13.0.1-2.fc25.i686.rpm

Thanks.

Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-ecosystem/attachments/20171003/d9b0365b/attachment.html>


More information about the Rpm-ecosystem mailing list