Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Apr 21, 2005 5:09 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
Hey All,

I've had an odd package upgrade issue for a while now (couple of months maybe). I am using Apache 2.x, and do not have Apache 1.x installed.

Code:
root@girls [~]# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
   libapache2-mod-php4 (4.3.10-2 => 4.3.10-12)
   php4 (4.3.10-2 => 4.3.10-12)
   php4-common (4.3.10-2 => 4.3.10-12)
   php4-mysql (4.3.10-2 => 4.3.10-12)
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Code:
root@girls [~]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
   apache-common (1.3.33-4)
   libapache-mod-php4 (4.3.10-12)
   libkrb53 (1.3.6-2)
   libzzip-0-12 (0.12.83-4)
The following packages will be upgraded:
   libapache2-mod-php4 (4.3.10-2 => 4.3.10-12)
   php4 (4.3.10-2 => 4.3.10-12)
   php4-common (4.3.10-2 => 4.3.10-12)
   php4-mysql (4.3.10-2 => 4.3.10-12)
4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 4637kB of archives.
After unpacking 7082kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.


Any idea why it will not update the PHP packages, and why it wants to install apache 1.x if I try to do a dist-upgrade? I'm baffled, and it's been like this for a while now.

-Kevin


Top
   
 Post subject:
PostPosted: Sat Apr 23, 2005 7:53 pm 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
The following NEW packages will be installed:
libapache-mod-php4 (4.3.10-12)

libapache-mod-php4 requires apache-common


Top
   
 Post subject:
PostPosted: Sun Apr 24, 2005 12:19 am 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
Hey,

I'm not quite sure I understood what you said. I am using Apache2, and I have libapache2-mod-php4 installed. I do not have apache-common or libapache-mod-php4 installed, which makes this all the more weird. If it would help to see what apache packages I have installed, I have provided them below:

Code:
root@girls [/home/kev]# dpkg -l \*apache\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                       Version                    Description
+++-==========================-==========================-====================================================================
un  apache                     <none>                     (no description available)
un  apache-common              <none>                     (no description available)
un  apache-perl                <none>                     (no description available)
un  apache-ssl                 <none>                     (no description available)
un  apache-utils               <none>                     (no description available)
ii  apache2                    2.0.53-5                   next generation, scalable, extendable web server
ii  apache2-common             2.0.53-5                   next generation, scalable, extendable web server
un  apache2-doc                <none>                     (no description available)
un  apache2-modules            <none>                     (no description available)
un  apache2-mpm-perchild       <none>                     (no description available)
ii  apache2-mpm-prefork        2.0.53-5                   traditional model for Apache2
un  apache2-mpm-threadpool     <none>                     (no description available)
pn  apache2-mpm-worker         <none>                     (no description available)
ii  apache2-utils              2.0.53-5                   utility programs for webservers
un  libapache-mod-php4         <none>                     (no description available)
ii  libapache2-mod-php4        4.3.10-2                   server-side, HTML-embedded scripting language (apache 2.0 module)


Any suggestions?


Top
   
 Post subject:
PostPosted: Sun Apr 24, 2005 5:07 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
Run:

apt-cache rdepends libapache-mod-php4

and tell me if you have any of those things installed and/or tried to install.


Top
   
 Post subject:
PostPosted: Sun Apr 24, 2005 10:14 am 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
OverlordQ,

OK, ran that command you asked, and php4 was listed twice, which is odd, and could very well be the cause. I ran dpkg -l on the other packages listed and it said that no packages were found, so I'm assuming we have narrowed this down to an issue with the php4 packages.

Code:
root@girls [/home/kev]# apt-cache rdepends libapache-mod-php4
libapache-mod-php4
Reverse Depends:
 |php4
 |phpsysinfo
 |php4
 |mantis
 |ewiki
 |egroupware-core

root@girls [/home/kev]# dpkg -l \*php4\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  caudium-php4   <none>         (no description available)
un  libapache-mod- <none>         (no description available)
ii  libapache2-mod 4.3.10-2       server-side, HTML-embedded scripting languag
ii  php4           4.3.10-2       server-side, HTML-embedded scripting languag
un  php4-cgi       <none>         (no description available)
un  php4-cgi-mysql <none>         (no description available)
ii  php4-common    4.3.10-2       Common files for packages built from the php
un  php4-gd        <none>         (no description available)
ii  php4-mysql     4.3.10-2       MySQL module for php4
un  php4-pear      <none>         (no description available)


Any ideas where to go from here?

Thanks,
-Kevin


Top
   
 Post subject:
PostPosted: Tue Apr 26, 2005 3:17 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
Well, I managed to resolve this issue, although I'm still not sure what the underlying issue was. I solved this by re-installing php4-common.

Code:
root@girls [/home/kev]# apt-get --reinstall install php4-common
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   libapache2-mod-php4 (4.3.10-12)
   libkrb53 (1.3.6-2)
   libzzip-0-12 (0.12.83-4)
   php4-mysql (4.3.10-12)
Suggested packages:
   php4-pear (4.3.10-12)
   phpdoc ()
   krb5-doc (1.3.6-2)
   krb5-user (1.3.6-2)
The following NEW packages will be installed:
   libkrb53 (1.3.6-2)
   libzzip-0-12 (0.12.83-4)
The following packages will be upgraded:
   libapache2-mod-php4 (4.3.10-2 => 4.3.10-12)
   php4-common (4.3.10-2 => 4.3.10-12)
   php4-mysql (4.3.10-2 => 4.3.10-12)
3 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.


Then I was able to upgrade php4:

Code:
root@girls [/home/kev]# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
   php4 (4.3.10-2 => 4.3.10-12)
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


-Kevin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: dobriain and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group