[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP4 in 'testing'?



In article <[🔎] 20010204131335.A1058@home.com>, ktb wrote:
> Have you tried installing php4 unstable or stable? Use the "-s"
> switch to "apt-get" and see what would happen.

Before reading your (or any) answer, I went ahead and pointed apt at
the unstable archive and got PHP4 from there. Unfortunately, it seems
like this really messed things up for me:

Preparing to replace php4 4.0.4pl1-2 (using .../php4_4.0.4pl1-2_i386.deb) ...
Unpacking replacement php4 ...
/var/lib/dpkg/info/php4.postrm: line 28: syntax error near unexpected token `*)'
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 28: syntax error near unexpected token `*)'
dpkg: error processing /var/cache/apt/archives/php4_4.0.4pl1-2_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: line 28: syntax error near unexpected token `*)'
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Preparing to replace update 2.11-2 (using .../update_2.11-3_i386.deb) ...
Unpacking replacement update ...
Errors were encountered while processing:
 /var/cache/apt/archives/php4_4.0.4pl1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

So, I then tried to purge the package:

bash-2.04# dpkg --purge php4
dpkg: error processing php4 (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 php4

Not only is the package in an inconsistent state, but bad and even
very bad to top that off. I'm a bit at a loss as what to do about this
one... but I'll steam on it for a bit. Sure makes me wish I would have
listened to your -s advice.

Anyways, thank you for your help :)

-- 
PGP: 0x4CE578BF ICQ: 760542 | Linux winter 2.2.16 is up 13 days, 11:48
http://uss-centauris.org/   | Reporter: Mr Gandhi, what do you think of
Phone:    (+31) 70 3467809  |           Western Civilization?
Cellular: (+31) 6 11316573  | Gandhi:   I think it would be a good idea.



Reply to: