Summary: | Packages which requires input from user aren't handled by tl-setup | ||
---|---|---|---|
Product: | ThinLinc | Reporter: | Emelie <emeer> |
Component: | Server Installer | Assignee: | Bugzilla mail exporter <bugzilla-qa> |
Status: | CLOSED INVALID | ||
Severity: | Normal | CC: | adaha |
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | 4.18.0 | ||
Hardware: | PC | ||
OS: | Unknown | ||
See Also: | https://bugzilla.cendio.com/show_bug.cgi?id=8435 | ||
Acceptance Criteria: |
Description
Emelie
After tl-setup fails, it is also not possible to install other packages, e.g. directly with apt.
> Setting up postfix (3.9.0-3) ...
>
> Postfix (main.cf) configuration was not modified by debconf. If you need to
> make changes, edit /etc/postfix/main.cf (and others) as needed. To view
> Postfix configuration values, see postconf(1).
>
> After modifying main.cf, be sure to run 'systemctl reload postfix'.
>
> Running newaliases
> newaliases: warning: valid_hostname: numeric hostname: 10
> newaliases: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter
> value: 10
> dpkg: error processing package postfix (--configure):
> installed postfix package post-installation script subprocess returned error ex
> it status 75
> Setting up ncurses-term (6.5-2) ...
> Processing triggers for man-db (2.12.1-3) ...
> Processing triggers for ufw (0.36.2-6) ...
> Errors were encountered while processing:
> postfix
> Error: Sub-process /usr/bin/dpkg returned an error code (1)
It can be fixed by removing '/etc/postfix/main.cf' followed by running 'systemctl reload postfix', but users should not have to do these steps to be able to complete the setup...
In tl-setup GUI: > Pop-up window: System program problem detected > Do you want to report the problem now? > Failed to install required packages and dependencies. > Send a copy of /var/llog/tlsetup.log to the ThinLinc support. Visit https://www.cendio.com/thinlinc/support for more information on how to contact us. In tl-setup text: Similar message as in the GUI From tlsetup.log > 2024-11-29 09:13:36,853: Errors were encountered while processing: > 2024-11-29 09:13:36,853: postfix > 2024-11-29 09:13:36,853: E:Sub-process /usr/bin/dpkg returned an error code (1) > 2024-11-29 09:13:36,853: failed to install packages with reason: iontsallArchives() failed Debian/Ubuntu have worked to make sure packages don't require any interactive input, so that they work well with GUI frontends. So this bug is a bit surprising. Let's wait a bit and see if this is a bug that Ubuntu will resolve before digging further. This error was due to our Ubuntu 24.10 VM having the hostname 'ubuntu-24.10'. The '.' in the hostname is invalid and breaks postfix. Simply removing the '.' from the hostname (or from the parameter mydomain in /etc/postfix/main.cf). |