Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Aug 2014, 00:35
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HOWTO use Xdelta to upgrade isos and apps
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 05 Feb 2010, 20:32    Post subject:  HOWTO use Xdelta to upgrade isos and apps
Subject description: Xdelta file difference manager
 

Hello everybody

As of the advent of Woof, The Puppy Builder, BarryK has included Xdelta, file difference manager in all Puppies and Quirkies.

Barry will often upload a .delta file for upgrading an iso from one version to another, for example, Barry put up Quirky-005, then a week later Quirky-006 and also a .delta file to build the 006 iso from the 005 iso and the .delta file.. make sense? It saves you downloading a full iso of say 100MB, the delta may only be 3MB.

The reverse is also true. You can produce a .delta file from 2 different .iso images. Of course they need to be closely related, as in say from a beta1 to a beta2 of the same distro. I produced an iso file and uploaded it of Dpup by grabbing the .delta file.. when gposil was getting low on bandwidth.

Delta can also be used for apps, in fact any single file, but here we will only deal with iso images. For those not too sure, an iso image is the usual form of Puppy when you download it in official form or as a puplet.

________________


What to do... for upgrading an iso image.

    * Download the correct .delta file for the iso image you want to upgrade:eg if you have pup_stardust-005.iso get pup_stardust-005.iso:pup_stardust-006.iso.delta. Of course check the checksum
    Code:
    md5sum pup_stardust-005.iso:pup_stardust-006.iso.delta
    .This will produce a long string of alpha and numeric characters, it must be exactly the same as the one posted by the developer.
    * Save the original .iso and the new .delta in the same directory, this is not essential but will save some searching time
    * Simply click the .delta file and the Xdelta gui will appear

    * Click GENERATE
    * You should see a green splash screen indicating that the new file is generated and there will be a new .iso file in the same directory as the .delta file. Again, compare the checksum with the one provided by the developer. All should be well.
    * You can now proceed to burn your new iso image with your favourite burning software.

Note: If the generation of the new iso fails, then the chucksum of either the old iso or the delta file must be wrong. Please ensure you have un corrupted files with the md5sum utility.

For developers...
Providing a .delta file is a user friendly way of spreading your puplet. I know I use them whenever they are available, great for dial-up users too.

    * Open the Xdelta, file difference manager software from Menu >> Utility >> Xdelta
    * Drag the old iso image to the first entry field in the Xdelta gui.
    * Drag the new iso image to the second entry field.
    * Hit GENERATE.
    * the new .delta file is created.
    * do a checksum, then upload to your online storage location.


________________________

Xdelta is available for MS windows, however it is reported on Barry's Blog that the .delta files in puppy are failing on windows, or in a dos environment.. This is due to the "delimiter" being used. In future versions, Barry is changing the delimiter from ":" to "___" (three underscores).

________________________

If you don't have Xdelta in your Puppy the you can grab it from here.

_________________

Important note: If the delta file was created with the new xdelta gui, the file wil have three underscores as the delimiter. Most will only have the old xdelta which will not produce the correct filename of, for example, "pup_stardust-012.iso" but "newfile.iso" . If you have already done this then it should be ok to rename the "newfile.iso" to "pup_stardust-012.iso".

eg: To get around this remame pup_stardust-011.iso___pup_stardust-012.iso.delta to pup_stardust-011.iso:pup_stardust-012.iso.delta replacing "___" with " : ".

___________________

Attached is the latest xdelta_gui written by BarryK, dated 20100131. Just gunzip it in /usr/sbin and make sure it is executable
Code:
mv /root/my-documents/xdelta_gui.gz /usr/sbin/xdelta_gui.gz
gunzip /usr/sbin/xdelta_gui.gz
chmod 755 /usr/sbin/xdelta_gui


where, /root/my-documents is where you may have saved the file after download. Change this to suit.

NOTE: This depends on "xdelta3", type "which xdelta3" in a terminal. If you have it then there will be output of something like "/sbin/xdelta3". It is in all woof built pups and quirkies.

______________________


Cheers and enjoy,

01micko
xdelta_gui.gz
Description 
gz

 Download 
Filename  xdelta_gui.gz 
Filesize  2.91 KB 
Downloaded  846 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Max Headroom


Joined: 28 Jun 2006
Posts: 187
Location: GodZone Kiwi

PostPosted: Sat 14 Aug 2010, 03:01    Post subject: Missing xdelta3 Dependency Please Help 01micko
Subject description: Missing xdelta3 Dependency Please Help 01micko
 

Turns Out I've just Found Out that I Actually had 2 Missing Dependencies, the 1st part I've Sucksessfully been able 2 Resolve via PPM,

But I'm Still Stuck w/ xdelta3 Missing Dependency, Even tho NOPQ has it Builtin, Wot's more I've also installed xdelta_gui.gz & Both of these appear in the Utility menu.

But when I Run the Puppy Dependency Checker on Me NVidia Driver Package, eMerald, Compiz, MYSQL, QtLibs & libgnomeprint Every time it says I'm Missing xdelta3.

Please Help!!!
Back to top
View user's profile Send private message Yahoo Messenger 
stiginge


Joined: 22 Mar 2007
Posts: 420
Location: Kerry, Ireland

PostPosted: Sat 21 May 2011, 07:03    Post subject:  

I've done the steps as outlined, checked md5sum ok, and at the end I'm told by xdelta "success" that the new iso has been created.

Code:
SUCCESS! /tmp/wary-5.1.1.57.iso generated


However there is no such file at this location, after refreshing rox.

Within the /tmp folder there is a file named xdelta_err which countains 1 sentence:

Code:
xdelta3: target window checksum mismatch: Unknown error 4294949584


So I don't seem to be achieved my objectives unfortunately! Would anybody be familiar with this issue?

_________________
Buy silver, crash JPMorgan
Back to top
View user's profile Send private message 
stiginge


Joined: 22 Mar 2007
Posts: 420
Location: Kerry, Ireland

PostPosted: Sat 04 Jun 2011, 05:00    Post subject:  

Hello?
_________________
Buy silver, crash JPMorgan
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Thu 07 Jul 2011, 00:55    Post subject:  

Hello stiginge,

Hmm.. never seen that issue.

Are you performing the operation (generation) inside a Pupsave file? It is possible that room runs out to complete the operation. If so I suggest you put the original iso and the delta file in the same partition outside of a pupsave and try again. Even if it's a full install I would try this too.

HTH

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
stiginge


Joined: 22 Mar 2007
Posts: 420
Location: Kerry, Ireland

PostPosted: Tue 12 Jul 2011, 12:28    Post subject:  

Hi Micko

I can't seem to find the correct delta file. I'm wanting to go from 5.1.1.56 to 5.1.2...and have looked at ibiblio here http://distro.ibiblio.org/quirky/wary-5.1.2/delta_files/
to no avail.

_________________
Buy silver, crash JPMorgan
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 08 Apr 2012, 11:29    Post subject:  

Is it possible to extract a delta file?
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0679s ][ Queries: 12 (0.0059s) ][ GZIP on ]