txz2xzm error

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

txz2xzm error

Post#1 by Rava » 28 Feb 2016, 03:49

Hi,

tried to txz2xzm a txz, that is a python program called FSlint. ( http://www.pixelbeat.org/fslint/ http://pkgs.org/slackware-14.1/slackonl ... k.txz.html http://en.flossmanuals.net/FSlint/ )

This is from its install script that causes the error:

Code: Select all

( cd usr/man/man1 ; rm -rf fslint.1.gz )
( cd usr/man/man1 ; ln -sf /usr/man/man1/fslint-gui.1.gz fslint.1.gz )
Since txz2xzm removes the gz zipped man pages and replaces them with the non zipped manpages (here: /usr/man/man1/fslint.1 ) the above install part sure fails.
In the resulting Porteus module, the fslint.1 is fine, but the existing symlink named fslint-gui.1.gz points to the non existing fslint.1.gz

Is there a safe way to fix such Slackware install scripts?
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 5657
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: txz2xzm error

Post#2 by brokenman » 28 Feb 2016, 18:24

I remember Ahau addressed this with his super txz2xzm. If you want to emend the code in txz2xzm I will be happy to include it.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3422
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: txz2xzm error

Post#3 by Ed_P » 29 Feb 2016, 03:44

brokenman wrote:Ahau addressed this with his super txz2xzm.
For viewers looking for Ahau's script: https://forum.porteus.org/viewtopic.php?f=53&t=957
Ed

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: txz2xzm error

Post#4 by Rava » 29 Feb 2016, 10:46

^
Wow, that is quite the complex script. Will take me a while to understand what it does...
Cheers!
Yours Rava

Post Reply