LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   thunderbird-1.0-2 SRPM / install error (https://www.linuxquestions.org/questions/linux-enterprise-47/thunderbird-1-0-2-srpm-install-error-342190/)

louisb 07-11-2005 12:51 PM

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

Capt_Caveman 07-13-2005 07:25 PM

Did you try installing with the --nomd5 option ?


All times are GMT -5. The time now is 06:34 AM.