LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-19-2003, 10:42 AM   #1
Rivitir
Member
 
Registered: Feb 2003
Location: /home
Distribution: Gentoo, Slackware, Debian, & CentOS
Posts: 69

Rep: Reputation: 15
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.
 
Old 12-10-2003, 11:40 AM   #2
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zaurus usb dmesg error, new to zaurus, and hey first post. hi erikmallinson Linux - Laptop and Netbook 7 08-22-2008 05:15 AM
problems syncing my sharp zaurus sl5500 with XP pro craz3 Linux - Laptop and Netbook 3 11-27-2005 03:40 AM
How much space needed on sd card for typical Zaurus 5500 software install? esteeven Linux - Laptop and Netbook 1 07-25-2005 05:36 PM
Zaurus Linux Ftp problems bunty Linux - Hardware 1 12-02-2004 08:21 PM
vim on zaurus with open zaurus libncurses problem Brain Drop Linux - Laptop and Netbook 2 02-25-2004 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration