Terminal Update

May 9, 2010

Well continuing in my recent “bashing Lucid Lynx” trend I have found a problem once again.  I am sure that we are all familiar with the graphical interface for updating our system.  If not then you can find it by going to System > Administration > Update Manager.  Well for some reason for me this program decides to freeze as well, and unlike Firefox it doesn’t ever recover.  Luckily there is a way to apply updates from the terminal (see the terminal is your second best friend, Google is first).  The command you will need is

sudo apt-get upgrade

This will install the newest version of all packages (programs) that are currently on your system. Here is what the man page says

upgrade is used to install the newest versions of all packages
currently installed on the system from the sources enumerated in
/etc/apt/sources.list. Packages currently installed with new
versions available are retrieved and upgraded; under no
circumstances are currently installed packages removed, or packages
not already installed retrieved and installed. New versions of
currently installed packages that cannot be upgraded without
changing the install status of another package will be left at
their current version. An update must be performed first so that
apt-get knows that new versions of packages are available.

So after reading this it would seem that you might have to run either sudo apt-get autoremove or sudo apt-get autoclean.

I am not sure if this will also take care of security updates as well so just to be on the safe side I would assume not.  So I’ll have to find a way to get this done from the terminal as well.  Hope this was helpful to some of you, or at least provided you with a bit of new information.

Back to a Walking Speed

May 7, 2010

Well the Firefox slow down has finally gotten out of hand.  I’ve installed Swiftfox, which is basically Firefox but supposedly optimized for speed.  If you want to try it then just do a Google search for Swiftfox, and click on just about any link of your choice.

In the previous post I provided a link that showed how to supposedly fix the problem.  More or less what it instructed you to do was disable IPv6 in Firefox.  Well this didn’t work for me (though it might for you so I suggest you try it anyway).  After realizing that this didn’t work I found another site that showed how to disable IPv6 system wide.  Here is what the site says to do;

First check to see if IPv6 is enabled. If the following returns 0 then it is, otherwise it’s not.

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

If it is enabled the you need to run the following and then restart your system.

echo "#disable ipv6" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf

Just to be safe however, I installed Google Chrome anyway.  My system still freezes every now and then, but it’s no longer as bad as it used to be.  At this point I think that it’s something else (probably flash, who knows).

Another problem I’ve encountered is that Pidgin isn’t as responsive as it was back when I used 8.04.  But that could be due to the Facebook plugin, I’ve experienced this before so fixing it shouldn’t be too difficult.

Well my next post will most likely be about more problems I have with 10.04 (thank god this is a LTS, because it seems like the problems don’t stop).

EDIT: I totally forgot to mention what the tee command does.  It reads from standard in and writes to either standard out or a file.  When used with the -a flag it appends to the end of the designated file(s). Therefore, the following commands will have the same (overall) result.

echo "I can append to a file" >> my_file
echo "I can append to a file" | tee -a my_file

Similarly the same is true of the following.

echo "I can overwrite a file" > my_file
echo "I can overwrite a file" | tee my_file

Lucid Lynx

May 5, 2010

From the title you should know what I am about to say.  However, for those of you that have been living under a rock (or don’t keep up with these kinds of things) Lucid Lynx is the newest (at the time of this post) member to the Ubuntu family.  The first noticeable chance is that the default theme for version 10.04 is drastically different.  Just look around Google Images to see what I mean.  Also the Min/Maximize & Close buttons have been moved to the left of the window and have also been reordered.  Now you have two options, either get used to it or find a way to move them back.  I would go with moving them back to where they should be (yes Apple you were wrong for putting them on the left).  It’s not too difficult, maybe I’ll write a post on this or I’ll just post a link, still haven’t made up my mind.

I haven’t used it too much since I am still running from the LiveCD (long story) but I’ll let you know my thoughts when I finally install it and do some (much needed) configuration.

Oh one more thing, I will be using a 32bit version and NOT A 64BIT VERSION! The reason for the switch is the lack of flash support for 64bit Linux (thanks Adobe) and also none of the applications/programs I used took full advantage of the fact that I was using a 64bit processor.  Don’t worry I will mention some 64bit stuff every now and then when appropriate, but not as much as I did in the past.

No Upgrade For Me

September 1, 2009

Well I have finally moved into my place and have discovered 2 things.

1: My desktop is dead…well at least to a point where a Linux Live CD won’t help.

2: My Data Structures & Algorithms class will be using Java 1.5

Well #2 is more of a annoyance than a real problem (I use Java 1.6).  As for #1 I was planning to use my desktop to try and update Ubuntu.  It used to run 8.10 before it died (I’m sure it’s just some simple hardware problem).  Well at least most of my stuff from there is backed up elsewhere.  Guess it pays off to be paranoid.  Besides it is probably a good idea to do that before even attempting to upgrade you system, no matter how fool proof the process is said to be.

As things are now I will either buy another desktop around January 1, 2010 or a new laptop around that same time.  Either way, I will be putting Ubuntu on it, hopefully a 32 bit version.  The only real pain I for see is getting the wireless card to work, but other than that everything I need to change I have previously documented the process for; either on this blog or another location.

Guess in my next post I’ll talk about one of my biggest peeves of working with a functional Ubuntu installation.  The default terminal size.