1 |
Marian Hercek wrote: |
2 |
> GLSA 200603-22 suggests to update PHP. |
3 |
> |
4 |
> All PHP 4.x users should upgrade to the latest version: |
5 |
> |
6 |
> # emerge --sync |
7 |
> # emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.2" |
8 |
> |
9 |
> I used |
10 |
> # emerge --ask --oneshot --verbose "=dev-lang/php-4.4.2" |
11 |
> beacuse with '>' PHP5 would be emerged. |
12 |
> |
13 |
> So after previous command I got this error: |
14 |
> |
15 |
> These are the packages that I would merge, in order: |
16 |
> |
17 |
> Calculating dependencies ...done! |
18 |
> [blocks B ] dev-php/php-cgi (is blocking dev-lang/php-4.4.2) |
19 |
> [blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.2) |
20 |
> [blocks B ] dev-php/php (is blocking dev-lang/php-4.4.2) |
21 |
> [ebuild N ] app-admin/php-toolkit-1.0-r2 0 kB |
22 |
> [ebuild U ] sys-devel/m4-1.4.4 [1.4.2-r1] +nls 299 kB |
23 |
> [ebuild N ] dev-lang/php-4.4.2 {cut ...USE flags here...} |
24 |
> |
25 |
> Total size of downloads: 4,581 kB |
26 |
> |
27 |
> !!! Error: The above package list contains packages which cannot be |
28 |
> installed on the same system. |
29 |
> |
30 |
> |
31 |
> It seems there's something messed up with PHP. |
32 |
> |
33 |
> Any idea how resolve that? |
34 |
|
35 |
need to unmerge the offending packages before, dev-php/php-cgi, |
36 |
dev-php/mod_php, dev-php/php . |
37 |
|
38 |
Also prepare /etc/portage/package.use , more use flags have been |
39 |
created, some of this are important, an extract of mine: |
40 |
|
41 |
apache2 berkdb crypt fastbuild reflection session sharedext sharedmem |
42 |
sockets ssl tokenizer xml |
43 |
|
44 |
this new ebuild is used to install also cgi and cli stuff so you may |
45 |
want to add also the "cgi" and "cli" use flags |
46 |
|
47 |
If downtime is a problem you could try some trick with "--buildpkgonly" |
48 |
"--nodeps", ie. |
49 |
|
50 |
emerge --buildpkgonly --nodeps dev-lang/php |
51 |
emerge -C dev-php/php-cgi dev-php/mod_php dev-php/php |
52 |
emerge --usepkg app-admin/php-toolkit dev-lang/php |
53 |
|
54 |
rgds, |
55 |
Francesco |
56 |
-- |
57 |
gentoo-server@g.o mailing list |