Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2013 12:40:34 -0500
From:      Jad Cooper <jadcooper@yahoo.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        "george@ceetonetechnology.com" <george@ceetonetechnology.com>, Aleksandr Rybalko <ray@ddteam.net>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: Raspberry Pi image and pkg_add, pkg etc
Message-ID:  <C89AFAF4-0A64-4E75-8EEC-05A984E0B40D@yahoo.com>
In-Reply-To: <20130306163135.GA45920@ithaqua.etoilebsd.net>
References:  <642BFD16-A5E3-447F-9C52-6855AB1E5CC4@yahoo.com> <1362524363.1291.51.camel@revolution.hippie.lan> <5136B2A3.4010701@ceetonetechnology.com> <20130306123945.60aff30773fdd0fb2707a635@ddteam.net> <7198D3D7-AEFA-4054-8769-4B5E64C015D3@yahoo.com> <20130306163135.GA45920@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 6, 2013, at 11:31 AM, Baptiste Daroussin <bapt@freebsd.org> wrote:

> On Wed, Mar 06, 2013 at 10:56:47AM -0500, Jad Cooper wrote:
>> Hi all thanks for taking the time to reply.
>>=20
>> Indeed the packages are all available for ARM.
>=20
> Not on the FreeBSD side, we do not provide any packages for arm, may that b=
e
> pkgng or the old pkg_install, where did you find any packages?
I found the .txz files
ftp://ftp.freebsd.org/pub/FreeBSD/ports/arm/packages=20
The file I use with pkgng is the repo.txz file in that directory -=20
>=20
>> When I delved into installing packages initially there were issues.
>> These are specific to the rpi image.
>>=20
>> 1. The pkg_add works but wants to download packages from an armv6 dir tha=
t's not in the public repo.
>> 2. Since pkgng is the new manager , trying to get it bootstrapped fails, s=
o a manual build is necessary - downloading the txz and extracting it  leave=
s it missing several libraries.
> To manually build pkgng the best is to use the ports tree which does every=
thing
> needed for you.
>=20
> How does it leaves missing libraries and what libraries, I do myself usr p=
kgng
> on a pandoboard with no problem you mean you have done the whole thing by h=
and
> (picking the sources and building?).
>=20

Yes I downloaded the source from github and built it using make etc


>> 3. Once pkgng is setup and working the location of the repo has to be set=
 manually using the setenv packagesite
> It can also be specified via pkg.conf but this is only useful if you have a=
ny
> repository available somewhere to make binary only installation
>=20

I have the repo as above - the problem is that the pkg.conf file isn't in th=
e image...


>> 4. using pkgng I have to force install the packages.
>=20
> I don't get this one? can you give more details?

When I do "pkg install curl" for example=20

It resolves the package but when it tries to install it complains that the v=
ersion is not correct, saying that the version is incorrect built for 9 but n=
ot 10the exact output I don't have - but=20

"pkg install -f curl" works it just forces it to install - and curl then wor=
ks=20

>>=20
>> Most of us are technical but to a hobbyist this is a bit complex, these a=
re the tools, files/condos I'd like to repair so that the image is immediate=
ly useful for RPI.=20
>>=20
>> It's a great image already but I want to make it as simple as possible fo=
r students to get started with it.=20
>>=20
>> Do I need to download the image source as tweak the c and header files??
>=20
> Use the ports tree until we are able to create an arm build cluster, or us=
e some
> of the third party package repositories available out there (sorry I have n=
o
> link for arm, just know that it does exists :)
>=20
Isn't that FTP directory the ARM repo??

Maybe I'm missing some very fundamental FreeBSD insight but the FTP folders a=
bove contain the compressed binary packages for almost everything - even wit=
hout pkgng or pkg_add I could install most using=20
tar - zxvPf package.txz , granted I had a lot of missing dependencies but ye=
ah the ARM bins are all there I thought...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C89AFAF4-0A64-4E75-8EEC-05A984E0B40D>