Ubuntu Jaunty: Error authenticating packages partial upgrade

Was getting this error when trying to do a partial upgrade in Ubuntu (I didn’t select ‘Partial Upgrade’, it brought it up on its own). Then checked in Synaptic->Repositories->Authentication. Apparently, http://ppa.launchpad.net jaunty was not authenticated.

A quick google brought me to this post. Looks like I’m not the only one with this problem. I followed the instructions left by one of the users and that fixed the authentication problem.

Then tried running the Partial upgrade again and it worked!

Jaunty (Ubuntu 9.04) on Acer 4530 – nvidia drivers

Using the default recommended version of the nvidia drivers (180.44), I found that while running compiz-fusion and AWN my screen would hang every now and then for no reason. It would hang if I played around with the wobbly windows for too long or sometimes even if I just minimized firefox.

The only way to reproduce it seemed to be to use the j2ee version of eclipse ide 3.5 (Galileo) and click on Windows->Preferences. The screen would hang for sure and only way to fix it would be a hard reboot.

After a post on the compiz-fusion forums it looked like the problem was because of the driver I was using. Also, on the nvnews forums, I found this thread which showed that a lot of people were having trouble with the 180.* version of the nvidia drivers.

So, I installed envyng from synaptic and downgraded the drivers to the next recommended version i.e. 173.14.16 which made my browser fonts look like crap and slowed everything down. Atleast it stopped hanging, but I couldn’t bear the slow crawl of the display.

So, I finally bumped into this blog post which explained how to manually install the drivers on Ubuntu.

DISCLAIMER:

  1. I presume you are already using the nvidia drivers but are having frequent performance problems because of the &%#@ 180.* drivers. If you do, then you can use the existing xorg.conf with your new drivers and it’ll work just fine.
  2. I don’t know how to uninstall the drivers. I know the driver installer from nvidia has a –uninstall option, but I haven’t tried it. If you did and it worked for you, please leave a comment.

These are the steps I followed:

  1. Download the latest nvidia drivers. I downloaded NVIDIA-Linux-x86-185.18.31-pkg1.run from the nvidia site. It’s available under GeForce 9Mobile series and Linux x86.
  2. Install envyng-core from synaptic. The text version will be all you need.
  3. Go into console mode using Ctrl + Alt + F1. Before that copy all these steps into a file in your home directory so that you can read them when you’re in console mode. Before going to the next step if you need to get back into X, press Ctrl + Alt + F7.
  4. Login using your username and password
  5. kill gdm/kdm using sudo killall gdm or sudo killall kdm. You cannot uninstall/install drivers unless you kill X.
  6. Use envyng to uninstall the drivers: Type envyng -t and select uninstall drivers.
  7. Backup your existing xorg.conf using:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_good_backup
    I would highly recommend this step so that you don’t lose your good working xorg config. You will need it after you install the new drivers.
  8. cd to the location where you’ve downloaded the latest nvidia drivers.
  9. Give execute permission by typing:
    chmod +x NVIDIA-Linux-x86-185.18.31-pkg1.run (or whatever your version is)
  10. Run the drivers using:
    sudo ./NVIDIA-Linux-x86-185.18.31-pkg1.run (or whatever your version is)
  11. Follow instruction on the blue screen.
  12. After completing installation, copy your old good working configuration of xorg.conf using the following command:
    sudo cp /etc/X11/xorg.conf_good_backup /etc/X11/xorg.conf
    This is assuming you already had the ubuntu recommended drivers installed before this. If you didn’t then you will probably need to do some poking around to get your xorg.conf working properly.
  13. Reboot and enjoy your new slick and better performing compiz-fusion!

After doing this, I downloaded the jee version of eclipse 3.5 and clicked on window->preferences and it worked fine! Looks like it’s working great!

It has only been a few hours since I installed it and haven’t seen any problems yet. If I do find anything, I’ll update this post.

Acer 4530 and Ubuntu 9.04 – Perfect!

It’s here ladies and gentlemen … the perfect match. Ubuntu 9.04 appears to be well and truly tailor made for Acer 4530. Absolutely everything works. I’ve got the wifi working, sound playing, nvidia graphics working seamlessly with compiz-fusion.

The best part is, it’s working off a windows NTFS partition with write access to all the NTFS partitions, thanks to Wubi! And the entire installation took a little over 5 minutes. That’s even less than what it would have taken if I had installed a full blown Ubuntu installation.

My biggest concern was about the Atheros wifi card which has always been a problem in Linux because of the bad drivers. But Ubuntu 9.04 works out of the box. My laptop uses the ath9k kernel driver which is working great.

I feel everyone should give this a shot, windows users included. I’ve been dying to get rid of the vista home premium that came bundled with my laptop and along comes ubuntu 9.04 with it’s amazing compatibility. I’ve been a die-hard gentoo user for the past 5 years and now seeing how convenient ubuntu is, I finally feel Linux has arrived!

Edit:

Ok, here’re some more details:

This is my laptop: Acer 4530-6823 which has AMD Athlon XP 64bit QL-62 processor. I’m using the 32bit version of Jaunty and the default Gnome desktop.

Of course, I would say that this distro, although miles ahead of the others, isn’t without some bugs. The audio port for headphones/speakers doesn’t work out of the box. Neither does the built in mic. But I think this can be fixed by updating/configuring alsa.

But the webcam works fine. I’ve tried it with Ekiga and it’s working.

I did try installing Ubuntu 8.10 on my friend’s Acer 4530 which was identical except for the memory and HDD and I gave up after spending a miserable few hours struggling with it. Same was the case with Suse. But the ease with which I could get Ubuntu 9.04 up and running is amazing. If you’ve got this laptop, I would highly recommend this version. Also, if your laptop has got an atheros wifi card. This is the first Linux distro I’ve seen which has got it working out of the box (I couldn’t get it to work in any of the others even after struggling with them – Ubuntu 8.10, OpenSuse 11.1, Gentoo!).

Edit2:

Ok, got the headphones working. Followed the instructions in the post given by Asif over here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/360181/comments/1

KDE and QT

Have always been a linux user. But just recently felt the need to contribute to the open source community as well. Being primarily a java developer, C++ doesn’t come very naturally to me. But I’m willing to learn and am going through it one step at a time.

I did find the following tut for C++ for Java devs:

http://pages.cs.wisc.edu/~hasti/cs368/CppTutorial/index.html

But for now, I’ve installed KDevelop and going through the following tut I found on the dev site for kde:

http://www.beginning-kdevelop-programming.co.uk/

http://www.kde.org/getinvolved/development/

KDE effectively uses QT libs from Trolltech.