[Bug 1241383] Review Request: mkchroot - Fedora Chroot Directory Maker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1241383



--- Comment #10 from Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> ---
I don't think this makes sense to make this into a package. We are moving to
dnf, so new dependencies on yum should not be added. dnf deals with chroot
installation just fine, without any futher configuration:

On F21:
$ sudo dnf --installroot=`pwd`/test/ --disablerepo=* --enablerepo=fedora
--releasever=22 install dnf 
Fedora 22 - x86_64                                              5.0 MB/s |  41
MB     00:08    
Using metadata from Fri Jul 17 12:56:43 2015 (0:00:28 hours old)
Dependencies resolved.
===========================================================================================
 Package             Arch              Version                  Repository     
   Size
===========================================================================================
Installing:
 acl                x86_64            2.2.52-7.fc22              fedora        
    76 k
...
Total                                                           2.8 MB/s |  68
MB     00:24     
warning:
/var/tmp/test/var/cache/dnf/x86_64/22/fedora/packages/dnf-1.0.0-1.fc22.noarch.rpm:
Header V3 RSA/SHA256 Signature, key ID 8e1431d5: NOKEY
Importing GPG key 0x8E1431D5:
 Userid     : "Fedora (22) <fedora@xxxxxxxxxxxxxxxxx>"
 Fingerprint: C527 EA07 A934 9B58 9C35 E1BF 11AD C094 8E14 31D5
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-22-x86_64
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : libgcc-5.1.1-1.fc22.x86_64                            1/142 
...

So instead, this right command should be made more widely known. It can be
added
to the wiki, maybe to dnf man page.

And the right command seems to be (note added updates repo):
dnf --installroot=<somewhere>/ --disablerepo=* --enablerepo=fedora
--enablerepo=updates --releasever=<version> install <packages>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]