Apache2 binary vanished during upgrade

Scott J. Henson scotth at csee.wvu.edu
Sun Dec 11 05:10:18 UTC 2005


David wrote:

>On Sat, Dec 10, 2005 at 01:29:54PM +0000, David Hart wrote:
>  
>
>>On Sun, Dec 11, 2005 at 12:04:21AM +1100, David wrote:
>>    
>>
>>>On Sat, Dec 10, 2005 at 04:34:59AM -0800, Mike Bird wrote:
>>>      
>>>
>>>>On Sat, 2005-12-10 at 04:17, David wrote:
>>>>        
>>>>
>>>>>I've just upgraded from hoary to breezy using the install CD, 
>>>>>then apt-get update, then apt-get upgrade.
>>>>>          
>>>>>
>>[snip]
>>
>>    
>>
>>>thanks for your prompt reply, but it gives rise to some questions:
>>>      
>>>
>>I notice above that you did 'apt-get upgrade', was that a typo?  (It
>>should be 'dist-upgrade'.)
>>
>>Do you have any packages held back if you run that command now?
>>
>>If so 'apt-get dist-upgrade' should fix that (bringing in the missing
>>apache stuff).
>>    
>>
>
>you were right, of course... my silly mistake.
>
>Unfortunately, after doing apt-get update (just to make sure) and then 
>apt-get dist-upgrade, I still don't have apache2 binary.
>
>I'm not sure what to do next. Everything else appears to be there.
>
>  
>

This is probably due to blindly hitting enter when apt asks you if your
sure you want to make the changes its specifying.  We all do it and
eventually come to regret it and learn from our mistakes.  Apt helpfully
tells you how many packages its going to upgrade/install/remove just
above the prompt.  What likely happened is apache2-mpm-worker(or
whatever you had installed) was removed during the upgrade.  From what I
remember, upgrade shouldn't remove anything, but I might be wrong.  In
any case, you might want to check out the -s and the -u options for
apt-get. 

Also, about your apache2 configs.  BACK THEM UP BEFORE ANY MAJOR
UPGRADE.  Sorry for the all caps but I want to make sure you realize
that.  Back up your configs before you do your upgrade and you won't
have to worry about what the upgrade will do to them.  But, chances are
they will be safe.  Generally packages are very respectful of local
configuration changes. 




More information about the ubuntu-users mailing list