[opensuse] deltarpm v3.4_36 appears broken for current 10.3 iso and deltaiso
Both the iso-image file openSUSE-10.3-GM-DVD-i386.iso and the delta iso openSUSE-10.3-RC1_GM-DVD-i386.delta.iso are assumed good by the match of their md5sums. rpm --query --info deltarpm shows version 3.4 rel 36 (as expected) However when attempting to run the applydeltaiso command the following error occurs: applydeltaiso SU10.3.i386/openSUSE-10.3-GM-DVD-i386.iso SU10.3.RC1.i386.delta/openSUSE-10.3-RC1_GM-DVD-i386.delta.iso new.openSUSE-10.3-GM-DVD-i386.iso reading 363151280 bytes from old iso...done 3ddiag.i586 (bzip): applying delta payload uncompress error bytes read = 14056, expected bytes = 56014 The source code applydeltaiso.c around line 181ff reads: opcf = cfile_open(CFILE_OPEN_RD, CFILE_IO_FILE, fpold, CFILE_COMP_XX, nmp[i], 0, 0); if (!opcf) { fprintf(stderr, "payload open failed\n"); exit(1); } dod = opcf->read(opcf, paydata, paylen); if (dod != paylen) { fprintf(stderr, "payload uncompress error\n"); fprintf(stderr, "bytes read = %d, but expected %d\n", dod, paylen); /* added for debugging */ exit(1); } I am assuming the following: (1) iso image is good by md5sum (2) delta iso likewise (3) deltarpm ver/rel is okay (via Yast2 install software) But the error indicates problems with data compression. Could the iso-image have a different type of compression than what is expected? So is this a genuine bug? I hope I am not forced to use jigdo to update my 10.3 iso image Any suggestions? I am inclined to report this as a bug, I do need to update the 10.3 isoimage (last time I had to reinstall, it took 8 hours just to apply the online update patches) - Randall -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 19, 2008 at 03:40, Randall
But the error indicates problems with data compression. Could the iso-image have a different type of compression than what is expected?
There was a change to lzma compression that broke applydeltaiso between 10.3 and 11.0 but from your message, I assume you're running applydeltaiso against the 10.3 image on your 10.2 system? For reference, the fix repair applydeltaiso between 10.3 and 11.0 was to add a repo containing updated, rpm, lzma and applydeltaiso binaries and install the upgrades. I hope this helps. Cheers, henare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 19, 2008 at 11:13, Randall
Henare:
I am trying to run applydeltaiso against the 10.3 image on my 10.3 system (not 10.2)
I take it from your email that I need to upgrade the 3 packages:
rpm lzma applydeltaiso
for my 10.3 executables, by recompiling the 11.0 source? or just grab the binary rpms and install those?
I did recompile the 10.3 applydeltaiso.
Randall
Hi Randall, You shouldn't have any problems then, although if you recompiled, it might be worth reinstalling the original package to get back to a good baseline. The upgraded packages you need for using applydeltaiso against 11.0 images on 10.3 or below are in coolo's repo: http://download.opensuse.org/repositories/home:/coolo/openSUSE_10.3/ (From memory, I went to 11.0 on my main system over the weekend). Good luck, henare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 18 August 2008 06:07:18 pm Henare Degan wrote:
There was a change to lzma compression that broke applydeltaiso between 10.3 and 11.0 but from your message, I assume you're running applydeltaiso against the 10.3 image on your 10.2 system?
For reference, the fix repair applydeltaiso between 10.3 and 11.0 was to add a repo containing updated, rpm, lzma and applydeltaiso binaries and install the upgrades.
I hope this helps.
Maybe I am making a simple mistake? Does the deltaiso for 10.3 take the 10.3 iso image and convert it to 11.0 ? I thought all that it did was upgrade the 10.3 iso image? randall -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ahh that might be it.
applydeltaiso is used to apply changes to the ISO image between
releases without needing to download the whole ISO each time. It's
typically used like follows:
- User downloads openSUSE 11.0 beta1 ISO
- Beta2 released, use downloads 'delta' ISO only
- User uses applydeltaiso to upgrade their beta1 ISO to beta2 using
only the 'delta' ISO
AFAIK, there is no delta ISO between 10.3 and 11.0 (it probably
wouldn't be worth it as there are so many changes it'd be a big
download).
What files do you have?
henare
On Tue, Aug 19, 2008 at 12:05, Randall
On Monday 18 August 2008 06:07:18 pm Henare Degan wrote:
There was a change to lzma compression that broke applydeltaiso between 10.3 and 11.0 but from your message, I assume you're running applydeltaiso against the 10.3 image on your 10.2 system?
For reference, the fix repair applydeltaiso between 10.3 and 11.0 was to add a repo containing updated, rpm, lzma and applydeltaiso binaries and install the upgrades.
I hope this helps.
Maybe I am making a simple mistake? Does the deltaiso for 10.3 take the 10.3 iso image and convert it to 11.0 ?
I thought all that it did was upgrade the 10.3 iso image?
randall
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 18 August 2008 07:40:23 pm Henare Degan wrote:
applydeltaiso is used to apply changes to the ISO image between releases without needing to download the whole ISO each time. It's typically used like follows:
This concurs with my present understanding. For the record: On a Suse 11.0 machine I tried 10.3 iso + 10.3 delta iso with current lzma and applydeltaiso On a Suse 10.3 machine I tried the 10.3 lzma and applydelta I recompiled on the 10.3 platform and tried the current lzma and applydeltaiso In all 3 cases I keep getting the compress error. There has to be a simple explanation for all this. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I tried to install the packages from the coolo repository Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic --- 2008-08-18 19:23:26 deltarpm-debuginfo-3.4-36.i586 remove ok 2008-08-18 19:23:28 deltarpm-3.4-36.i586 remove ok 2008-08-18 19:49:04 liblzmadec0-4.32.7-2.2.i586.rpm install failed rpm output: error: unpacking of archive failed: cpio: Bad magic 2008-08-18 19:49:23 liblzmadec0-4.32.7-2.2.i586.rpm install failed rpm output: error: unpacking of archive failed: cpio: Bad magic things seem to be going downhill -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oooh ooh. Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic --- 2008-08-18 19:49:23 liblzmadec0-4.32.7-2.2.i586.rpm install failed rpm output: error: unpacking of archive failed: cpio: Bad magic 2008-08-18 19:55:31 deltarpm-3.4-78.4.i586.rpm installed ok 2008-08-18 19:55:33 liblzmadec0-4.32.7-2.2.i586.rpm install failed rpm output: error: unpacking of archive failed: cpio: Bad magic Does this mean that only liblzmadec0 is bad, or is there going to be a chain reaction here and eventually everything connected with applydeltaiso going to fail? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 19, 2008 at 12:47, Randall
On Monday 18 August 2008 07:40:23 pm Henare Degan wrote:
applydeltaiso is used to apply changes to the ISO image between releases without needing to download the whole ISO each time. It's typically used like follows:
This concurs with my present understanding.
For the record:
On a Suse 11.0 machine I tried 10.3 iso + 10.3 delta iso with current lzma and applydeltaiso On a Suse 10.3 machine I tried the 10.3 lzma and applydelta I recompiled on the 10.3 platform and tried the current lzma and applydeltaiso
In all 3 cases I keep getting the compress error.
There has to be a simple explanation for all this.
You shouldn't be having any problems with 10.3 ISOs, what ISO are you updating? beta2 to beta3 for example? What command are you running (assuming the versions are in the filenames)? henare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall pecked at the keyboard and wrote:
I tried to install the packages from the coolo repository
Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic
You also need to install the newer "rpm" package. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 18 August 2008 08:13:26 pm Henare Degan wrote:
You shouldn't be having any problems with 10.3 ISOs, what ISO are you updating? beta2 to beta3 for example? What command are you running (assuming the versions are in the filenames)?
The command is applydeltaiso SU10.3.i386/openSUSE-10.3-GM-DVD-i386.iso SU10.3.RC1.i386.delta/openSUSE-10.3-RC1_GM-DVD-i386.delta.iso new.openSUSE-10.3-GM-DVD-i386.iso And I just got these iso-images 2 days ago and carefully checked the md5sums. It doesn't seem to make any difference whether I run the command from a Suse 11.0 machine or a Suse 10.3 machine (with 10.3 code or 11.0 code) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 18 August 2008 08:19:31 pm Ken Schneider wrote:
Randall pecked at the keyboard and wrote:
I tried to install the packages from the coolo repository
Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic
You also need to install the newer "rpm" package.
On my 10.3 machine? I have upgraded lzma and deltarpm. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 19, 2008 at 13:22, Randall
The command is
applydeltaiso SU10.3.i386/openSUSE-10.3-GM-DVD-i386.iso SU10.3.RC1.i386.delta/openSUSE-10.3-RC1_GM-DVD-i386.delta.iso new.openSUSE-10.3-GM-DVD-i386.iso
Hi Randall, There's our problem, that command says, "Please apply the 'RC1 to GM delta ISO' to an ISO that is already the GM ISO". In other words, it's not possible. I assume you want to get an 11.0 ISO? If so you should download the 11.0 GM, there aren't any delta ISOs that will save you download time. Do this make sense? Cheers, henare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 18 August 2008 08:44:43 pm Henare Degan wrote:
Hi Randall,
There's our problem, that command says, "Please apply the 'RC1 to GM delta ISO' to an ISO that is already the GM ISO". In other words, it's not possible.
I assume you want to get an 11.0 ISO? If so you should download the 11.0 GM, there aren't any delta ISOs that will save you download time.
Do this make sense?
Cheers,
henare
okay this makes sense, but could someone fix the code so that it recognizes this and then pops up a message that the update has already been done. I shouldn't be seeing compress failures down inside the applydeltaiso.c code. I do have the 11.0 iso. The problem is that I mistakenly thought that the 10.3 delta iso was going to upgrade me to the current patch levels. I now clearly see that it won't. So does anyone know how to make an iso image with the current patches? I am particularly interested in the 10.3 release since it took me over 8 hours just to patch this release to current levels. I can install a whole complete system in under 1 hour. It shouldn't be taking 8 hours to patch it afterwards. Sorry if I sound grumpy, but trying to update an image shouldn't be this tough. If I lose a system, I don't want to spend 8 hours trying to get the install right. It already takes me 17 hours to painfully do a restore, after losing the root partition. I don't need another 8 hours. Randall -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 19, 2008 at 13:51, Randall
okay this makes sense, but could someone fix the code so that it recognizes this and then pops up a message that the update has already been done. I shouldn't be seeing compress failures down inside the applydeltaiso.c code.
That seems reasonable, although I'm not sure how easy that is for the developers.
So does anyone know how to make an iso image with the current patches? I am particularly interested in the 10.3 release since it took me over 8 hours just to patch this release to current levels. I can install a whole complete system in under 1 hour. It shouldn't be taking 8 hours to patch it afterwards.
I'm sure you'd be able to Google guides on how to respin the ISO with the updated patches, but this is very advanced territory. If the bottleneck for installing all of the patches is your bandwidth, it might be time to consider setting up a proxy (hey, it's almost as advanced). The only time SUSE did a respin was with the Rug debacle; I'd say the 'formal' response would be to upgrade to the latest version as it's not going to have as many available patches.
If I lose a system, I don't want to spend 8 hours trying to get the install right.
It already takes me 17 hours to painfully do a restore, after losing the root partition. I don't need another 8 hours.
I don't mean to rub salt into the wound but shouldn't the backup be a recent copy of your system, and therefore not need an OS reinstall or major patching? ;) Cheers, henare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 18 August 2008 12:40:45 pm Randall wrote: ...
However when attempting to run the applydeltaiso command the following error occurs:
applydeltaiso SU10.3.i386/openSUSE-10.3-GM-DVD-i386.iso SU10.3.RC1.i386.delta/openSUSE-10.3-RC1_GM-DVD-i386.delta.iso new.openSUSE-10.3-GM-DVD-i386.iso reading 363151280 bytes from old iso...done 3ddiag.i586 (bzip): applying delta payload uncompress error bytes read = 14056, expected bytes = 56014 ... Any suggestions? I am inclined to report this as a bug, I do need to update the 10.3 isoimage (last time I had to reinstall, it took 8 hours just to apply the online update patches)
- Randall
It is not a bug Randall. It is misunderstanding what is openSUSE-10.3-RC1_GM-DVD-i386.delta.iso . You are trying to apply change between openSUSE RC1 (release candidate) and final GM (gold master) to a final GM version. During development the release candidates come before gold master, and RC1-GM delta iso is used by people that have RC1 DVD iso to create GM DVD iso. It is not some kind of updates to GM. Apropos updating, rather create backup after updates, and burn it to a DVD. There was plenty of articles how to create backups on this mail list, and it shouldn't be problem to find them in mail list archives on http://lists.opensuse.org/opensuse -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 18 August 2008 09:00:27 pm Henare Degan wrote:
I don't mean to rub salt into the wound but shouldn't the backup be a recent copy of your system, and therefore not need an OS reinstall or major patching? ;)
The problem is that I did have backup, except for the /sys folder and some other key files. Sure, I overwrote the root partition with the backup information, but upon attempting a reboot the dmesg syslogs started piling up and finally boot came to a halt. It was very unnerving to watch this and realize that doing a cp -ruvp or cp -a command won't cut the mustard as far as having a system with enough integrity to come back to life. It didn't help to have the inodes clobbered, as I had to totally reformat the partition then attempt the backup. So I was forced to do a reinstall, then restore the home and 5 other partitions, then do recompiles for the special software such as GP-Pari. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message -----
From: "Randall"
On Monday 18 August 2008 09:00:27 pm Henare Degan wrote:
I don't mean to rub salt into the wound but shouldn't the backup be a recent copy of your system, and therefore not need an OS reinstall or major patching? ;)
The problem is that I did have backup, except for the /sys folder and some other key files. Sure, I overwrote the root partition with the backup information, but upon attempting a reboot the dmesg syslogs started piling up and finally boot came to a halt. It was very unnerving to watch this and realize that doing a cp -ruvp or cp -a command won't cut the mustard as far as having a system with enough integrity to come back to life.
Good god of course they don't. Whatever teacher or book told you cp was a sufficient means to backup a system should be removed from circulation. You think the hundreds of free and commercial backup and crash recovery apps because , what, no one knows about the amazing simple free "cp" already there on every box? (Backup & crash recovery are two completely different tasks btw, only barely related, often combined in one product merely for convenience) Of course the /sys directory wasn't backed up. (btw, "folders" are pretty little icons used to represent _directories_ in a gui) /sys is dynamically generated, or rather, it's not really ever there at all except the top level empty directory as a mount point. It's a virtual interface to kernel features and can no more be backed up than /proc Having pointed out how utterly wrong it was to think "cp" was a backup system, I should compliment or balance that by providing a suggestion of some backup util that IS good. But there are so many and they all have their pros & cons and most of them I've never even used (beacause, there are so many...) that I almost can't. Except to say to google "linux backup" & try things that seem to claim to do what you want or work the way that you'd like. What I do for myself is probably no help, since rather than do traditional backups, instead I have systems that are standardized such that it's actually simpler and easier to just do fresh installs, and all data & config is handled by rsync scripts. Whe I used to need to do traditional bakups, and still today for any customers with their own servers, I have used BackupEdge a lot and can definitely highly recommend it. But, it's far from free and I don't know if any of the free apps might not be as good so I wouldn't want you to miss out on trying them and maybe finding a good solution. good luck. Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall pecked at the keyboard and wrote:
On Monday 18 August 2008 08:19:31 pm Ken Schneider wrote:
Randall pecked at the keyboard and wrote:
I tried to install the packages from the coolo repository
Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic
You also need to install the newer "rpm" package.
On my 10.3 machine? I have upgraded lzma and deltarpm.
If you want to use 11.x packages *yes*. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Brian K. White
-
Henare Degan
-
Ken Schneider
-
Rajko M.
-
Randall