Bug 639804 - kernel source update: applydeltarpm fails with command line too long
Summary: kernel source update: applydeltarpm fails with command line too long
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Maintenance (show other bugs)
Version: Final
Hardware: Other openSUSE 11.3
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Michael Schröder
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 14:29 UTC by Theo Wollenleben
Modified: 2017-05-11 14:10 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Theo Wollenleben 2010-09-16 14:29:30 UTC
User-Agent:       Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.6.30 Version/10.61

The online update cannot install the delta RPM for the kernel source (2.6.34-12.3-> 2.6.34.4-0.1.1) because applydeltarpm can't be executed due to an overlong command line. Here are some lines from /var/log/YaST2/y2log ([...] stand for a very long hexadecimal string):

[zypp] PackageProvider.cc(providePackage):119 provide Package (35922)kernel-source-2.6.34.4-0.1.1.noarch(update_1)
[zypp++] DeltaCandidates.cc(deltaRpms):82 package: (35922)kernel-source-2.6.34.4-0.1.1.noarch(update_1)
[zypp++] DeltaCandidates.cc(deltaRpms):98 got delta candidate: DeltaRpm[kernel-source-2.6.34.4-0.1.1.noarch]([1]./rpm/noarch/kernel-source-2.6.34_2.6.34.4-12.3_0.1.1.noarch.delta.rpm{2,9 MiB|sha1-757dce426070ae026fa79c8a16154fbe719997dd}|2.6.34-12.3,kernel-source-2.6.34-12.3-[...])
[zypp++] librpmDb.cc(D):92 DBACCESS {NULL(/)/var/lib/rpm}
[zypp++] librpmDb.cc(dbRelease):303 dbRelease: release, outstanding 0
[zypp++] PackageProvider.cc(doProvidePackage):201 tryDelta DeltaRpm[kernel-source-2.6.34.4-0.1.1.noarch]([1]./rpm/noarch/kernel-source-2.6.34_2.6.34.4-12.3_0.1.1.noarch.delta.rpm{2,9 MiB|sha1-757dce426070ae026fa79c8a16154fbe719997dd}|2.6.34-12.3,kernel-source-2.6.34-12.3-[...])
[zypp++] librpmDb.cc(D):92 DBACCESS {NULL(/)/var/lib/rpm}
[zypp++] librpmDb.cc(dbRelease):303 dbRelease: release, outstanding 0
[zypp++] ExternalProgram.cc(start_program):221 Executing '/usr/bin/applydeltarpm' '-C' '-s' 'kernel-source-2.6.34-12.3-[...]'
[zypp++] ExternalProgram.cc(start_program):373 pid 31652 launched
[zypp++] Applydeltarpm.cc(applydeltarpm):55 Applydeltarpm : '/usr/bin/applydeltarpm' kann nicht ausgeführt werden (Die Argumentliste ist zu lang).
[zypp++] ExternalProgram.cc(checkStatus):424 Pid 31652 exited with status 129


Reproducible: Always
Comment 1 Michael Schröder 2010-09-16 15:55:33 UTC
Oh no, too many hardlinks. Now, who do I blame: the kernel folks for using so many hardlinks or the rpm folks for changing the way hardlinks are put into the cpio archive?
Comment 2 Michael Schröder 2017-05-11 14:10:11 UTC
I guess this somehow was fixed.