Score:0

Error message after runnign every apt, apt-get, dpkg command

in flag

After every installation or uninstallation, i get the following message on my ubuntu machine v21.04

newaliases: warning: valid_hostname: misplaced delimiter: linux..
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname:
bad parameter value: linux.. dpkg: error processing package postfix
(--configure):  installed postfix package post-installation script
subprocess returned error exit status 75 Errors were encountered while processing:  postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)

How do i fix this?

Artur Meinild avatar
vn flag
I've answered this here: [Error in postfix, and while installing things?](https://askubuntu.com/questions/1356731/error-in-postfix-and-while-installing-things/1367108#1367108). Please upvote, so this can be properly marked as duplicate.
Simple Fellow avatar
in flag
doesn't work, it says _/usr/sbin/dpkg-reconfigure: postfix is broken or not fully installed_
Artur Meinild avatar
vn flag
Answer updated - then you need to do a reinstall of postfix, and set the correct hostname parameter.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.