I get a problem when install ntp (offline install) because the conflict with time-daemon of systemd-timesyncd.
# dpkg -i ntp_4.2.8p12+dfsg-3ubuntu4.20.04.1_amd64.deb
dpkg: regarding ntp_4.2.8p12+dfsg-3ubuntu4.20.04.1_amd64.deb containing ntp:
ntp conflicts with time-daemon
systemd-timesyncd provides time-daemon and is present and installed.
dpkg: error processing archive ntp_4.2.8p12+dfsg-3ubuntu4.20.04.1_amd64.deb (--install):
conflicting packages - not installing ntp
Errors were encountered while processing:
ntp_4.2.8p12+dfsg-3ubuntu4.20.04.1_amd64.deb
any suggest to fix this?
Tks
systemd-timesyncd
andntp
(which provides the ntp daemon) installed simultaneously because they both use the ntp ports ande protocols. You need to pick one or the other, you can't have both.dpkg
to install a downloaded version of ntp instead of simply usingapt
to install the version from the official repository?