You are not logged in.

#1 2022-12-27 07:09:04

RIP_eng57
Member
Registered: 2022-12-24
Posts: 5

Cant install systemd-timesyncd

 uname -a
Linux4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64 GNU/Linux
~> sudo apt install systemd-timesyncd
[sudo] password for : 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 systemd-timesyncd : Depends: systemd (= 247.3-6~bpo10+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

How do i fix this?
Im fairly certain Ive never used back-ports, why cant I install from the default buster repo?

I want to replace package "NTP" with the above named package because of all the Kernal clock and time errors.

Noob respectfully requesting help and Leniency

Im running BunsenLabs Lithium

Last edited by RIP_eng57 (2022-12-28 23:25:55)

Offline

#2 2022-12-27 10:06:42

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Cant install systemd-timesyncd

RIP_eng57 wrote:

How do i fix this?
Im fairly certain Ive never used back-ports, why cant I install from the default buster repo?

If you look up the package in repo database, you will see that it is not in the buster repo.

Im running BunsenLabs Lithium

If you don´t want to migrate from oldstable (buster), you have to add backports.
Sooner or later, you will have to start using Stable (bullseye), why not now?


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#3 2022-12-27 13:18:36

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,659

Re: Cant install systemd-timesyncd

If things get really 'bad', you'll have to replace 11 packages.
So, take @rbh's advice and install beryllium.  wink

Offline

#4 2022-12-27 21:59:25

RIP_eng57
Member
Registered: 2022-12-24
Posts: 5

Re: Cant install systemd-timesyncd

rbh wrote:

If you look up the package in repo database, you will see that it is not in the buster repo.

Thank you for the link.

rbh wrote:

If you don´t want to migrate from oldstable (buster), you have to add back-ports.
Sooner or later, you will have to start using Stable (bullseye), why not now?

That's a good question, the main reason/pro for not using (bullseye) is because my machine runs better with the older Kernel, e.g.,the only Kernel errors out of the box are for "wifi" and "alsa" with the 4 Kernel. After getting a few "greatly appreciated" answers/links/suggestions from you and @unklar it appears the cons outweigh the pros.
Also i read the suggested threads about asking for help correctly, finding the answers, and the bbcode.

Was wondering if there is a suggested text editor/program that anyone suggests to make it a little easier to properly edit and or help with BBCode, url tags, and img tags, until I get more competent/acclimated to asking questions in a clear/decisive/acceptable manner.

My initial search gave me this

 ~> apt-cache search bbcode
libkpimtextedit4 - library that provides a textedit with PIM-specific features
libkf5pimtextedit-data - libkf5pimtextedit - arch independent files
libkf5pimtextedit-dev - libkf5pimtextedit - development files
libkf5pimtextedit-plugins - library that provides a textedit with PIM-specific features - plugins
libkf5pimtextedit5abi2 - library that provides a textedit with PIM-specific features
libjs-jquery-markitup - jQuery based universal markup editor
libparse-bbcode-perl - Perl module to parse BBCode and render it as HTML or text
libtext-markup-perl - Parse text markup into HTML
php-text-wiki - transform Wiki and BBCode markup into XHTML, LaTeX or plain text markup

Thank you

Offline

#5 2022-12-27 22:13:56

RIP_eng57
Member
Registered: 2022-12-24
Posts: 5

Re: Cant install systemd-timesyncd

unklar wrote:

So,take @rbh's advice and install beryllium.

Thanks for for the link and suggestion. I will graciously take the advice and start to plan my migration following the sticky tutorial "Upgrade from Lithium to Beryllium"

Offline

#6 2022-12-27 22:55:12

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Cant install systemd-timesyncd

RIP_eng57 wrote:

Was wondering if there is a suggested text editor/program that anyone suggests to make it a little easier to properly edit and or help with BBCode,

There is some online bbcode editors available. This one is quite ok:
https://www.systutorials.com/tools/bbeditor


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#7 2022-12-28 02:43:09

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,568
Website

Re: Cant install systemd-timesyncd

And back to systemd-timesyncd for a moment: up to Debian Buster the functionality was included in systemd, so there's no need to install it until you get to Bullseye, where it got separated out.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#8 2022-12-28 10:40:40

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Cant install systemd-timesyncd

In buster, there is a systemd wraper around th ntpd, installed by the package ntp.
Command "systemctl status ntp", shows: "ExecStart=/usr/lib/ntp/ntp-systemd-wrapper".

The ntpd, as I recall, does not functions so well. After waking from hibernate, I often had to restart the service. ("systemctl restart ntp") to get correct clock-time.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#9 2022-12-29 00:25:47

RIP_eng57
Member
Registered: 2022-12-24
Posts: 5

Re: Cant install systemd-timesyncd

johnraff wrote:

And back to systemd-timesyncd for a moment: up to Debian Buster the functionality was included in systemd, so there's no need to install it until you get to Bullseye, where it got separated out.

I don't fully understand. Is "functionality" = to "systemd-timesyncd" being installed? When i ran

 apt-cache policy

it gave me

Installed: (NONE)

. Shouldn't it have already been installed up until Buster? Thats the way I interpreted "Beryllium users might need to install a time sync daemon". Sorry if that doesn't make sense, it doesn't to me either. After removing/disabling "ntp" should I have had to enable the systemd-timesyncd" service via "systemctl"? Is that why I got

apt-cache policy systemd-timesyncd Installed: (NONE)

?

Hopefully Im using this BB Code Editor correctly, It feels
like Im not

Last edited by RIP_eng57 (2022-12-29 00:28:50)

Offline

#10 2022-12-29 01:26:15

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,568
Website

Re: Cant install systemd-timesyncd

^Before Debian Bullseye (BL Beryllium) what systemd-timesyncd did was done by systemd itself (what I meant by functionality). There was no package called "systemd-timesyncd", and no need for one because systemd provided the daemon.

---
Your BB code formatting looks OK btw.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2022-12-29 22:43:26

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Cant install systemd-timesyncd

johnraff wrote:

^Before Debian Bullseye (BL Beryllium) what systemd-timesyncd did was done by systemd itself

This needs a comment: Systemd is primarily '"a  system and service manager "— an init system used to bootstrap user space and manage user processes.'
https://en.wikipedia.org/wiki/Systemd

Package NTP is very old, came to Debian 3 around 2003. The service from ntpd, was then managed by System V.
Teen years later, when systemd became standard, the package was adapted to be managed by systemd. It is the ntpd, that serves with the ntp-service. Systemd, manages the start of the service, like most other services listed with command "systemctl".
Systemd in itself, does not provide any ntp service.

There was no package called "systemd-timesyncd", and no need for one because systemd provided the daemon.

There could be no package called "systemd-timesyncd", before systemd was introduced!
Package systemd-timesyncd, is written from scratch to be managed by systemd. It is newer and much lighter than ntp.
But, it is only an time-synchronizing client. There is no function of being an time-synchronizing server as in npt.
In debian 12,if you install ntp, you will instead get ntp-sec...

Package systemd-timesyncd, is not available in Debian 11 repository. It is available in Debian 11 backports and from Debian 12 repos.

It is well worth reading https://wiki.debian.org/systemd


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#12 2022-12-30 04:45:03

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,568
Website

Re: Cant install systemd-timesyncd

^@rbh much of what you say is right, but my statement above is correct.

First, let's try to clear up some possible confusion:

ntp is both an internet protocol - used for keeping computer's time in sync with time servers - and the name of a Debian package. Both have been around for many years, and the ntp package was a standard item in most systems, including CrunchBang and BunsenLabs. The ntp package still exists but has been neglected, and other time sync daemons are preferred, like those provided by chrony, ntpsec or systemd-timesyncd.

systemd among other things, manages system services like time sync daemons such as that of ntp. Up to and including Debian Buster, systemd also had a built-in time sync daemon, going back many years (see the changelog). From systemd 245.4-2 systemd-timesyncd was split out into a separate package.

Around BunsenLabs Lithium we noticed the age of the ntp package, and that for most users systemd's built-in time sync daemon was good enough, so removed ntp from the package list. With an upgrade to Debian Bullseye an install of the now separate package systemd-timesyncd became necessary for some users, hence our announcement.

rbh wrote:

Systemd in itself, does not provide any ntp service.

This is correct now, but systemd previous to 245.4-2 (ie on Debian Buster) provided a built-in timesyncd.

There was no package called "systemd-timesyncd", and no need for one because systemd provided the daemon.

There could be no package called "systemd-timesyncd", before systemd was introduced!

Systemd was introduced many years ago, and has been providing a time-sync daemon for a long time.

Package systemd-timesyncd, is not available in Debian 11 repository. It is available in Debian 11 backports and from Debian 12 repos.

These version numbers are wrong. In Debian 10 (Buster, BL Lithium) systemd-timesyncd became available as a backport, but required that systemd also be installed from the backports (so that the built-in daemon is removed). From Debian 11 (Bullseye, BL Beryllium) systemd-timesyncd is a separate package and systemd no longer includes that daemon.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB