On 07/09/2017 12:59 PM, Ста Деюс wrote: > Hi. > > > Is it possible to compile/install a testing version of a package w/ its > dependencies on a stable OS installation? -- I mean, if a have stable > installation of whole the system, can i compile and install a testing > version of single package and the packages this single package depends > on? > > > Thank you for your time, > Sthu. >
Yep, it can be done! Fairly easily, too: A good way to do this (imo) is to create binary packages for any packages you're going to be upgrading *BEFORE* attempting to install from ~arch. This gives you a "get out of jail free" card to play around with the ~arch package(s) and revert (by reinstalling the binary package) in case it was a bad decision to upgrade. It's a good idea to do this for any packages that could seriously break your system, like toolchains. Check out `man 5 make.conf`, `man quickpkg`, and `man package.accept_keywords` for more information. In short: * Set '~arch' or equivalent in p.accept_keywords for the package(s) you're upgrading. * Check `emerge -pv cat/foo` output, where cat/foo is the package being upgraded. * Run `quickpkg` on the packages that you care about not breaking, especially anything close to the toolchain. Be sure to read the manual first, as usual. :P * Double-check to make sure the binary packages are available. They'll be in $PKGDIR, defined in /etc/portage/make.conf. * Run your emerge magic to upgrade. * ??? * Profit! -- Daniel Campbell - Gentoo Developer OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
signature.asc
Description: OpenPGP digital signature