thunderbird-1.0-2 SRPM / install error
I'm trying to install thunderbird on a Red Hat Enterprise 4 AS system. I found a solution to the install problem on the net.
How do I incorporate the solution into my rpm? I'm still learing about rpm so any information will be very helpful.
I've included a solution from Harald Holzer below:
# rpm -Uhv /usr/src/redhat/RPMS/i386/thunderbird-1.0-2.i386.rpm
Preparing... ###########################################
[100%]
1:thunderbird ###########################################
[100%]
error: unpacking of archive failed on file
/usr/lib/thunderbird-1.0/defaults/pref/all-redhat.js;41c878bc: cpio: MD5
sum mismatch
it seems to be a missing "|" in thunderbird.spec at line 195:
%{__cat} %{SOURCE10} | %{__sed} -e 's,THUNDERBIRD_RPM_VR,%{version}-%{release},g' \
%{__sed} -e 's,COMMAND,%{tbdir}/open-browser.sh,g' > rh-default-prefs
with this:
%{__cat} %{SOURCE10} | %{__sed} -e 's,THUNDERBIRD_RPM_VR,%{version}-%{release},g' \
| %{__sed} -e 's,COMMAND,%{tbdir}/open-browser.sh,g' > rh-default-prefs
the package build and installed fine.
Harald Holzer
I am receiving the same error so I think his solution will work if I could just apply it.
Thanks
|