Ubuntu

Tue

02

Feb

2010

Ubuntu One - Sync Problem

Ubuntu One

When I upgraded to Ubuntu Karmic Koala (9.10), I had a cursory glance over the Ubuntu One and did a setup. It basically was supposed to provide a syncing mechanism of your local files with storage in cloud (Ubuntu One servers).

Wed

13

Jan

2010

Be careful when you use tasksel

Let me repeat the title - be very careful while you use tasksel on Ubuntu (or a Debian based Linux distribution for that matter).

Here is something that I am going through right as I write this entry that might save you the trouble. I was back from work, and it was 2 AM in the morning but I still wanted to do some setups on my laptop. It had been recently upgraded to Ubuntu 9.10 (Karmic Koala) and I wanted to setup a LAMP stack.

I invoked tasksel and saw that Ubuntu Desktop was highlighted. I unchecked it, checked LAMP server and hit OK.

And all hell broke loose.

It was uninstalling the Ubuntu Desktop packages right in front of my eyes!

Well, I killed the process half way through but some harm was done. If I shutdown my laptop now, or it crashes I need to use a CD to recover it. But since I had been through a similar situation before, I know I should be able to recover from this.

It might sound cocky since I am still on the recovery process, but I do have confidence that it will pull through.

Bottom line though is that be careful of the GUI wrappers like tasksel or even Synaptic Package Managers. They can do a lot of harm for the "ease of use" they provide. Stick to explicit command line that does only what is told. And also, do not do critical system changes with sleepy eyes. :)

Thu

02

Jul

2009

Ubuntu 9.10 Boot Performance - It Does Matter

In his post, Ubuntu 9.10 Boot Performance, and Does it Matter? Christopher Tozzi makes a point that it doesn't really matter that the boot performance has improved since "none of us" shutdown the desktops/laptops, opting instead for suspend/hibernate.

It just seems quite seems like his world view is quite flawed in my opinion. When I was in Denver, and a power outage did not occur for the two years I was there, I did keep my Ubuntu powered Dell laptop up and running all the while.

But back in India, now in Chennai, the power outage is quite frequent. I do not want to keep my laptop hooked on all the time. I do want to shutdown completely and boot in when I want to use it.

I just hope that people who lead the development of Ubuntu as a distribution are not just filled with people with narrow views.

Sat

25

Apr

2009

Ubuntu 9.04 Jaunty Jackalope Released

I am currently in the process of getting the Alternate CD downloaded through BitTorrent since my ISP (Airtel) is pretty bad, and I do not want to rely on their falsely stated 256 kbps connection for an upgrade from 8.10. That said, I have been looking around for news on Ubuntu Jaunty Jackalope - Canonical's latest release of the operating system.

Here is one I found on cNet: Ubuntu 9.04 as slick as Windows 7, Mac OS X by Renai LeMay

Wed

15

Apr

2009

Ubuntu on a Windows Upgrade Path Survey

For those who like to dig into numbers and trends, having overlapping interests in Open Source, here is a intereting PDF by Kace:

Windows 7 Adoption Survey

(Found via ITNews)

Thu

08

Jan

2009

Deleted Kernel and Video Drivers

I guess I should be taking extra care when I am doing multi-tasking. I was casually cleaning up the old kernel images of my Ubuntu install, and I realized that I had removed all the kernel. I still had my OS up and running, and in working condition and from my experience, it can go on theoretically for ever as long as there is power supply.

But, I was anxious to restore, and quickly serched for the Kernel MetaPackages. Quoting:

These metapackages install the latest linux kernel and modules through a series of dependencies. These make upgrading the kernel much easier, and safer, since they ensure that all required modules and headers are also installed.

  • linux-generic: Always depends on the latest generic Linux kernel available.
  • linux-headers-generic: This package always depends on the latest generic kernel headers available.
  • linux-image-generic: This package always depends on the latest generic kernel image available.
  • linux-restricted-modules-generic: This package always depends on the latest restricted modules available for generic kernels.

So I fired up Synaptic Package Manager and installed those packages. To ensure everything was working, I rebooted.

Smile

Next login, I was greeted with a command line.

Snooping around, I found out that my nVidia drivers had gotten uninstalled and it was not able to start the X session.

It took a bit more snooping around in the command line. Brought back some memories - I know, it sounds geeky.

$ sudo apt-get install nvidia-glx nvidia-kernel-common

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-glx is a virtual package provided by:
nvidia-glx-96 96.43.09-0ubuntu1
nvidia-glx-180 180.11-0ubuntu1~intrepid1
nvidia-glx-177 177.82-0ubuntu0.1
nvidia-glx-71 71.86.04-0ubuntu10
nvidia-glx-173 173.14.12-1-0ubuntu4
You should explicitly select one to install.
E: Package nvidia-glx has no installation candidate

$ sudo apt-get install nvidia-glx-180 nvidia-kernel-common

That installed the video drivers. A startx would not start the X session. So another boot, and I was back to normal.

Fun times.

Tue

02

Dec

2008

On Ubuntu and Eclipse

I have been working on C++ again after a break of more than two years, and I found that Eclipse can be a good tool to do so. I have learned to get myself to be more productive in Java projects, but translating that knowledge to developing C++ in Eclipse requires at least Eclipse Europa - it is for me of course, because I have gotten used to that simultaneous release of Eclipse at work.

Sadly, Eclipse is at a older version - Callisto - in Ubuntu, even after the latest upgrade to the distribution itself - Ubuntu Intrepid Ibex.

