Showing posts with label update. Show all posts
Showing posts with label update. Show all posts

Tuesday, June 08, 2010

How to Undo an Update in Ubuntu Lucid

Well it took me a few hours but I finally figured out why a couple of the images I've been working on were taking so long to fully load the Gnome Panel upon login (about 30 seconds as opposed to the 5-8 it normally takes). After ruling out dozens of other possibilities I finally realized that it was a gnome-keyring update I installed just today that was causing the panel to load so slowly. It wasn't easy though.

The first step to undoing the offending update was to find out what updates it was exactly. After searching some forums I came across a way to see my update history:
  • Open synaptic package manager ("sudo synaptic" in the terminal). From the menu bar, click File -> History and you will see all your updates sorted by date.

Unfortunately I had installed about 20 updates today, and I didn't know which one had caused the problem. By searching through each of the packages named in the History list, I was able to downgrade a few at a time until the problem was solved and I had identified the offending update. To do this:

  • Use the search bar to find the package you want to downgrade. Once you've found what you're looking for, click on the package to select it. From the menu bar, click Package -> Force Version and select the previous version of the package from the drop down menu. Click the "Apply" button to apply the downgrade.
It's not an elegant solution, but it did the trick for me. Hopefully it will help someone else out there sometime too. Cheers! -Joe

Saturday, December 01, 2007

From the Obvious Department: Updates help Ubuntu

Well, I'm kind of disappointed. I was all set to whine and moan about Edubuntu screwing things up on my LTSP in the outside lab and how it made me reinstall the entire OS again but then a funny thing happened. After I reinstalled the OS I noticed that it not only worked exactly as it should, but it also had solved one of the most annoying changes from Feisty to Gutsy. So now I guess this is going to be more of a fanboy post than I originally planned to do. Oh well.

So there were basically two problems with the outside lab. I'm not sure whether they were both due to a faulty install or not, but the first was really strange. I have 24 computers in the lab including the server. Therefore I set up 24 user accounts numbered "student1" through "student24" and gave them all the same password so as to make logging on as easy as possible for the students. The only problem was for some reason the server would not accept a few usernames, like "student11" and "student15" for example. I tried looking around the file system and saw that there actually were directories for the malfunctioning user accounts, but I still couldn't get the server to accept the user IDs and couldn't log on to any of the thin clients using any of the malfunctioning IDs either. Really strange stuff.

The second problem was with Flash. Feisty used to require every individual thin client to install its own version of the flash player. Annoying, but not a big deal since it was just a matter of clicking through the plug-in prompts. At least there wasn't any password or authentication required. That changed when I first installed Gutsy. It kept asking for a password and I couldn't figure out which one it wanted. Was it the admin password, the root password, or the user password? Did I need to make the user an administrator and then install flash player? In the end I just decided it was better to leave flash uninstalled. After all the outside lab is too underpowered for anything but research and word processing.

So due to the user problem I decided to just reinstall the entire thing (during which I wrote the previous post). Upon updating and checking out the above mentioned problems I noticed that my user account issue had been solved and worked just as it should, while the flash player issue was not only fixed, but no longer required each thin client to install it on its own! Once I installed the player on the server, all the thin clients had it as well! Super-sweet.

I assume that the updates since the initial release of Gutsy had done something to solve at least the flash problem if not both issues, which brings me to the point of this post: Ubuntu updates help make the OS work better.

That may seem a silly, even contrived statement, but those of us with extensive experience using Windows know that it is anything but. This is because Windows updates frequently cause as many problems as they fix. I'm not sure if it is a Windows issue or a Firefox one, but just last week I had to remove the automatic updating of Firefox on a teacher's computer because it kept losing her bookmarks and passwords with every update. I also got yelled at quite severely last year when I installed updates on a colleagues laptop. "It screws up my computer when I install the updates!" she wailed. And it was just earlier toady that I read about a software update that brought down a call center at AT&T in 1990. Now granted that last example doesn't necessarily name Windows as the culprit, but the point is that Ubuntu gets it right.

This isn't the first time Ubuntu updates have helped me out, but it's still a nice feeling every time it happens. It feels like someone is listening, paying attention, and doing something about the issues that annoy you. It makes me think Mark Shuttleworth should go into politics or something. Cheerio! -joe