Notices


Reply
Thread Tools
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#21
Originally Posted by TA-t3 View Post
Ok I have a repackaged version which doesn't try to chown the example file (which, as Matan correctly says, will fail on a FAT partition).

I've given the modified package a version change, from 0.1.8 to 0.1.8-a2 just to be different.

But I can't attach it here because the size is 5.9MB and the limit here is around 480KB. So for now I've put it on box.net, you can find it with this link: http://www.box.net/shared/yp6rjf5tpo
Note that you'll have to access it with a browser, it'll translate it to a proper download link with correct name etc.
I tried to install your repackage version and tried force-all option too but I got the same message error .
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#22
That's very strange. Do you have a /usr/local on your device which is mounted as VFAT/FAT? The post-install script tries to chown stuff installed there too. If not, did you try to dpkg --purge the original, failed installation before installing my tweaked version?

If we figure out exactly what went wrong this time I can tweak it further, but it won't be until tomorrow at earliest. I'm running OS2007 myself, which has a slightly different filesystem layout from OS2008, so I'm unable to properly test the tweaks myself.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#23
N900 is my first time using linux then I dont' really understand what i must do ^^ . So I didn't try dpkg --purse ( i guess that for deinstall the packages failed to install before ) .Then I tried :
dpkg --purge /home/user/MyDocs/.documents/maemotex_0.1.8_armel.deb
i got the message :
dpkg: you must specify packages by theirs own names,not by quoting the name of the files they come in .
So how do i find the name of the packages installed on my N900?
Thank for your help TA-t3^^
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#24
Ah, you're on the N900? I thought you weren't, because the title of this thread says OS2008.. I guess I didn't read it properly. Then I'll just be testing this .deb on my own N900, which I just got! I should have a working version soon I think.

To de-install the package just do 'dpkg --purge maemotex'.
That should work. If not, try 'dpkg --list | grep maemotex' and use the output of that (the maemotex part, with version number) as input to dpkg --purge.

Unfortunately I have to quit the forum for today, but as I said before I can possibly have a new tweak ready tomorrow unless something comes up.

EDIT: I'm testing a quick fix now.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2009-12-11 at 17:27.
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#25
The error comes from dpkg trying to create the file with the same permissions as in data.tar.gz file, not the postinst script.

dpkg does not support non-Posix file systems. It is better to simply remove this file, or move it to /usr/local/something.
 
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#26
The problem is I can't type " | " on my N900 and if I type dpkg --list i can't find maemotex because there are too many packages installed so the first package i can begin with "r" : rtcom-call-ui ...
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#27
I have a version where I simply removed the example file from the home directory (a .deb should never install anything there anyway), and it installs just fine.

However, the layout is a bit peculiar in this package. Applications are installed in /usr/local/maemotex070802/bin/armel-maemo/ which isn't in the standard path, so it's not even usable from the command line. And there's no post-install script which sets it up differently. Anyone familiar with how this is supposed to work? There's no 'latex' command either.

I can upload this version to box.net if anyone wants to play with it.

edit: just forget about the dpkg --purge, btw. The failed installs are not leaving behind anything that needs removing. And to get the | char, press the blue arrow above the shift key, then 'Sym' above that one again, an on-screen window will pop up and it has the | character.

edit2: OK I see how it's meant to work. It tries to extend the PATH environment variable in /etc/profile to include /usr/local/teTeX/share/bin/armel-maemo, and /usr/local/share is a symlink to /usr/local/maemotex/070802. But this part of the post-install script doesn't work as intended on the N900.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2009-12-11 at 17:46.
 
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#28
Thank you TA-ta3 . i woud like to play with it if you can upload it ^^ .
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#29
Ok here's the new version:

http://www.box.net/shared/y3jzfy5ono

You'll have to access it from a browser to get the proper file name etc.

Please note the following:
When you have installed it you will have to manually make the new commands accessible. This should happen automatically on OS2008 but it doesn't work on N900. The simplest way, for now, is to, when you have used 'dpkg -i' to install, do the following:

1: Open an xterm. If you just open the xterm then you should be in /home/user automatically
2: If you already had an xterm open, close it, because you were probably root at this point (if you used it to install the package). If so, close it, and go to step 1: then continue with 3:.
3: Do the following (without apostrophes): 'cp /usr/local/teTeX/.path .profile' (note the leading dots, and the space before .profile).
4: The above copies a file to /home/user/.profile because there isn't one there, normally. If you're one of those who had made yourself a .profile already, then you know what to do instead of 3: above: cat >> and all that. OK?
5: Quit the xterm
6: Open a new xterm.
You should now have access to commands like
bibtex
dvitmp
pdfetex
pdflatex
dvitomp
pdfetex

and more.
Oh, and this is versioned -a3.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2009-12-11 at 18:11.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#30
Thankkkk , it works for me ^^ . If anyone can change the topic's titile ? latex for Maemo 4 and 5 ^^

Last edited by soleil; 2009-12-11 at 22:12.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:12.