convert tgz txz to xzm: problem with bigger files

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 4934
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

convert tgz txz to xzm: problem with bigger files

Post#1 by francois » 21 Aug 2012, 01:33

I often have problem to convert bigger files with the contextual right click to convert tgz txz to xzm.

As an example, my system will never make it up with a file like:
qt-4.7.0_7abde40-i486-3.txz (53.9 MB)

Do you have any advice to deal with the compression of bigger files?
Voltaire: Le mieux est l'ennemi du bien.

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

Re: convert tgz txz to xzm: problem with bigger files

Post#2 by brokenman » 21 Aug 2012, 02:48

Please move manually through the process to isolate where the bottleneck is.

Code: Select all

mkdir /tmp/unpack
installpkg -root qt-4.7.0_7abde40-i486-3.txz /tmp/unpack
time mksquashfs -noappend -comp gzip /tmp/unpack /tmp/module.gz
time mksquashfs -noappend /tmp/unpack /tmp/module.xzm
Probably obvious for you Francois but ... make sure you are not creating the resulting module in the same place that you are making the module from. E.g dir2xzm /tmp/unpack /tmp/unpack/module.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 4934
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: convert tgz txz to xzm: problem with bigger files

Post#3 by francois » 23 Aug 2012, 12:02

Thanks brokenman.

This was not obvious for me. I imagine that smaller files are less affected by the process. Is this the case?
Voltaire: Le mieux est l'ennemi du bien.

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

Re: convert tgz txz to xzm: problem with bigger files

Post#4 by brokenman » 24 Aug 2012, 13:09

Yes smaller files will process faster. In the above example however (module in same place as target) a module is being created that continually needs to be updated with it's own info. This sets up a loop that can take forever to finish.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1064
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: convert tgz txz to xzm: problem with bigger files

Post#5 by wread » 26 Aug 2012, 22:03

Make sure you have enough ram in case of big files!

Cheers :)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply