Thursday, 26 November 2009

Either They Decorated For Christmas Early

It has been a long time since my last blog post, but no one reads my blog anyways (except for some very cool ppl like shehabbi, mae, schlix, found a comment from shishtawi once - i guess - thumbs up!, and of course dr. fatma altough i think she reads my blog only because she has to). Ah, and i forgot to mention mina el n00b hehe :)

I actually saved this post as a draft like two weeks ago, but forgot to post it for some reason, I don't even remember what the post was about (of course I do, uh...).

So, for the mini-project we worked in a group of three people ahmed yasser shehab and me (yes, thats three ppl). And since our project ... our MINI-project was directly related to windows 7 we needed windows 7, which i did not have. Then, we needed a relatively new version of ubuntu (or any other linux distribution). And since i still had ubuntu 7.10 back then, almost nothing worked there, so i decided to go ubuntu 9.10. THE HORROR! no.. kidding. It's cute.
So, from the end like this (mel2akher kedda), nothing of the work we done for the mini-project was on my laptop, which leaves me with a thunderbirdless machine (y) <- this stands for thumbs up by the way. Now, i am trying to build thunderbird. This blog is about the problems i am facing with that or they're all dead. I remember at one of our labs - after realizing for the idontknowhowmuch-th time, that the desktops do not work - we decided to use our laptops to build stuffz, i think it was venkman that time. So, we had to put in the following command in order to use the proxy: export http_proxy="http://majid.el-din:myactualgucpasswordthatiwontsharewithyou@50.0.0.5:8080/" and of course we had to change the firefox settings to using the proxy. After this lab, when i got home i set the firefox connection back to "no proxy" and thought, that's it. Then, i tried to build thunderbird from the simple thunderbird build link: https://developer.mozilla.org/en/Simple_Thunderbird_build. first command: sudo apt-get build-dep thunderbird gave me: http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe Connecting to 50.0.0.5:8080... failed: Connection timed out. Giving up. I did not understand why the terminal was trying to connect to 50.0.0.5:8080. So i googled the error and got the following: Setting firefox to "no proxy" only applies the no proxy connection to firefox, any terminal based connection is still set to the oldest change from the terminal, so i echoed the proxy (echo $http_proxy) and YES! the proxy was still set to: http://majid.el-din:myactualgucpasswordthatiwontsharewithyou@50.0.0.5:8080/ So, i googled how to undo that, and found several ways: 1. unset http_proxy 2. export http_proxy="" Then, just to be safe go to System->Preferences->Network Proxy and make sure it is set to "Direct Internet Connection". And to be safest (imbaest) go to System->Administration->Synaptic Package Manager and there under Settings->Preferences->Network click "Direct Internet Connection". Now you should be good to go, NOTHING still refers to the 50.0.0.5:8080 proxy.

So, i ran the first command again:

sudo apt-get build-dep thunderbird

and got the following:

http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
Connecting to 50.0.0.5:8080... failed: Connection timed out.
Giving up.

Scratch hed.

After a lot of googling that day the things most of the people on forums suggested for karmic was:

1. set up a local proxy and connect to it
2. (and i am quoting here) "I ended up doing a full system reinstall"

Since i did not want to do any of this i started experimenting with other commands. On the forums people were asking to try to run "sudo apt-get update", and if it runs the updates, then you should be good to go. So i did run the command and it worked and i thought it's all OK now and tried running the thunderbird command again => Connecting to 50.0.0.5:8080... failed: Connection timed out. Then, i started experimenting with other "sudo apt-get install" commands, MOST of them tried to connect to 50.0.0.5:8080 with fail of course. But some of the commands NOT trying to connect to 50.0.0.5:8080 gave me a glimpse of hope. And for the first time i decided to read the error messages in the terminal a bit, turns out the failure comes "Setting up ttf-mscorefonts-installer (3.0) ..." and the error message i got was:

http://downloads.sourceforge.net/corefonts/andale32.exe
Connecting to 50.0.0.5:8080... ^Cdpkg: error processing ttf-mscorefonts-installer (--configure):
subprocess installed post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
ttf-mscorefonts-installer

(Still trying to connect to 50.0.0.5:8080 no idea why)

I ignored the proxy stuff and searched for the ttf-mscorefonts-installer, seems more people shared the same problem, the first thing i tried seemed to work (i get no error) which is removing the ttf-mscorefonts-installer from your system, since somehow the problem is that the package is there and the terminal is trying to read from it and i dont know what...., i didnt really continue reading there since it didnt make any sense, but i tried it anyway and it seemed to work.

This time after running:

sudo apt-get build-dep thunderbird

i got:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

I don't know if this should happen or not, but i am not getting any errors so i am happi *smiley faices*