dextrus
Posts: 119
Joined: Tue Jan 24, 2012 10:10 pm
Location: Eastleigh, Hampshire
Contact: Website

Manually installing packages

Tue Feb 12, 2013 10:44 am

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
Have more FUN with your Pi. Visit www.pi-fun.com

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Manually installing packages

Tue Feb 12, 2013 10:54 am

Are you sure you are downloading the right architecture?

dextrus
Posts: 119
Joined: Tue Jan 24, 2012 10:10 pm
Location: Eastleigh, Hampshire
Contact: Website

Re: Manually installing packages

Tue Feb 12, 2013 11:01 am

Yes, armhf.
Have more FUN with your Pi. Visit www.pi-fun.com

User avatar
jojopi
Posts: 3086
Joined: Tue Oct 11, 2011 8:38 pm

Re: Manually installing packages

Tue Feb 12, 2013 11:06 am

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.

dextrus
Posts: 119
Joined: Tue Jan 24, 2012 10:10 pm
Location: Eastleigh, Hampshire
Contact: Website

Re: Manually installing packages

Tue Feb 12, 2013 11:15 am

Ah thanks. I guess that rules out manual installation of packages then!
Have more FUN with your Pi. Visit www.pi-fun.com

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Manually installing packages

Tue Feb 12, 2013 11:16 am

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....
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
jojopi
Posts: 3086
Joined: Tue Oct 11, 2011 8:38 pm

Re: Manually installing packages

Tue Feb 12, 2013 11:41 am

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/

dextrus
Posts: 119
Joined: Tue Jan 24, 2012 10:10 pm
Location: Eastleigh, Hampshire
Contact: Website

Re: Manually installing packages

Tue Feb 12, 2013 12:02 pm

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.
Have more FUN with your Pi. Visit www.pi-fun.com

Return to “Debian”