The officially official Devuan Forum!

You are not logged in.

#1 2026-01-25 00:46:45

deepforest
Member
Registered: 2020-03-24
Posts: 426  

[SOLVED] Error: udev is the name of a real and virtual service.

what this mean? open-rc frequent show me
Error: udev is the name of a real and virtual service.

root@devuan:/home/freeartist-devuan# apt install chrony
The following package was automatically installed and is no longer required:
  python3-ntp
Use 'sudo apt autoremove' to remove it.

Installing:
  chrony
                                                                                                                                                                                                                  
Suggested packages:
  gpsd  networkd-dispatcher

REMOVING:
  ntp  ntpsec
                                                                                                                                                                                                                  
Summary:
  Upgrading: 0, Installing: 1, Removing: 2, Not Upgrading: 0
  Download size: 320 kB
  Freed space: 282 kB

Continue? [Y/n] 
Get:1 http://deb.devuan.org/merged ceres/main amd64 chrony amd64 4.8-2 [320 kB]
Fetched 320 kB in 3s (96.5 kB/s)                   
(Reading database… 410883 files and directories currently installed.)
Removing ntp (1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1)…
Removing ntpsec (1.2.3+dfsg1-8)…
Stopping NTP server: ntpd.
Selecting previously unselected package chrony.
(Reading database… 410838 files and directories currently installed.)
Preparing to unpack …/chrony_4.8-2_amd64.deb…
Unpacking chrony (4.8-2)…
Setting up chrony (4.8-2)…
Creating config file /etc/chrony/chrony.conf with new version
Creating config file /etc/chrony/chrony.keys with new version
Creating group '_chrony' with GID 991.
Creating user '_chrony' (Chrony Daemon) with UID 991 and GID 991.
dpkg-statoverride: warning: --update given but /var/log/chrony does not exist
 * Caching service dependencies ...
Error: udev is the name of a real and virtual service.                                                                                                                                                      [ ok ]
Starting time daemon: chronyd.
Processing triggers for man-db (2.13.1-1)…
root@devuan:/home/freeartist-devuan# 

Last edited by deepforest (2026-01-25 00:58:15)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#2 2026-01-26 05:44:11

deepforest
Member
Registered: 2020-03-24
Posts: 426  

Re: [SOLVED] Error: udev is the name of a real and virtual service.

why i have four udev?

root@devuan:/usr/share/initramfs-tools/scripts/init-top# ls udev -l
-rwxr-xr-x 1 root root 658 May  8  2025 udev

root@devuan:/usr/share/initramfs-tools/scripts/init-bottom# ls udev -l
-rwxr-xr-x 1 root root 403 May  8  2025 udev

root@devuan:/usr/share/initramfs-tools/hooks# ls udev -l
-rwxr-xr-x 1 root root 1857 May  8  2025 udev

root@devuan:/etc/init.d# ls udev -l
-rwxr-xr-x 1 root root 6821 Nov 16 12:05 udev
 

Last edited by deepforest (2026-01-26 05:50:24)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#3 2026-01-26 06:00:44

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,574  

Re: [SOLVED] Error: udev is the name of a real and virtual service.

The first step here is to realize that "packages" implement "functions" (or "facilities", or "virtual services").

Often, most usually, and as normal case, the "function" name is impliedby the package that implements it, so that every package automatically and implicitly provides its function. (That's how language works, isn't it)

Like, the package "udev" provides the function "udev".

However some packages are declared to *provide* aditional functions, such that for example package "eudev" provides "udev"; that is simply the promise for the dependecy system that when you install "eudev" you'll get all API and ABI that is originally provided by "udev".

It's not an uncommon or new thing, and I can't answer why dpkg lodges an error message for it. That whinging is new to me. Possibly it just whinges about that your system has both "udev" as a package and some other package, perhaps eudev, that is declared to provide "udev". Though I'd be eager to learn better or more exactly about this.

Offline

#4 2026-01-26 06:04:46

deepforest
Member
Registered: 2020-03-24
Posts: 426  

Re: [SOLVED] Error: udev is the name of a real and virtual service.

Thanks.
Yes i am also have eudev, and its working
That what happens if i do stop eudev

root@devuan:/home/freeartist-devuan# rc-service eudev stop
 * WARNING: you are stopping a sysinit service
Stopping network connection manager: NetworkManager.
Stopping hot-plug events dispatcher: udevd.
root@devuan:/home/freeartist-devuan# 
root@devuan:/home/freeartist-devuan# rc-update -u
 * Caching service dependencies ...
Error: udev is the name of a real and virtual service.                                                                                                                                                      [ ok ]
root@devuan:/home/freeartist-devuan# 

Last edited by deepforest (2026-01-26 06:05:38)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#5 2026-01-26 06:35:46

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,574  

Re: [SOLVED] Error: udev is the name of a real and virtual service.

Mmm; it's rc-update that complains.... That's a different place with kindof the same structure.

I'm guessing you have two files in /etc/init.d where one says it provides "udev" and the other that it provides "$udev" (where the latter is a virtual service name). Probably you don't need both, perhaps it's a matter of keeping "eudev" and moving away "udev" from there.

Offline

#6 2026-01-26 16:24:16

deepforest
Member
Registered: 2020-03-24
Posts: 426  

Re: [SOLVED] Error: udev is the name of a real and virtual service.

Mmm; it's rc-update that complains.... That's a different place with kindof the same structure.

I'm guessing you have two files in /etc/init.d where one says it provides "udev" and the other that it provides "$udev" (where the latter is a virtual service name). Probably you don't need both, perhaps it's a matter of keeping "eudev" and moving away "udev" from there.

Thanks.
So i do need stop udev service or uninstall it?

Last edited by deepforest (2026-01-26 16:24:33)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#7 2026-01-27 23:49:50

deepforest
Member
Registered: 2020-03-24
Posts: 426  

Re: [SOLVED] Error: udev is the name of a real and virtual service.

I'm guessing you have two files in /etc/init.d where one says it provides "udev" and the other that it provides "$udev" (where the latter is a virtual service name). Probably you don't need both, perhaps it's a matter of keeping "eudev" and moving away "udev" from there.

Thanks!
I am move
/etc/init.d/udev
and
/etc/runlevels/sysinit/@udev
no error at while

root@devuan:/home/freeartist-devuan# rc-update -u
 * Caching service dependencies ...                                                                                                                                                                         [ ok ]
root@devuan:/home/freeartist-devuan# 

linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

Board footer