Friday, January 30, 2009

Adept updater crash

I had been hoping to blog more about programming stuff, but here has been lots of "yak shaving" activities for me lately. Linux is still a hairy beast, even if things are slowly getting better. And here is another one!

The "Adept updater tool" in KDE, which has a little icon in the systray informing you when important updates are unavailable, is light-years better than the default behavior of the Windows Update tool in Vista -

("I have downloaded updates and will restart now, shutting down your programs". "I am configuring updates, you may not turn off your computer right now.", "Now I'm going to restart your computer again". "This is a blue screen of death" "Could not start Windows. Would you like to try to restore your computer to last known working configuration?" No joke, this happens to me with SP1 for Vista, can't install it on my Dell laptop)

- but Adept is not completely bug- or annoyance-free either. Yesterday when downloading a new Linux kernel to my Kubuntu system, my update progress stopped suddenly. A command line style menu window had popped up asking if I wanted to keep my old locally changed grub conf file, or replace it with a new one. While Adept could show the menu to me if I went to the "details" tab, it could not process any input from me and transmit it to the install script, so I had to kill the Adept process.

Next time I tried to restart Adept, it said the update database was locked because another program was using it. This is the solution to this problem (most of it curtesy of "harleqinguy" at Linuxquestions.org)

sudo rm /var/lib/dpkg/lock
Removes lock file - only do if you are sure all programs which may access the update db are terminated, but the lock still remains.

sudo dpkg --configure -a
Reconfigures downloaded but not yet installed update packages, and backs up configuration files. Mainly to test if you can run update tools, and to try to fix any configuration mistakes you may have done

Now you can restart Adept, but trying to update your system through it will only lead to the same issues again, to get by this problem and get your shiny new kernel installed, go to your trusty command line and run

sudo apt-get upgrade

10 comments:

Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

Ridhi Web Expert said...

My laptop crashes every time my picture software's automatic updater runs. What can I do?

THX
Brad Fallon

sharma said...

If you still have trouble, just compile with default settings and the version php you desire. After that, you could add the modules you need. Of course, only select what you do need.
eb 5 visa

sharma said...

My laptop crashes every time my picture software's automatic updater runs. What can I do?

Herman Miller Aeron

city said...

thanks for sharing.

Packers and Movers Book said...

Nice information thanks

packers and movers delhi

Kajal Kumari said...

We Welcome you to Packers And Movers Pune . We can assist you on your household shifting. Shifting home to a new place is considered as a hectic and tedious task.

Beant Singh - Unique Movers Quotation said...

Packing and moving your precious goods is an art and our expert employees have mastered the art and science of packing and moving. Movers And Packers Pune
Packers and movers ahmedabad
Packers and movers hinjewadi Pune
Packers and movers magarpatta city Pune
Packers and movers viman nagar Pune
packing and moving Pune
Packers and movers warje Pune
Packers and movers in hisar
packers and movers in surat
Packers And Movers Yerwada
packers and movers in fatimanagar
Packers And Movers Baner Pune
Packers And Movers In Katraj Pune
Packers And Movers Sangli
packers and movers shiviji nagar pune
Packers And Movers Pimple Saudagar Pune
Packers And Movers Pimple Gurav Pune
Packers And Movers Wakad Pune
packers and movers aundh pune
Packers And Movers Hadapsar Pune
Packers And Movers Wagholi Pune


Packers And Movers Delhi
Packers And Movers Indore

Bhuwan Satywali said...

All India packers and movers services providers company:
Noida packers and movers
Delhi packers and movers
Gurgaon packers and movers
Faridabad packers and movers
Ghaziabad packers and movers

prakash g said...

Great Blog!! That was amazing. Your thought processing is wonderful. The way you tell the thing is awesome.
packers and movers pune
packers and movers chennai
packers and movers indore
packers and movers kolkata