On Tue, 09.10.12 17:25, Panu Matilainen (pmatilai@xxxxxxxxxxxxxxx) wrote: > >Can I pass this somehow to yum? Or do I have to creat a macro file for > >this? > > You can set it in yum.conf (tsflags=nodocs), but then rpm wont know > about it (so if you install directly with rpm, it'll still install > the docs). Putting it in the macro configuration ensures everything > going through librpm honors it. This appears very much broken. I just tried to install a container with the following command line: yum -y \ --setopt=tsflags=nodocs \ --setopt=keepcache=0 \ --installroot=/home/lennart/minimal/install \ --nogpg \ --releasever=18 \ '--disablerepo=*' \ --enablerepo=fedora \ install systemd passwd openssh-server rpm And this fails when installing gawk with: ... Installing : shared-mime-info-1.0-5.fc18.x86_64 51/106 Installing : grep-2.14-1.fc18.x86_64 52/106 install-info: No such file or directory for /usr/share/info/grep.info.gz Installing : gawk-4.0.1-2.fc18.x86_64 53/106 Error unpacking rpm package gawk-4.0.1-2.fc18.x86_64 error: unpacking of archive failed on file /usr/share/man/man1/gawk.1.gz;507472b1: cpio: Missing hard link(s) Installing : libidn-1.25-3.fc18.x86_64 54/106 error: gawk-4.0.1-2.fc18.x86_64: install failed install-info: No such file or directory for /usr/share/info/libidn.info.gz Installing : 1:gmp-5.0.5-3.fc18.x86_64 55/106 Installing : ncurses-5.9-5.20120204.fc18.x86_64 ... Filed as bug https://bugzilla.redhat.com/show_bug.cgi?id=864622 Lennart -- Lennart Poettering - Red Hat, Inc. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel