Welcome to my blog !

The famous author Arthur Koestler once said that “Creativity is a type of learning process where the teacher and pupil are located in the same individual.” My main purpose for this blog is to depict the little tricks I've learned over time in Computers and my increasing adaptation towards Open Source Software.
More about me... here

November 06 2008

Symlink errors

Tagged Under :




Recently I had to reinstall my Windows box so I decided to reinstall my Archlinux box as well. So I started taking backups which I must say that backing up data is starting to hurt the wallet since I have about 20-35 GB of data I need to save. So continued on and backed up everything and reinstalled Windows first since I wanted a dual boot configuration on this system. My system has a IDE and SATA hard disk which tends to cause problems when I configure it for dual booting. Usually I end up with having to use the BIOS boot options to go to either Linux or Windows. Well with the help of a friend on IRC (Thanks Qwerty) I created a /boot partition on the IDE drive which Windows was installed and then the rest of the Linux partitions on the SATA drive and then installed the GRUB to sda instead of the boot partition like I was doing previously and now I have a perfectly configured Dual boot.

Now if you are wondering what does this have to do with Symlink errors, hold your horses I’m getting there. After continuing with the install I did a pacman -Syu and made sure I upgraded all base packages but after downloading the updates it just wouldn’t get upgraded but rather gave me the following error.


checking package integrity...
checking for file conflicts...
error: could not prepare transaction
klibc: /usr/lib/klibc/include/asm/Kbuild exists in filesystem
klibc: /usr/lib/klibc/include/asm/a.out-core.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/a.out.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/acpi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/agp.h exists in filesystem
............  (Couple 100 of errors deleted) ................
klibc: /usr/lib/klibc/include/asm/xor_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/xor_64.h exists in filesystem
Errors occurred, no packages were upgraded.

Checked around and found that without performing the following command would result in the above error.

rm /usr/lib/klibc/include/asm

Running this command fixed the problem and I was able to upgrade the packages with no problem. The reason for this is shown below as quoted per www.archlinux.com

Due to a limitation in pacman’s conflict checking and symbolic link resolution, the upgrade to klibc-1.5.14-1 requires manual removal of a symbolic link before updating. Please run the command “rm /usr/lib/klibc/include/asm” as root to remove the symbolic link that will otherwise cause a few hundred false file conflicts.

Source

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


June 28 2008

The Dark Side : Me and Arch Linux

Tagged Under : , , ,

“You underestimate the power of the Dark Side. If you will not fight, then you will meet your destiny.”
-Darth Vader

As some of you might of heard I recently decided to install Arch Linux due to the constant nagging of Kalpik and some others in the IRC channel. The summary of our discussions go like this:

[22:33:42] <@kalpik> krazzy, ArchWiki :: Arch Linux - ArchWiki
[22:33:57] <@kalpik> krazzy, ArchWiki :: Arch Compared To Other Distros - ArchWiki
[22:34:11] <amitava> BUT IF u want peace of mind: Get a mac, get a life
[22:34:26] <Filled-Void> lol
[22:34:33] <amitava> >.<
[22:35:01] <Filled-Void> kalpik, is Arch also a compile and use distro?
[22:35:11] <@kalpik> Filled-Void, it can be if you want
[22:35:20] <@kalpik> Filled-Void, arch is superb! you MUST try!
[22:35:41] <Filled-Void> kalpik, Oh ok. then never mind I was looking for a change. Ubuntu is gtting old for me, Arch , gentoo and crux bleh need compiling
[22:36:37] <@kalpik> Filled-Void, binaries for everything are available!
[22:36:38] <amitava> wtf Filled-Void try leopard..
[22:36:39] <@kalpik> Filled-Void, try na!
[22:37:00] <Filled-Void> kalpik, how big is the download
[22:37:14] <@kalpik> Filled-Void, 135 MB for ISO and about 300 MB for gnome
[22:37:17] <munna-boi> Filled-Void,PIRATE!!! Blilly uncle loves you
[22:37:42] <@kalpik> Filled-Void, ArchWiki :: Arch Compared To Other Distros - ArchWiki
[22:37:44] <Filled-Void> kalpik, Wht if I choose fluxbox instead?
[22:37:52] <@kalpik> Manan, lol..
[22:38:08] <@kalpik> Filled-Void, lesser downloads i think.. i’ve only tried gnome
[22:38:20] <Filled-Void> kalpik, Is it possible to install kde on it if I need it?
[22:38:26] <@kalpik> Filled-Void, the ISO only installs base system..
[22:38:30] <@kalpik> Filled-Void, yes!
[22:39:25] <aditya> kalpik: you guys telling Filled-Void to use arch?
[22:39:26] <munna-boi> Filled-Void is one crazy *******
[22:39:31] <@kalpik> aditya, yes

So lets see I understand this much at this point.

* I need to download about 300 MB
* You start out with Nothing other than a CLI.
* Loads of configuration.
* Looking forward towards lots of pain and aggravation

Interesting. Good enough for me to become cannon fodder for this reckless experiment. Although I must say that kalpik and some others did say they would help me out when I install it. Well hell with that, I thought how hard could be to install it myself. (The previous line in correct words mean backup your data cause you are so screwed .)

Here is a certain link which may explain why Arch might have some benefits over other distros. Please don’t start a distro war here. If you plan on come in riding on your horse guns blazing be free to do so on IRC in #ArchLinux or their forums. As for other Windows users and Mac users I am in no way asking you to change and I pray you don’t the configuration changes don’t justify your change to the platform unless you are so sick with the platform you are using. Of course you could try it in a VM though if you would like.

Answers to the most frequently asked questions.

Here are two Install Guides you will find very very handy. Follow these word by word and you should be fine.
Beginner’s Guide
Install Guide




Anyway I’m going to be quite short and say I downloaded the File needed for the base system from here..

Went on installing and I’ll be very frank it wasn’t hard at all. As long as you follow the Beginners Guide Step by Step. You want to be adventurous knock yourself out, but don’t throw your CPU out once you find out that you just overwrote your Windows/Linux partition.

Step 1 : Read the Beginner Guide.
Step 2 : If you didn’t do Step 1 then go back to Step 1 and read it.
Step 3 : Pick an Environment (Gnome, KDE, Fluxbox etc) you will be happy with and continue from there. You can install others later but lets first get this baby up and running.
Step 4 : Once you have decided which environment you want read the guide from the portion corresponding to the respective environment you have selected.
Step 5 : Install “yaourt” you can find the wiki for it here.Yaourt - ArchWiki
Step 6 : Install any or all the other programs you need. Remember this is Arch the only thing you have is probably your terminal and very basic utilities. Mainly you would want Multimedia Players, Chat programs, Codecs, Java, Flash. This should give you a fully functional system. Also you might want to install HAL and FAM. Each one of these are documented in the various wikis which I have linked below.

At this point you could call it or you could keep on customizing your system to your liking. Currently I have all the above installed and the rest is still coming. So you will see a couple of updates in this here and there.

Pros :

* You only get what you want. Theres no extra bloat.
* It is damn fast. Wouldn’t you love 12-15 second boot ups as well as shutdown . No I dont mean from CLI I mean from Gnome 2.22.2.
* You don’t have to sit all day waiting for your computer to compile all day long.
* Its a rolling release . No more waiting for your friends courier or favorite magazine to come out with the next release.

Cons :

* Arch is a bit of a pain getting it configured from scratch.
* You need a broadband connection . Considering that this is a base system you will need tons of downloads tog et your computer up to date.
* Arch is intended for Intermediate to advanced users. No, I’m not either I’m a beginner with this and if it weren’t for help I’d probably be still with a CLI.

Image of resources Being used:

Gnome System Monitor

Wikis for Everything you need :
Although you can google or find this on Arch Linux’s Website I’m goign to link this for the benefit of the user.
Beginner’s Guide
Installation
of a Desktop Environment

Java and Flash
Yaourt
Audio Codecs
All you need to know about Pacman
Compiz Fusion
openOffice.org (Don’t forget to install libsndfile)

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...


May 19 2008

Hardy Heron Installed.

Tagged Under : , , ,




Its been quite a while since I posted anything. I guess the hectic schedules are taking its toll. But nonetheless I finally got my hands on the DVD edition of Ubuntu Hardy Heron 64 bit and with my fingers crossed installed it on my system.

All I have to say is that I’m quite impressed. Every single bug I had earlier in Gutsy Gibbon has not made its way over to Hardy Heron. The Install procedure went through without a hitch  and I believe that Ubuntu is getting really good with its Operating System over time.

While I was doing the install I took a few screenshots and also wrote up a document showing the Install procedure , but trust me when I say that the Installation was very easy. You can download the Install guide from the link below which I have included. if anyone feels that I should add something to it or someone does have something to add to it . Please let me know. I’ll be more than happy to included it.

Download it from here:

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...


April 09 2008

Been Busy.

Tagged Under : ,

Well I know I haven’t been exactly active through the past month. However in my defense I’ll say that I have been working on alot of things at once. I’ve finished reading “Let Us C” by Yaswant Kanetkar in the past month and after starting to read Brian Kerninghan and Denis Ritchie’s book on Programming in Ansi C I must say that the “Let Us C” book is a horrible excuse for a book.

Anyway rants aside I have also been reading up on “Core Python Programming” by Wesley Chun and I must say that after the first few chapters I find no faults in it and that the author definitely keeps me interested in the topic at hand. Anyway the reason I started on Python early than what I had planned for is because I’m sick and tired of using C for the www.projecteuler.net questions. For the uninformed the site has a series of mathematical questions which you are to solve. After solving about 20 of them with C I must say that I have had enough with it. Although it is definitely doable I think that the questions would be much easier using Python than C.

