On 17/02/2020 20:01, Dale wrote:
Nikos Chantziaras wrote:
On 17/02/2020 10:26, Dale wrote:
I ran into a issue with qt upgrades and it got interesting.  Since it
was part way through, some applications that I needed wouldn't open due
to a mismatch in versions. [...]

!!! --buildpkgonly requires all dependencies to be merged.
!!! Cannot merge requested packages. Merge deps and try again.

So, I have to emerge packages in order to emerge others.  I get that
packages depend on each other but is there a way around that?
You'd need to maintain two gentoo installs (A and B) with the same
exact configuration with B serving as the build machine. Then you'd
emerge the packages in B, make binary packages out of every package,
and then emerge those in A.


Would a chroot work for that?  I'm pretty sure it would but want to be
certain before I set all that up.  I'm pretty sure I can dig around and
find a hard drive somewhere.

Sure. Although it might be easier to use a container instead (like LXD or Docker.)

Grub has nothing to do with it. You wouldn't actually run grub in the container or chroot. You'd only install the grub package.

A VM like Mark suggested would probably be even easier to set up. Although getting to the packages would be more complicated and it would also be slower (and with the recent meltdown/spectre mitigation stuff, probably much slower.) A chroot or container on the other hand is extremely lightweight. There's no virtualization involved (or very little of it), so it should be pretty much as fast as a native system.


Reply via email to