I took the plunge and upgraded my Ubuntu install from Gutsy Gibbon to Hardy Heron and now apt-get doesn’t work.  Everything that depends on it or anything like it doesn’t seem to work.  dpkg still does.  So, if I update and upgrade (or dist-upgrade), it’ll fetch the packages, just as the update-manager does, but it will crap out with a segmentation fault when its time to install the packages.  I’ve joined Lymatas thread at the Ubuntu forums.  This will be the first time that I’ve ever asked for help, as the solution has always been a search query away.  The solution presented (which is the one that helps most people) does not work for me.  If anyone has overcome this problem, let me know how you solved it.  I’m about to ask a question on LQ for the first time.

I’ve decided that Lymatas has a different problem and have created my own thread - the first ever linux question I’ve posted to a forum (will also request help at LQ - this is getting to be ridiculous).  Check out my request right HERE and see if you can help me kill apt and ressurect it from its death! (or something like that).

If you remember, I  mentioned a hard drive replacement a while ago.  I haven’t tried to revive it yet with a tool like Spinright yet, but I may still be able to get something out of it.  That was a hard drive failure.  It doesn’t boot or recognize at all at the moment.

I thought that I was going through that with another one as well.  The hard drive in Frankenputer seemed to have gone on me after another update of Hardy Heron.  I had split the drive up into three partitions, one as the root partition “/”, swap, and a third one as “/home”.  The root partition was formatted as EXT3 and the /home was partitioned as ReiserFS.  After yet another update (development software after all), I rebooted into a corrupted first partition and E2FSCK didn’t help, dropping me to a single user recovery shell.  I ran FSCK manually and was able to get the partition reorganized.  I carried on but this was not the end of my troubles.

One more update killed it for good, I thought.  My drive was not even recognized on boot.  Its the second hard drive and I actually have GRUB, my bootloader on the first drive.  I’ve been letting whichever operating system that does the latest update handle GRUB, which meant that the config file with the instructions for GRUB “/boot/grub/menu.list”, was on the second drive on the corrupted partition.  no problem, I just popped in a Linux install CD (Ubuntu of some version, I recall), and chose the option to boot from the first hard drive to get into Arch Linux o that I could do some online digging about this problem.

Somehow, the corruption of the first partition seemed to have affected the boot sector of the second drive as well, which was causing the problem with the BIOS picking up the drive.  I was able to “see” and mount the “/home” partition, so I figured that the drive just couldn’t be dead, as I had thought.  I immediately attempted to back up as much data as I could access onto DVD, which was quite successful, albeit a tad slow, as the OS and the DVD burner were on the same IDE cable.  On a lark, I reformatted the first partition with ReiserFS, which in my opinion, has a far superior recovery on unexpected shutdown.  Suddenly, the whole drive was once again visible to the BIOS.

I reinstalled Gutsy Gibbon and used my existing “/home” and restored my user and each of the kids.  The only difference was that a few programs were missing, which  can be recovered, and some theme-related files which were in “/usr/share” were not available.

So, the take away from this story is that your hard drive may not actually be bad.  It might just be that your hardware is not perfectly suited to go together and a file system corruption may be the cause of your troubles.

So, a few weeks ago, Ubuntu “upgraded” Firefox 2.0.0.12 (which is a decent release) to Firefox 3 Beta and I couldn’t view any java applets any more.  The reason is because some of the file paths are changing and the plugins need to be linked to a different spot.  I had to try Opera but it crashed.  That left me with Konqueror, which is not native to Gnome, for the time being.

That has just changed.  I just found Bug #173966 and there was a hack proposed that helped me to get back on track.  The solution, for now:

cd  /usr/lib/xulrunner-addons/plugins/

ln -s /usr/lib/firefox/plugins/libjavaplugin.so .   <–note the “dot”

Your plugin path might be different, but that’s where one place mine can be found (actually, its a symbolic link to the plugin, which is in  /etc/alternatives/firefox-javaplugin.so)

I’ve made a few additions to the original post about hacking your Hardy Heron to accept Java as it stands.  Check it out and read the comments too.  Jazz has added a lot to what I’ve said.  Don’t forget to visit the forum thread that started this all.

TopOfBlogs