LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Zaurus install problems (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/zaurus-install-problems-117823/)

Rivitir 11-19-2003 10:42 AM

Zaurus install problems
 
I'm having trouble with installing some packages & tar.gz files. For example:

Some of my ipkg packages won't show up in add/remove software, so I go to the terminal and try a #ipkg install <pkg name> and it says that the package is not in gzip format. Any clues on how I can resolve this?

On my tar.gz & .gz files I tried installing 2 different files openssh-3.2.3p1-arm-linux-1.tar.gz I ran tar xzvf without problems on this. I then ran gunzip on zethereal-1.0-arm.gz and it says "not in gzip format" so i ran unzip just for grins and it didn't work either. Have an idea how to fix this zethereal prob?

Openssh ran fine through the install.sh script, untill it gets to the part when it has to mkdir /root/.ssh it says that it can't, so I go to /root and try to mkdir myself and it says read only filesystem. So I ran su and then mkdir again and it said the same thing. Gggggrrrrrr.

Any help at all is greatly appreciated.

artur 12-10-2003 11:40 AM

Re: Zaurus install problems
 
Quote:

Originally posted by Rivitir
Some of my ipkg packages won't show up in add/remove software, so I go to the terminal and try a #ipkg install <pkg name> and it says that the package is not in gzip format. Any clues on how I can resolve this?
Aparently, there is new format for the .ipk files that other Linuxes for Sharp use. ipk files in this format are not recognized by Sharp's original package management software. Here's what I do:
Code:

mkdir temp
cd temp
ar x ../myfile.ipk

This puts the contents of the .ipk in the temp directory. I've noticed that Sharp's software is very particular about the order in which that contents is stored in .ipk and how it is stored in tar files, so I usually do this:
Code:

tar xzvf control.tar.gz
rm -f control.tar.gz
tar cvf control.tar ./control ./postinst
gzip control.tar
rm -f control postinst

Please note the './' in the tar archive member file names. They need to be there and control should be the first file to go into the tar. Dunno why, but it just works better this way for me...
Then I do the same repackaging trick with data.tar.gz remembering to prepend archive members with './'

Finally, I do
Code:

tar cvf ../myfile.tar ./control.tar.gz ./data.tar.gz ./wahtever.other.files.were.in.original.ipk
cd ..
gzip myfile.tar
mv myfile.tar.gz myfile.ipk
rm -rf temp

ipks repackaged like this work fine for me. Sometimes I see some ipks that are still compressed with tar, not ar but won't install either. Repackaging them like above seems to help. Hope you're familiar enough with ipks, the Z and other aspects to modify steps above to suit your situation.

Quote:

On my tar.gz & .gz files I tried installing 2 different files openssh-3.2.3p1-arm-linux-1.tar.gz I ran tar xzvf without problems on this. I then ran gunzip on zethereal-1.0-arm.gz and it says "not in gzip format" so i ran unzip just for grins and it didn't work either. Have an idea how to fix this zethereal prob?
Try decompressing on your desktop. Use command file zethereal-1.0-arm.gz (on your desktop, Z does not have this handy util), it might hint you as to how the file was compressed. Try "ar"

Quote:

Openssh ran fine through the install.sh script, untill it gets to the part when it has to mkdir /root/.ssh it says that it can't, so I go to /root and try to mkdir myself and it says read only filesystem. So I ran su and then mkdir again and it said the same thing.
On Z the / filesystem is read only. Root's home dir is located in /home/root, so try mkdir /home/root/.ssh. Are you sure you went to /root and not to ../root from ~zaurus, which also is located in /home ? I can't check it right now, but I'm not sure if there is a symlink from /root pointing at /home/root...


All times are GMT -5. The time now is 03:18 AM.