Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would, ideally, like to run a distribution upgrade that doesn't end in a complete reboot of the machine (owing to an irritation in my hardware that requires a period of disconnection from the power supply before my SSD can be detected).

What would be the procedure for doing this from a desktop environment?

I would image:

  1. dist-upgrade
  2. shutdown all graphical services
  3. restart X

I'd appreciate any advice (particularly on the exact procedure for step 2, if this correct). NB. I'm using KSplice for in-memory kernel patching, so the kernel is already dealt with.

Many thanks,

Martin

share|improve this question
add comment

1 Answer 1

I think you want to restart dbus. I thought I remember reading somewhere that restarting dbus (for when dbus is upgraded) would restart x too, so they opted for a reboot.

But since you want all that: sudo service dbus restart

share|improve this answer
    
Many thanks! If someone could confirm this, I'll mark as accepted as I have no way of testing myself until a dist upgrade is available. –  Martin Eve Mar 7 '11 at 16:21
2  
Just a suggestion to test: install an older version of Ubuntu on an unused PC/laptop or even on a VM created ex profeso and upgrade it to the latest version, trying what user1974 suggests. –  luri Mar 10 '11 at 23:59
    
Just attempted to test this under VirtualBox. Sadly, during the distribution upgrade process the guest OS froze and, on hard reset, the root FS was corrupted. –  Martin Eve Mar 20 '11 at 19:07
    
Hi, just tried this: sudo service dbus restart, which shutdown X, but then did not bring it back up... any idea? –  Martin Eve Mar 26 '11 at 11:19
3  
I may well be wrong, but I think that if your upgrade includes changes to the kernel, or any modules, you need to restart your machine. –  thomas michael wallace May 24 '11 at 19:48
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.