Cannot install smime using ubuntu 20.04


  • Error installing smime-1.0.00%2B18.2.172279a-Ubuntu_20.04-amd64.tar.gz

    $ sudo dpkg -i php-kopano-smime_1.0.00+18.12_amd64.deb
    Selecting previously unselected package php-kopano-smime.
    (Reading database ... 132709 files and directories currently installed.)
    Preparing to unpack php-kopano-smime_1.0.00+18.12_amd64.deb ...
    Unpacking php-kopano-smime (1.0.00+18.12) ...
    Setting up php-kopano-smime (1.0.00+18.12) ...
    php-kopano-smime: using mods-available directory
    cp: cannot stat '/usr/share/php5/kopano_smime/kopano_smime.ini': No such file or directory
    dpkg: error processing package php-kopano-smime (--install):
     installed php-kopano-smime package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
     php-kopano-smime
    
  • Kopano

    @zhay

    Could you check the new community build? I made a small change.
    We will make some better changes in the future for this package, since I heard this PHP module is not required anymore for newer PHP versions,


  • thank you @marty
    now it can be installed

    $sudo dpkg -i php-kopano-smime_1.0.00+19.1_amd64.deb 
    Selecting previously unselected package php-kopano-smime.
    (Reading database ... 132710 files and directories currently installed.)
    Preparing to unpack php-kopano-smime_1.0.00+19.1_amd64.deb ...
    Unpacking php-kopano-smime (1.0.00+19.1) ...
    Setting up php-kopano-smime (1.0.00+19.1) ...
    php-kopano-smime: using mods-available directory
    
    
    If you use a PHP executor other than Apache (like FPM), you may need to manually restart it.