Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

System recovery or rollback?

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
SiriusHardware



Joined: Tue Sep 25, 2012 7:41 pm
Posts: 69

PostPosted: Mon Jun 03, 2013 6:31 pm    Post subject: System recovery or rollback? Reply with quote

I've been running a Linux (Debian 6) PC for a while now and I've been using it quite a lot without any problems - it has been totally stable. While I was online I noticed that the 'updates available' icon up near the networking icon was showing the availability of new updates, so I allowed them to happen - bad move - it prompted an immediate crash out to the command line and the system has now become completely unstable in the desktop / GUI and crashes in anything between zero and sixty seconds.

The mass of text error messages which appear are way above my level of understanding, but what I have found is that if I start Debian in recovery mode (in which it only proceeds to the command line after logging in as root) the system will work reliably as long as I don't start 'X'. If I do, same problem, CRASH, out of the desktop in under a minute. I haven't been able to divine exactly what it is that causes the crash, indeed, there seems no common cause or factor or 'thing that I do' which prompts the crash.

My question: Can I use Aptitude to roll back to before the changes were made: Or can I at least get it to identify all updates which were made within a certain time / date window so I can manually uninstall them and reinstall them again individually?
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Jun 03, 2013 10:31 pm    Post subject: Reply with quote

/var/log/apt/history.log contains details of what was installed when. If I had to guess, I'd plump for this being caused by a graphics card driver.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
SiriusHardware



Joined: Tue Sep 25, 2012 7:41 pm
Posts: 69

PostPosted: Mon Jun 03, 2013 11:49 pm    Post subject: Reply with quote

nelz wrote:
/var/log/apt/history.log contains details of what was installed when. If I had to guess, I'd plump for this being caused by a graphics card driver.


Wonderful - I'll start by looking there, thank you for that.
Back to top
View user's profile Send private message
ajgreeny
LXF regular


Joined: Wed May 10, 2006 9:18 pm
Posts: 453
Location: Oxfordshire.

PostPosted: Thu Jun 06, 2013 10:17 am    Post subject: Reply with quote

You can also get a very easily readable and searchable output from command
Code:
grep -iw upgrade /var/log/dpkg.log.1 && grep -iw upgrade /var/log/dpkg.log
which shows line by line what packages have been upgraded recently.
_________________
Xubuntu 12.04 user, and loving it!
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast