OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: rgitzel on October 22, 2004, 11:13:37 pm
-
Hi all.
Like a lot of others, I was quite frustrated by the package manager app that shipped with Opie in 3.5.1. If I hadn't wasted a few hours fighting it, it would be a joke.
But after reading quite a few posts and trying a few things, I've come up with a way to get what *seems* to be a functional package manager going, right after flashing.
Here's what I do on my 5500...
1. Flash 3.5.1 with Opie (64-0, if it matters)
2. Before turning the Z on, insert SD card and network card.
3. Boot up, and press a key at the appropriate time to keep Opie from starting
4. Log in, either on the Z, or remotely using SSH (recommended)
5. run the following sequence of commands... currently I copy and paste each command from a text editor to my SSH client (putty), but at some point it will become a shell script I can copy over and run in one shot
# get rid of things we don't want from 3.5.1
ipkg remove portmap
ipkg remove opie-packagemanager
# get rid of any apps from the last install
rm -rf /mnt/card/*
# go with a stripped-down config file (leave root out if you want)
rm /etc/ipkg.conf
printf "\ndest sd /mnt/card\n" >> /etc/ipkg.conf
printf "\ndest root /\n" >> /etc/ipkg.conf
printf "\nsrc oz-unstable http://openzaurus.org/official/unstable/3.5.1/feed\n" >> /etc/ipkg.conf
# go see what packages are available
ipkg update
# install a better package manager
ipkg install -d root opie-aqpkg
ipkg install -d root opie-symlinker
Then reboot, let Opie start, and at least I can install things with the gui -- with the OZ feed already configured.
I don't know if everything works with opie-aqpkg, I haven't tried adding a feed, but so far I've been able to install some things to my SD card with it.
Now if only OZ had shipped with this to begin with...
rodney
-
3. Boot up, and press a key at the appropriate time to keep Opie from starting
What key are you supposed to press and when?
Can't seem to find an answer on the forums here (though I may be searching the wrong way)...
Z
-
When the Zaurus is booting, lots of lines of text scroll by on the display. One of them is something like "Starting Opie in 5 seconds, press key to go to command line".
z.
-
thanks - will try that right away
-
Thanks, this worked. Even though I installed the packages through my CF card it worked, and my Z is no longer useless
-
I suspect CoreDump will feast upon MickeyL's ROM once he got these things working out of the box. The opie-packagemanager is a pain in the Wazoo, and I unilaterally remove it.
-
What does portmap (that we're removing) do? The Packages file doesn't really say.
Thanks,
Kent!
-
portmap supports nfs locking.
-
Im noob..
Im trying this above but run into small problems..
1) cant seem to connect using putty. comes up with network error.
2) so using keys on keypad took ages, but cant install opie-aqpkg cause its not found.. maybe its cause not in docing station but then i would not be able to type..
3) can i download it and put somewhere, and say i placed on my compact flash card how does it know where to find.
i am very new
also i cant find \ on kb on Z!! there a /
-
3) can i download it and put somewhere, and say i placed on my compact flash card how does it know where to find.
Yes, stick it on the CF card, then run 'ipkg install /mnt/cf/opie-aqpkg.ipk' (or similar - depending on the filename).
Simon
-
# get rid of things we don't want from 3.5.1
ipkg remove portmap
Fixed in 3.5.2-rcX
# go with a stripped-down config file (leave root out if you want)
rm /etc/ipkg.conf
[instructions to configure ipkg.conf]
Fixed in 3.5.2-rc. ( 3.5.2 will ship with a pre-configured ipkg.conf)
# install a better package manager
ipkg install -d root opie-aqpkg
ipkg install -d root opie-symlinker
opie-symlinker wasn't in the default ROM for a reason. It totally FUBARS your ROM if you insert a card with pre-3.5 software.
I shipped a ROM with it installed. It was a nightmare. People kept flooding my IRC channel because of it.
You won't see it in any of my ROMs ever again.
Now if only OZ had shipped with this to begin with...
It was an unstable release and labeled as such. Also it was the first release beeing built with OE.
IMO it was a very successful release.
I suspect CoreDump will feast upon MickeyL's ROM once he got these things working out of the box. The opie-packagemanager is a pain in the Wazoo, and I unilaterally remove it.
Please, no bad blood here. Fixes to the problems above were available a few days after the release.
The portmap bug was fixed hours after the release.
Anyways, as 3.5.2 is approaching, the link may come a bit late, but a "polished" version of 3.5.1 for collie can be found
here (http://www.hentges.net/tmp/OZ-3.5.1-hentges/).
Note that these files are almost a month old, and still they fix every problem quoted above.
And it ships with opie-aqpkg