Being open source, it lets me dig quite deep to find the status on this project:

  1. Ubuntu Brainstorm Idea # 1265
  2. Ubuntu Launchpad Bug # 123064
  3. Debian Bug # 432350

It is actually nothing new for me - at my day job, I deal with a lot of proprietary tools, and support - even when paid for - is quite flaky. At least, here I get some transparency.

Going through the Debian bug does give a bleak feel on the situation. Now, I have a choice:

  1. Live with it. Wink
  2. Live with an encumbered process of installing it myself and maintain it - but I am quite addicted to Synaptic Package Manager (read it as I am lazy).
  3. Dual boot (triple boot) to Fedora 10
  4. Help those maintainers to package Eclipse into Ubuntu/Debian repositories

I am not keen on option two. I might try out option three sometime. Since I am at the moment so fond of Ubuntu, I should be going for option four - but I do not know where to begin with to package an application and create a deb. I think I should start learning about it, so I guess I will be choosing option one for a while. Smile

Mon

24

Nov

2008

Hate Microsoft?

To state or ask clearly, should we love to hate Microsoft?

Though not stated clearyly in his blog post, I guess I was living in a Foss world, (and if he did I am sure there would be a huge list of links), I am sure Mayank did aim the post at me. And just to be sure, he did plug about it in a chat just before.

I guess I know where he comes from when he asks the question. To answer frankly, I do not lote to hate Microsoft. I would love to love Microsoft but it just is not plain possible.

I see that he goes about pointing at few selected comments, from I am not sure who. There is no point in that - but actually, quite goes to show that Microsoft is quite good at market share. There is no denying that. Even if it does, Linux will take a long time to attain what Microsoft has achieved in terms of market share. But again, I would digress if I start quoting people's comments. Comments are good, and they are opinions. They do at most portray the voice of a vocal share of the market. But we should take it with a grain of salt.

That too, comments on a blog post which is some one's opinon or statement. I mean, who is Randall C Kennedy. Until that link in the post, I did not know who that was. (But seems like he is a notable person, at least in terms of Wikipedia. See Randall C Kennedy entry).

To answer another quote, I do not mind paying for software. I am a software engineer by my day job, and I respect another person's labor. That said, it for the same respect that I tend to hate Microsoft. I have been exposed to almost five years of enterprise software development - and I know the results of vendor lock in. There could be huge saving and increase in productivity if people and organizations were free to choose the tools and products regardless of the tools and products they bought earlier.

To explain further, it is the practices that Microsoft indulges in - specifically the anti-competitive practices that makes me avoid using their product as far as I can.

It is because I respect other peoples work, I do not approve of piracy. I know from my recent trip to India, where I had to service three different PCs, and they were crippled. (I ended up installing Ubuntu - it was more than enough for their use case scenarios). They were crippled because of use of priated software right from the OS. What concerned me the most, was that my young cousins would be exposed to only Microsoft products and would not know they had a choice. These kids would grow up to run organizations tomorrow, and they would be the ones in decision making positions. The general public, at least in India, is not concerned about piracy due to lack of education. Microsoft would not want to change that - because when India breeds new generation of software developers and system architects, they are only acquainted with Microsoft tools. And that makes it harder for me.

On another note, to illustrate my point of why I avoid Microsoft, let me point you to another link - Is it OK for Microsoft and others to forbid disclosure of benchmark results? Yes, I discovered that link from the Wikipedia entry of Randall.

So, to answer Mayank, I do not love to hate Microsoft. And I do not even overlook the positives of their product. I do use Microsoft products at my day job, and use Linux at home for general computing and personal projects. I can not say for everyone else, but my opinions are based on my experiences using products from both sides of the proverbial fence.

Mon

24

Nov

2008

GNU/Linux and X Windows

I have been using primarily Ubuntu for quite some time now. That distribution is a GNU/Linux Operating system with Gnome desktop environment configuration of the X Windows. Canonical, that provides Ubuntu also has two other distributions: Kubuntu and Xubuntu.

I was poking around at those desktop environment's homepages, with a faint understanding of how it all fits. Recently, one of my KalaaLog.com reader who is a Linux user did a switch from KDE to Gnome (Kubuntu to Ubuntu).

My curiosity took over and hence I did a hunt on Google and have a list of links that I think I should be reading.

 If you think I should be reading some more, do not hesitate to post links below. I intend to get a bird's eye view or basic understanding of the GNU/Linux and the X Window System architecture.

Sun

09

Nov

2008

Will Microsoft give free upgrade?

We have our dear friend Mayank wishing Microsoft would give free upgrade to Windows 7 for those who have Windows Vista legal copy.

If they really do (which would be a surprises), it would affect me. Because my laptop came bundled with Windows Vista, and I still keep it up to date as any user should even though I live full time on my Ubuntu boot. I have now come to a point where I really do not care what happens there, but such posts as Mayank's does give me a chuckle.

Yes, I just upgraded to Ubuntu Intrepid Ibex. And I have to say, I am quite thrilled with it, but that might be due to my thrill with the new features that came with GIMP 2.6 (see the first artwork I did with that version - Too Old For Halloween?). But it is not just me, Thilak too chimes in with his 'stunned note' on Ubuntu.

On a serious note, to go without linking anywhere else, this is exactly the point I see as a major advantage with Open Source. With proprieatary software, there is vendor lock in. The quality of solution commercial software provides, has very less of a impact on your decision to go for a version or not. It is either their way or you an take the highway.

Microsoft, even after accepting that Windows Vista is a failure (I do not have reference for this - I am going by what Mayank said), can still choose to not provide a free or even discounted upgrade to Windows 7. They would not be restricted by any legal liability.