Monthly Archives: November 2007

Installing Packages on Debian computers without Internet connection

I have an old computer at home on which I have installed Debian. I don’t have Internet connection at home and it sometimes happens that I have to upgrade or newly install a package. I tried taking the packages that i have already downloaded on my office computer (from /var/cache/apt/archive) but this didn’t work. So i searched the Internet and found some answers. Here i will list step-by-step that method which worked perfectly for me (Google found so many for me :))

1. Do an apt-get update on the computer with internet connection. This updates the files in /var/lib/apt/lists/.
2. Take the files in /var/lib/apt/lists/ to the home computer and load it there at the same place.
3. Now do a “apt-get -qq –print-uris install name-of-package | cut -d\’ -f 2 > urilist” on the home computer where name-of-package is of course the name of the package to be installed or upgraded. If you want to do a dist-upgrade, type dist-upgrade instead of package name. This will create a file named urilist containing the url to all the packages that needs to be downloaded.
4. Take the urilist to the office computer and do a “wget with wget -i urilist”. This will download all the needed package.
5. Take downloaded deb files to your home computer and load them in /var/cache/apt/archives/ . Also copy the /etc/apt/sources.list file from your office computer to your home computer.
6. Lastly do “apt-get install package-name”.

Hope this little manual is helpful to you.. 🙂

Sorry I was Never Enough…

I found this on someone else’s blog………..

Sorry I was Never Enough…”To all the girls who look past nice guys”.

I’m sorry
That I bought you roses
To tell you that I like you

I’m sorry
That I was raised with respect
Not to sleep with you when you were drunk

I’m sorry
That my body’s not ripped enough
To “satisfy” your wants

I’m sorry
That I open your car door,
And pull out your chair like I was raised

I’m sorry
That I’m not cute enough
To be “your guy”

I’m sorry
That I am actually nice;
Not an ass

I’m sorry
I don’t have a huge bank account
To buy you expensive things

I’m sorry
I like to spend quality nights at home
Cuddling with you, instead of at a club

I’m sorry
I would rather make love to you then just screw you
Like some random guy.

I’m sorry
That I am always the one you need to talk to,
But never good enough to date

I’m sorry
That I always held your hair back when you threw up, and didn’t get mad
at you for puking in my car,
But when we went out you went home with another guy

I’m sorry
That I am there to pick you up at 4am when your new man hit you and dropped you
off in the middle of nowhere,
But not good enough to listen to me when I need a friend

I’m sorry
If I start not being there, and being used as a door mat, only to be thrown to
the side when the new jerk comes around

I’m sorry
If I don’t answer my phone anymore when you call, to listen to you cry for
hours, instead of getting a couple hours of sleep before work

I’m sorry
That you can’t realize.. I’ve been the one all along.

I’m sorry
If you read this and know somebody like this
But don’t care But most of all

I’m sorry
For not being sorry anymore

I’m sorry
That you can’t accept me for who I am

I’m sorry
I cant ever do anything right, and nothing that I do is good
Enough to make it in your world.

I’m sorry
I caught your bf with another girl and told you about it, I thought that was
what friends were for…

I’m sorry
That I told you I loved you and actually meant it.

I’m Sorry
That I cared

I’m sorry
That I listen to you at night and talk about how you wish you could have done
something different.

I’m sorry
That you cant see what’s right in front of you.

I’m sorry
That I try to make time to hang out with you, and when I finally can, you
ignore me and talk to someone else.

Reading ebooks in LIT format on GNU/Linux

I am a book lover and so i download ebooks from the internet. Most of the books are in pdf or chm format. So i can read them with ease on my Debian system using eveince and gnochm. Recently I downloaded a book and it was in microsoft LIT format. Microsoft LIT (which stands for “Literature”) is a proprietary ebbok format which means there are no free readers for Free operating systems like GNU/Linux.

I searched on google and also asked on various irc channels to get information on the availability of a LIT ebook reader on debian GNU/Linux system. My search for a reader was unsuccessful but I came across a great application that can convert LIT ebooks to html.

The software is named “Open Convert-.LIT tool” and its home page is here. On my debian system, I had to use the debian-multimedia repository to install the software (the package name is clit.. hehe).

  • Add debian-multimedia(folowing line) in /etc/apt/sources.list file
  • sudo aptitude update
  • sudo aptitude install clit

After installing just run clit without any filenames or options and it will display a short how-to to use the software. I usual and simple way to run the command is :

  • clit <LIT file> <dir where you want the converted html and picture files>/
  • ex . $clit book-XYZ.lit book-XYZ/

After the command is run, you will find the extracted html and images in the directory book-XYZ.

Any digital data, be it music, books, videos, in proprietary format is one evil that all of us should always fight against. They are the tools used by big corporates and evil governments to keep the people under unlawful control and to prey onto people’s privacy. If you have a document and you want others to read it, please release it under free formats like pdf, html or plain text. Every one of us has the Right to Read. Read this article by Richard Stallman to see what type of a place our beautiful earth will be if closed and proprietary formats of the big corporates win the war.

Download and read free ebooks and audio books from http://tuxmobil.org/ebook.html

Happy reading!!