Author Topic: HELP ME!!! uninstalled terminal and not working ipkg  (Read 5628 times)

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
HELP ME!!! uninstalled terminal and not working ipkg
« on: June 21, 2004, 08:19:35 pm »
Hi all, I removed qpe-terminal-ja.ipk for error (dumb..) and ipkg stopped working, so I don\'t know ho to reinstall a terminal!!!!!!!!!!!!!





please help me



(speaking about a sl-c860...)

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #1 on: June 22, 2004, 10:21:30 pm »
no one has a solution?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #2 on: June 24, 2004, 08:30:25 am »
I presume you have samba on your Z? It's a modern ROM?

Connect to it and copy the terminal ipk file across. Install with the graphical installer.

Do you really mean this?:

Quote
and ipkg stopped working

It shouldn't have stopped working just because you removed the terminal (IMO).



Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #3 on: June 25, 2004, 09:09:48 am »
No, I uninstalled the terminal AND the ipkg doesn't work.

I read that with the terminal you can solve a lot of ipkg problems, but I have NOT the terminal, and cannot install it!!



lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #4 on: June 25, 2004, 10:38:43 am »
Can you still access the filesystem (remotely)?

If so grab an ipkg package and install it by hand.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #5 on: June 25, 2004, 08:03:18 pm »
...and how can I install manuallt something?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #6 on: June 26, 2004, 06:47:08 am »
Assuming you can copy stuff to the Z, then find the ipk in question and on a Linux box (you can also do this on a Windows box, but you'll loose the file permissions, including execute - which will cause you troubles) extract the files from the ipk (it's either a tar.gz file or an ar file.

You should now have 3 files: data.tar.gz, control.tar.gz and debian-binary.

Extract the data from data.tar.gz and copy to your Z - the data will be extracted into the correct directory structure (relative to /) when you untar it.

It's also worth looking in control.tar.gz to see whether any scripts need to be run (though you'll have troubles running them, unless you create a temporary entry in rcX.d and make it run from there or create a temp .desktop entry so you can click on it to run the script.

Another thing you could look at doing, which is less work than the above, is to copy your /etc/inetd.conf file to the linux box, edit it to enable telnet, also edit /etc/securetty as per the usual instuctions and then place both back on your Z. Reboot and you should be able to telnet in, then you may be able to find out what you broke which is stopping ipkg from working.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #7 on: June 26, 2004, 07:03:16 pm »
I'll try...

I'll tell you if I can actually solve it in this way

thank you

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #8 on: June 27, 2004, 08:06:10 am »
ehm... no

HOW can I access the real filesystem?

I'm using the standard Sharp rom, without modification or software added.

So the only resources I can navigate in remote are those on the home folder



Is there any way to see the WHOLE filesystem?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #9 on: June 27, 2004, 10:54:39 am »
I've not sued the Sharp ROMs for ages, but if I remember correctly /etc is actually mapped to somewhere under /home/root

For that matter so is /opt/QtPalmtop so you could create a script and run it from the main screen (make it copy inetd.conf back and forth for example).

Now this all depends on whether I'm right, and whether you can get to /home/root or not (it may be /home/zaurus).

I presume you're using Samba directly? Not the crappy Sharp file transfer rubbish ;-)?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #10 on: June 27, 2004, 12:48:36 pm »
Why not copy the terminal ipkg over to a CF or SD card on your computer, insert it into your Z, and run "Add/Remove Software"? Sounds like the easiest thing to do...

Yz

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #11 on: June 27, 2004, 02:06:11 pm »
Read a bit higher up - ipkg is broken (and is used by the graphical install tool afaik).


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #12 on: June 27, 2004, 05:31:43 pm »
the fact is: how can I use samba if I cannot use the terminal at all?

...starting to think flashing will be the only solution

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #13 on: June 27, 2004, 06:31:54 pm »
In the Windows run dialog (assuming you're using Windows) type something like:

\\192.168.129.201\

and see what comes up.

I am tempted to agree that flashing may be a good idea ;-), but was just trying to come up with a solution which meant you wouldn't have to.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
HELP ME!!! uninstalled terminal and not working ipkg
« Reply #14 on: June 27, 2004, 08:54:22 pm »
Quote
Read a bit higher up - ipkg is broken (and is used by the graphical install tool afaik).


Si
IMO, this is impossible from just uninstalling terminal... much less since this is the regular Sharp ROM (and not Cacko, which already has konsole built in). scoutme, this sounds like either you're trying to install something that needs the Opie version of ipkg, or the file you downloaded was corrupt or downloaded with the wrong mimetype. Try installing the ipk of terminal that's on the CDROM that came with your Zaurus. If you cant find it on your CDROM, try downloading this version (it's embeddedkonsole 1.5.9-2 that's currently in the ZUG feed) and try installing it. Although, I'd recommend installing it from the CDROM as this guarantees that it is not corrupt while downloading or anything like that.

If neither work, and no other Ipkg seems to want to be installed, then the best thing to do is to backup your Z (Backup is in the System tab, I think), and wipe the user partition. There's no need to reflash, unless you want to change ROMs.

To wipe the user partition:
1) while not plugged in to power, remove the battery and wait 5 secs
2) reassemble the Z, hold down the "OK" button and turn on the unit at the same time.
3) A japanese service menu will come up. Option 3 is to wipe the user partition. You will lose all your documents that you've saved on the Zaurus (so copy them to SD or CF first!) and your customizations/settings (cant be helped, unfortunately). Before choosing option 3, hook your Z up to the power (or it wont allow you wipe the user partition). Choose option 3), hit OK, wait.
4) After some time, your Z will come up again completely reset. Unfortunately, this means it will be in Japanese.
5) There are a lot of options for making the ROM Englishified at this point, so you should look it up (if indeed you want the ROM to be in English).
6) Restore your backup (if you wish).

If you indeed cannot install any IPKs, IMO, it's practically impossible to fix given a system that doesnt have the right tools already pre-installed.

Yz
« Last Edit: June 27, 2004, 08:55:38 pm by yzord »