may you can help me i facing this issue since i upgrade to ubuntu 20.04 LTS from 18.04 LTS. It seems that the script has problems to export value or information. I have no clue what todo. Thanks for any help!
Error:
Building dependency tree
Reading state information... Done
ssmtp is already the newest version (2.64-8.1ubuntu1).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up ssmtp (2.64-8.1ubuntu1) ...
/var/lib/dpkg/info/ssmtp.config: 11: export: #enables: bad variable name
dpkg: error processing package ssmtp (--configure):
installed ssmtp package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of bsd-mailx:
bsd-mailx depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package postfix which provides default-mta is not installed.
Package mail-transport-agent is not installed.
Package ssmtp which provides mail-transport-agent is not configured yet.
Package postfix which provides mail-transport-agent is not installed.
dpkg: error processing package bsd-mailx (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apticron:
apticron depends on bsd-mailx | mailx; however:
Package bsd-mailx is not configured yet.
Package mailx is not installed.
Package bsd-mailx which provides mailx is not configured yet.
dpkg: error processing package apticron (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
ssmtp
bsd-mailx
apticron
E: Sub-process /usr/bin/dpkg returned an error code (1)ยดยดยด