Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Dec 01, 2010 5:37 am 
Offline
Senior Newbie

Joined: Fri Nov 12, 2010 7:49 pm
Posts: 11
Location: New Zealand
I installed 12 package updates tonight, through webmin, which has broken apache/php (now instead of displaying php files, it asks you to save them - not really a good look for production websites.

I have tried reloading apache2, removing and reinstalling with no success.

I haven't managed to find anywhere about rolling back package updates

Any ideas?


Top
   
 Post subject:
PostPosted: Wed Dec 01, 2010 6:37 am 
Offline
Senior Newbie

Joined: Fri Nov 12, 2010 7:49 pm
Posts: 11
Location: New Zealand
sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi

stupid update!


Top
   
 Post subject:
PostPosted: Wed Dec 01, 2010 11:29 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
You should really do your package management with apt-get or aptitude, not webmin... If you want to update your linode, it's as simple as "aptitude update && aptitude dist-upgrade" or "apt-get update && apt-get dist-upgrade"


Top
   
 Post subject:
PostPosted: Wed Dec 01, 2010 2:24 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Webmin uses apt-get to do its updates. Unfortunately, it makes liberal use of less-than-desirable options (-f, -m, -y, I'm looking at you) and gives little chance for intervention -- answering yes to prompts where a human would stop and rethink what they were attempting to do.

Code:
Need to get 125MB of archives.
After this operation, you system will be fscked beyond repair.
Do you want to continue [Y/n]? Y

:D

_________________
/ Peter


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


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group