1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA512 |
3 |
|
4 |
On 2015-06-03 12:08, Duncan wrote: |
5 |
> Philip Webb posted on Wed, 03 Jun 2015 08:14:04 -0400 as |
6 |
> excerpted: |
7 |
> |
8 |
>> (2) if I make a quickpkg of libmng:0 or lcms:0 , will Portage |
9 |
>> allow me to re-install them if I want to after testing the |
10 |
>> upgrade, given that they are no longer in the Portage tree ? |
11 |
> |
12 |
> Yes, portage should take that, provided you use -K (package-only). |
13 |
> |
14 |
> Alternatively, before you replace it, copy the ebuild from the |
15 |
> installed- packages database (/var/db/pkg/) to your overlay. |
16 |
> |
17 |
> It's even possible to get the ebuild out of a binpkg if necessary |
18 |
> -- open the binpkg in a text-editor, and while the first part will |
19 |
> be a bunch of compressed garbage, near the end you'll find the |
20 |
> ebuild in plain-text, followed by some additional metadata. You |
21 |
> can then delete the stuff before and after the ebuild in the editor |
22 |
> (don't save it back to the original binpkg file) and save the |
23 |
> remaining ebuild to a normal ebuild file. |
24 |
> |
25 |
|
26 |
An easier method, if you have portage-utils installed, is to use |
27 |
`qtbz2 -s package-ver.tbz2` to split the .tbz2 binpkg into a .tar.bz2 |
28 |
with the contents and a .xpak with the metadata, then use `qxpak -x |
29 |
package-ver.xpak package-ver.ebuild` to extract just the ebuild from |
30 |
the xpak. |
31 |
|
32 |
- -- |
33 |
Jonathan Callen |
34 |
|
35 |
-----BEGIN PGP SIGNATURE----- |
36 |
Version: GnuPG v2 |
37 |
|
38 |
iQIcBAEBCgAGBQJVb5+ZAAoJEEIQbvYRB3mgOgoP/ij0hSlnI7vv/zd22sv8kDGX |
39 |
xkmtpmAWAlqShR3wj98HQ/r0xTwD7IH/8UE4EJALoFRXl2Zjy5P8hSH+OYgUpJkW |
40 |
UHkwz/WIHzI8KvY4KPP2giu96FvNvOwbXjIiFuIjXj2+t0ouRNlGVx+ruNGfgUtb |
41 |
AUlVH72bgq5+VXSlolbgkdXpq/KUr3k7RQ3+oHPUVTAJBQ0JLZMNnbEW543eE1q5 |
42 |
9qYwRYG/mSLDmKxNu4l0zydi+Uiovz8pJYOsDXFrEoRliVxR5RpKr4EUe713Kv4A |
43 |
HsTGZ1Ea0xmAnJcsj+LBximdfVyKyOuRRQnPi3WBMx2Kd/I3SEwyueoPX8vIe5uK |
44 |
Z7dDVOh++gVgcr58z3eWeMZkSWmF16rpl9YTlkH9l0egmRylUObpLFd21ZNahYZn |
45 |
d78TL1dG5S9+VWZyBscbMnuhx7cJfpzM3lsU1J9y1TiljRnxc65F8iNwjwE/fnf6 |
46 |
lc4arvzpANzQm3DaoP1Et12sYIRPg0NG3RkNr9a9Xqgutm57ajAjURR5us7qYgmk |
47 |
zFKQTf82ea7OvWBlQR+htm2CXBCgftK39rdyz2dvRvXhlalQ0V3BnzFPaNe7sV9F |
48 |
7/cVU/yPsJq0h7iRDENsrfkXMOBSDj+nyA5uejgEgyyKdfqpiELTeF2oGKqqt4U9 |
49 |
EKuX2VV0HcU1Mz9UtN54 |
50 |
=LcKz |
51 |
-----END PGP SIGNATURE----- |