Re: has the sun set ?
Jonathan Callen <[email protected]> Wed, 03 Jun 2015 20:45:17 -0400
| Newsgroups | gmane.linux.gentoo.desktop |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 2015-06-03 12:08, Duncan wrote: > Philip Webb posted on Wed, 03 Jun 2015 08:14:04 -0400 as > excerpted: >=20 >> (2) if I make a quickpkg of libmng:0 or lcms:0 , will Portage >> allow me to re-install them if I want to after testing the >> upgrade, given that they are no longer in the Portage tree ? >=20 > Yes, portage should take that, provided you use -K (package-only). >=20 > Alternatively, before you replace it, copy the ebuild from the > installed- packages database (/var/db/pkg/) to your overlay. >=20 > It's even possible to get the ebuild out of a binpkg if necessary > -- open the binpkg in a text-editor, and while the first part will > be a bunch of compressed garbage, near the end you'll find the > ebuild in plain-text, followed by some additional metadata. You > can then delete the stuff before and after the ebuild in the editor > (don't save it back to the original binpkg file) and save the > remaining ebuild to a normal ebuild file. >=20 An easier method, if you have portage-utils installed, is to use `qtbz2 -s package-ver.tbz2` to split the .tbz2 binpkg into a .tar.bz2 with the contents and a .xpak with the metadata, then use `qxpak -x package-ver.xpak package-ver.ebuild` to extract just the ebuild from the xpak. - --=20 Jonathan Callen -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJVb5+ZAAoJEEIQbvYRB3mgOgoP/ij0hSlnI7vv/zd22sv8kDGX xkmtpmAWAlqShR3wj98HQ/r0xTwD7IH/8UE4EJALoFRXl2Zjy5P8hSH+OYgUpJkW UHkwz/WIHzI8KvY4KPP2giu96FvNvOwbXjIiFuIjXj2+t0ouRNlGVx+ruNGfgUtb AUlVH72bgq5+VXSlolbgkdXpq/KUr3k7RQ3+oHPUVTAJBQ0JLZMNnbEW543eE1q5 9qYwRYG/mSLDmKxNu4l0zydi+Uiovz8pJYOsDXFrEoRliVxR5RpKr4EUe713Kv4A HsTGZ1Ea0xmAnJcsj+LBximdfVyKyOuRRQnPi3WBMx2Kd/I3SEwyueoPX8vIe5uK Z7dDVOh++gVgcr58z3eWeMZkSWmF16rpl9YTlkH9l0egmRylUObpLFd21ZNahYZn d78TL1dG5S9+VWZyBscbMnuhx7cJfpzM3lsU1J9y1TiljRnxc65F8iNwjwE/fnf6 lc4arvzpANzQm3DaoP1Et12sYIRPg0NG3RkNr9a9Xqgutm57ajAjURR5us7qYgmk zFKQTf82ea7OvWBlQR+htm2CXBCgftK39rdyz2dvRvXhlalQ0V3BnzFPaNe7sV9F 7/cVU/yPsJq0h7iRDENsrfkXMOBSDj+nyA5uejgEgyyKdfqpiELTeF2oGKqqt4U9 EKuX2VV0HcU1Mz9UtN54 =3DLcKz -----END PGP SIGNATURE-----