OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: zenyatta on October 16, 2004, 08:37:46 am

Title: Workaround for absent Local packages in 3.5.1
Post by: zenyatta on October 16, 2004, 08:37:46 am
Hi all,

as I am used to carrying complete feeds on my CF card, I was quite dismayed that opie-packagemanager in 3.5.1 is missing the Local packages feature. After some trial-and-error, I've come up with a pretty easy way to provide that functionality by setting up a local package feed. It is assumed you have a copy of the current feed, including the Packages file, in /mnt/cf/feed/current.

Code: [Select]
export FEED=/mnt/cf/feed/current
ipkg install --force-overwrite `ls $FEED/mime-support_*.ipk`
ipkg install `ls $FEED/boa_*.ipk`
vi /etc/boa/boa.conf # change DocumentRoot to /mnt/cf/feed/
vi /etc/ipkg.conf # add a line 'src local http://localhost/current'
/etc/init.d/boa start
This will add a new feed into Package Manager, called "local" which you can use just like any other feed. Some notes:Overall, I think the fact that opie-packagemanager resolves dependencies vastly outweighs the Local packages limitation and I'm quite happy with the local feed (I also have the impression that the list of packages is generated faster than it used to be with Local packages).

Hope this helps.

z.
Title: Workaround for absent Local packages in 3.5.1
Post by: cycojesus on October 16, 2004, 09:40:37 am
I too carry the whole feed & upgrades on a CF, but I didn't took such a long way to get it working :
1/ add the following lines (adapt it to your config) to /etc/ipkg.conf :
src CF_feed file:///mnt/cf/oz/feed
src CF_upgrades file:///mnt/cf/oz/upgrades
2/ run ipkg update ; from here you're able to install from the feeds using commandline, with dependencies and all
3/ remove opie-packagemanager
4/ install opie-aqpkg

That's it.

Anyway thanks for the boa stuff, now that I know a little more about it I might try it for fun.

EDIT : I don't use it but I saw that opie-aqpkg listed an ipk I had temporarly in my SD, outside of any feed.

EDIT : ipkg.conf syntax was wrong : it's file:///mnt/... instead of just /mnt/...
Title: Workaround for absent Local packages in 3.5.1
Post by: lardman on October 16, 2004, 10:35:41 am
@cycojesus:

I didn't realise that a plain:

src CF_feed /mnt/cf/oz/feed

would work.

I've always used:

src CF_feed file:///mnt/cf/oz/feed


Si
Title: Workaround for absent Local packages in 3.5.1
Post by: cycojesus on October 16, 2004, 01:24:16 pm
Quote
@cycojesus:

I didn't realise that a plain:

src CF_feed /mnt/cf/oz/feed

would work.

I've always used:

src CF_feed file:///mnt/cf/oz/feed


Si
Oops  

My bad, you're right ! It's file:///mnt/...
Title: Workaround for absent Local packages in 3.5.1
Post by: zenyatta on October 18, 2004, 05:11:51 am
Silly me, I really could have thought of a file:/// URL  

Aqpkg is the package manager which does have the Local packages feature, so no local feed is necessary. In 3.5.1, OZ developers have replaced opie-aqpkg with opie-packagemanager which does not provide Local packages.

BTW I think it would be really nice to have separate Opie and GPE feeds. The feed used to be about 50MB and now it's over 150MB which is a lot of space on a CF card (especially when you consider it could be OGG files instead  ). I know that most of it is Opie stuff anyway but it would be nice to have it separately. Also, the sheer number of GPE packages is huge (mainly due to the broad localization) and it makes package managers harder to use.

z.
Title: Workaround for absent Local packages in 3.5.1
Post by: cycojesus on October 18, 2004, 05:30:38 am
Quote
Silly me, I really could have thought of a file:/// URL  

Aqpkg is the package manager which does have the Local packages feature, so no local feed is necessary. In 3.5.1, OZ developers have replaced opie-aqpkg with opie-packagemanager which does not provide Local packages.

BTW I think it would be really nice to have separate Opie and GPE feeds. The feed used to be about 50MB and now it's over 150MB which is a lot of space on a CF card (especially when you consider it could be OGG files instead  ). I know that most of it is Opie stuff anyway but it would be nice to have it separately. Also, the sheer number of GPE packages is huge (mainly due to the broad localization) and it makes package managers harder to use.

z.
I strongly agree for separates feed for GPE and Opie (and another separate feed for common stuff)