Sample Header Ad - 728x90

Your system needs to have a fully qualified domain name (fqdn)

1 vote
1 answer
737 views
I am trying to install some Qt libraries like this:
sudo apt-get install libqt5webengine5  libqt5webenginewidgets5
But I keep getting such errors:
The hostname -f command returned: $1

Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.

Installation aborted.

dpkg: error processing package qmail (--configure):
 installed qmail package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of qmail-run:
 qmail-run depends on qmail (>= 1.06-2.1); however:
  Package qmail is not configured yet.

No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: error processing package qmail-run (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 qmail
 qmail-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
How can I install these libraries? Edit:
ls: cannot access '–l': No such file or directory
qmail.list
qmail.md5sums
qmail.postinst
qmail.postrm
qmail.preinst
qmail-run.conffiles
qmail-run.list
qmail-run.md5sums
qmail-run.postinst
qmail-run.postrm
qmail-run.preinst
qmail-uids-gids.list
qmail-uids-gids.md5sums
qmail-uids-gids.postinst
qmail-uids-gids.postrm
qmail-uids-gids.preinst
The hostname -f command returned: Lenovo-V330-15IKB

You must have a fully qualified domain name (fqdn) for your system
to install the qmail and qmail-run packages.

Installation aborted.

dpkg: error processing package qmail-run (--configure):
 installed qmail-run package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 qmail-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error on
sudo dpkg --configure -a
Setting up qmail-run (2.0.2+nmu1) ...

The hostname -f command returned: hammad-Lenovo-V330-15IKB

You must have a fully qualified domain name (fqdn) for your system
to install the qmail and qmail-run packages.

Installation aborted.

dpkg: error processing package qmail-run (--configure):
 installed qmail-run package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 qmail-run
Asked by x89 (111 rep)
Apr 25, 2020, 01:18 PM
Last activity: Jun 2, 2021, 05:28 AM