For those of you who are in SMU Distance Education and haven’t gotten their assignment questions. It is on the website under Notices and Announcements. By the way, what’s the deal with us MCA’s getting our assignment questions last?  Something tells me  that someone in the IT department of SMU is definitely slacking off and should try better to get the assignments on the website much earlier.

To end this post I have been seriously been thinking of changing from Ubuntu to something else like Debian or Sabayon. Initially I was planning to try Sabayon using the DVD I got from last months Linux For You magazine. That plan was shot down when I found out that Sabayon Professional Edition 1.1 is not supported any longer as explained by the folks in #Sabayon on IRC. I have half the mind to go to the Trivandrum Linux Install Fest however considering its distance I might have to reconsider. I wouldpost the link but thats going to have to wait as it seems this Reliance WebWorld Internet Cafe won’t allow folks to open up extra browser windows as it has been restricted. If you are somewhere from the Trivandrum area and are able to go for the event then I highly recommend it as they will be more than happy to install whatever distro they have available (Ubuntu by default and others based on request and availability) on your system at no charge :). If you have been wondering about diving into Linux now would be a good time for you.

By the way you can find the details for thew Linux Install Fest here .

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


February 16 2008

Compiling Wine for Ubuntu Gutsy Gibbon 64 bit.

Tagged Under : , , , ,

I’ve been using the 64 bit version of Ubuntu for about 3-4 months now. Considering that it has been satisfying my needs I’m pretty happy with it. I’ve also managed tog et quite a few people to try out Ubuntu as well. Recently one of my friends said that he would try out Ubuntu if I could get is favorite game to work on it which happens to be Call of Duty 4 : Modern Warfare. So I set out to see if Wine could be used to play COD4 (Call of Duty 4) on Ubuntu 64 bit Gutsy Gibbon.

I must say that although the process was kind of scary I managed to pull it off and finally get it to work. In fact here is a screenshot of it in game.

cod

Before continuing I must say that the process is kind of scary for a person new to Linux and that you wont be able to get the best of graphic quality. As you can see the above is set to Low on my machine and it has a 8600 GT as a display card with 2 GB of RAM and a AMD x2 4400 Processor. I found that at low settings it was definitely playable. I would post a movie but unfortunately I haven’t exactly found out how glc works as of yet, which is a Fraps alternative for Linux. Anyway for the process to do this on your 64 bit machine read on.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...


February 15 2008

How to install KDE on your Ubuntu Gutsy Gibbon Desktop

Tagged Under : , , ,

Well recently I was getting bored with Gnome so I decided to try my luck at installing KDE. Amazingly the process seemed much more easier than I thought it would be. I’ve given the process as shown below and heres a picture of my desktop in KDE.

My KDE Desktop

 

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


February 10 2008

Getting Eye Candy the easy way on Ubuntu 7.10

Tagged Under : , , , , , ,

Recently I’ve noticed quite a few asking for methods changing the looks of the Ubuntu Desktop to make it a bit more appealing. Personally I don’t like the brown theme Ubuntu has going on at the moment But its really not hard to change anyway . Well I’m going to show you how you can customize your desktop to get it to look a bit better ot at least give you shove in the right direction.Heres two of my desktops that I customized.

My Desktop1 My Desktop2

  Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


January 08 2008

Conky - A light system monitor

Tagged Under : , , , , , , , , ,

There a quite a few ways to view system stats in Linux like CPU or Hard Disk temperature. The usual ways include using gdesklets and screenlets to get the same. Although the benefit of the above is that you get rather neat looking little applets which you can place all over your desktop, they come with the disadvantage of using quite a bit more memory. With the decreasing prices of Memory this shouldn’t be an issue for most. However for those resource conscious folks who would like to view all those system stats at a low memory usage overhead then Conky is definitely the way to go.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4 out of 5)
Loading ... Loading ...


December 21 2007

Screenlets error in Ubuntu Gutsy Gibbon 64 bit installs.

Tagged Under : , , , , , , , , , ,

In the previous article we fixed gdesklets so that it would work on a 64 bit install. However most of the better eye candy widgets in my honest opinion are screenlets. Although installation of screenlets are pretty easy getting them to run on your machine might not be as easy. The usual error that many get is “Unable to connect or launch daemon. Some values may be displayed incorrectly.” Let try some methods of correcting this.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


December 17 2007

How to Mount an NTFS partition in Ubuntu.

Tagged Under : , , , , , , , , , , , ,

Although I use Ubuntu Gutsy Gibbon on this system I have access to another computer which dual boots into Windows XP and Ubuntu Gutsy Gibbon . I noticed that the ntfs partition was not mounted by default and I wanted to be able to mount it in case I ever wanted to access the information in it. Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...