View Single Post
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#16
Originally Posted by Scooty View Post
hi guys,just one question.Is there any way you just click a .deb file for n900 and simply installing il,just like **nux (***untu) ?? cause i do not understand english so well and i have my n900 for about one week and i'm still reading and trying to install a .deb file (from maemo.org repositoryes) in terminal (i have root acces).I have downloaded,via pc,to my 27 gb memory of n900 attitude_0.0.8_armel.deb and could this help me to stop install apps via terminal?And second i can not install it "apt-get install attitude_0.0.8_armel.deb" (with\without .deb in name,even try to install attitude_0.0.8_i386.deb) says "Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package attitude_0.0.8_armel.deb "
Any one can help? Thankyou all a lot ! (sorry for my bad english)
To accompany General Antilles warning... the answer to the question is:

You don't use apt to install a deb file that you have downloaded from the terminal. You need to know where the file is (say /home/user/MyDocs) and then run:

rootsh dpkg -i attitude_0.0.8_i386.deb

And this will not cache on your 256MB root partition, as your deb file is already in the MyDocs.. it doesn't copy it over. However, there is no dependency downloading this way - so if attitude depends on something you don't have it will error out and you'll have to track those down as well.

If you use apt-get to install packages from the terminal, then it will cache to an apt cache that exists on your 256MB root partition which will cause unwanted space usage. But, you do not use version numbers like what you did with apt - you would simply use:

apt-get install attitude

as root. But this will not install from the .deb on your N900... it will download the deb *again*, and any dependencies, and install them all. The very next thing you'll likely want to run is:
apt-get clean

To erase the downloaded files and recover your root space.

Last edited by fatalsaint; 2009-12-20 at 21:17.
 

The Following 2 Users Say Thank You to fatalsaint For This Useful Post: