mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
580 stars 86 forks source link

Upgrading is failing on RHEL8 #282

Open jschwartzenberg opened 1 year ago

jschwartzenberg commented 1 year ago

When I run yum update, I get this:

$ LANG=C sudo yum update
Updating Subscription Management repositories.
Last metadata expiration check: 1:03:52 ago on Mon Apr 17 08:30:42 2023.
Dependencies resolved.
================================================================================================================================================================================
 Package                         Architecture                   Version                           Repository                                                               Size
================================================================================================================================================================================
Upgrading:
 davmail                         noarch                         6.1.0-3.1                         copr:copr.fedorainfracloud.org:mguessan:davmail                         7.6 M

Transaction Summary
================================================================================================================================================================================
Upgrade  1 Package

Total download size: 7.6 M
Is this ok [y/N]: y
Downloading Packages:
davmail-6.1.0-3.1.noarch.rpm                                                                                                                    7.8 MB/s | 7.6 MB     00:00    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                           7.8 MB/s | 7.6 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                        1/1 
  Running scriptlet: davmail-6.1.0-3.1.noarch                                                                                                                               1/1 
  Running scriptlet: davmail-6.1.0-3.1.noarch                                                                                                                               1/2 
/var/tmp/rpm-tmp.FAVedZ: line 4: fg: no job control
error: %prein(davmail-6.1.0-3.1.noarch) scriptlet failed, exit status 1

Error in PREIN scriptlet in rpm package davmail
  Verifying        : davmail-6.1.0-3.1.noarch                                                                                                                               1/2 
  Verifying        : davmail-6.0.0-8.1.noarch                                                                                                                               2/2 
Installed products updated.

Failed:
  davmail-6.0.0-8.1.noarch                                                               davmail-6.1.0-3.1.noarch                                                              

Error: Transaction failed
f1-outsourcing commented 1 year ago

Just use a docker images tomcat:8-jre11-openjdk-slim

mguessan commented 11 months ago

I refactored the spec file to fix a lot of similar issues, please have a look at latest 6.2.0 package on copr

f1-outsourcing commented 10 months ago

I was waiting a bit for this #242 ;)