Page 1 of 1

Manually installing packages

Posted: Tue Feb 12, 2013 10:44 am
by dextrus
I'm trying to write a tutorial for people without internet-enabled Pis on how to install Debian packages manually.

I'm checking the dependencies for the packages to see what is required, manually downloading the required .deb files, copying them over to the Pi and then installing them in reverse order using dkpg.

The thing is, I've tried two packages now (reasonably complex to show how to resolve dependencies) and both fail. Both packages work if installed using apt-get (which defeats the purpose). I have also checked the manually installed packages with apt-rdepends and everything seems fine, only they don't work (illegal instruction).

Am I doing something wrong, or is something missing (note: I'm pretty certain I'm not missing a package)?

/Dextrus

Re: Manually installing packages

Posted: Tue Feb 12, 2013 10:54 am
by rurwin
Are you sure you are downloading the right architecture?

Re: Manually installing packages

Posted: Tue Feb 12, 2013 11:01 am
by dextrus
Yes, armhf.

Re: Manually installing packages

Posted: Tue Feb 12, 2013 11:06 am
by jojopi
Your Pi is not running Debian armhf. It is running Raspbian armhf. You must get the debs from the Raspbian repository. Debian armhf packages are compiled for ARMv7 and will not run on the Pi's ARMv6 processor.

Re: Manually installing packages

Posted: Tue Feb 12, 2013 11:15 am
by dextrus
Ah thanks. I guess that rules out manual installation of packages then!

Re: Manually installing packages

Posted: Tue Feb 12, 2013 11:16 am
by Spid
dextrus wrote:Yes, armhf.
Raspbian "Wheezy" (RPF), like PiBang and Bodhi etal are based of Raspbian ARMHF NOT Debian ARMHF http://www.raspbian.org/RaspbianRepository

You just need to use the correct repository when writing the manual....

Re: Manually installing packages

Posted: Tue Feb 12, 2013 11:41 am
by jojopi
dextrus wrote:Ah thanks. I guess that rules out manual installation of packages then!
You can install packages manually, if you download them from here: http://mirrordirector.raspbian.org/raspbian/

Re: Manually installing packages

Posted: Tue Feb 12, 2013 12:02 pm
by dextrus
jojopi wrote:
dextrus wrote:Ah thanks. I guess that rules out manual installation of packages then!
You can install packages manually, if you download them from here: http://mirrordirector.raspbian.org/raspbian/
Ah, I see. In /pool/main there is an alphabetical list of most .deb's. Thanks.