On Monday 24 September 2007, Marzan, Richard non Unisys wrote: > I'm trying to fetch all possible files including those that might > satisfy dependencies and USE flags for every package on my system. > The reason I'm doing this is because I have a network-less machine > that I wish to transfer these files to so that I may have the same > environment on both machines. But every so often a package fails to > install because of failure to fetch dependencies. On my networked > machine I run emerge -efD world and emerge -fD system it fetches > files and completes without errors. I then take a copy of the > distfiles dir to the networkless machine and run emerge k3b, for > example, and it fails because it was unable to fetch some dependent > file. This after I ran the same command on my networked machine and > moving distfiles to my networkless box. Both profiles on the two > machines are identical and they use the same USE flags. How can I > make sure that every possible or contingent file is fetch? For > example...I might not use the mp3 USE flag or any other use flag for > a program but I would like it to satisfy all possible FLAGS when > fetching...How can I go about doing that?
Do two things: Use 'emerge -F' instead of 'emerge -f' Use 'emerge --with-bdeps y' -F will fetch everything in SRC_URI regardless of USE settings etc. --with-bdeps is more complex. Basically, sometimes a dep is required to build a package but not to run it. This setting either includes or excludes such things in it's emerge calculations. Both options are more fully described in 'man emerge' alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list

