Failed to start updatedb.service: Unit updatedb.service not found

Hello.

I am getting the message in the topic whenever I do a system update. I am newbie and I am wondering what is wrong and if I should be concerned about it.

I search in Garuda Forum and Arch forum and find no reference to it. Can someone help me?

garuda-inxi

System:
Kernel: 5.16.16-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=b5e980c3-edb0-48df-90bc-594fb4248e54 rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma v: 5.24.3 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20NKS5YH03 v: ThinkPad T495
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20NKS5YH03 v: SDK0J40697 WIN
serial: <superuser required> UEFI: LENOVO v: R12ET58W(1.28 )
date: 06/11/2021
Battery:
ID-1: BAT0 charge: 51.0 Wh (99.0%) condition: 51.5/50.5 Wh (101.9%)
volts: 12.9 min: 11.6 model: LGC 5B10W139 type: Li-poly serial: <filter>
status: full cycles: 47
CPU:
Info: model: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx bits: 64
type: MT MCP arch: Zen/Zen+ note: check family: 0x17 (23)
model-id: 0x18 (24) stepping: 1 microcode: 0x8108102
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 1469 high: 2597 min/max: 1400/2100 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1337 2: 1287
3: 1334 4: 1231 5: 1509 6: 2597 7: 1234 8: 1229 bogomips: 33535
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 ports: active: DP-2,HDMI-A-1,eDP-1 empty: DP-1 bus-ID: 06:00.0
chip-ID: 1002:15d8 class-ID: 0300
Device-2: Acer SunplusIT Integrated Camera type: USB driver: uvcvideo
bus-ID: 4-2.1:4 chip-ID: 5986:2113 class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 6582x1223 s-dpi: 96 s-size: 1736x322mm (68.35x12.68")
s-diag: 1766mm (69.51")
Monitor-1: DP-2 mapped: DisplayPort-1 pos: bottom-l
model: LG (GoldStar) FULL HD serial: <filter> built: 2016 res: 1920x1080
dpi: 102 gamma: 1.2 size: 480x270mm (18.9x10.63") diag: 551mm (21.7")
ratio: 16:9 modes: max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: top-right
model: Toshiba TOSHIBA-TV serial: <filter> built: 2011 res: 1920x1080
hz: 60 dpi: 30 gamma: 1.2 size: 1600x900mm (62.99x35.43")
diag: 1836mm (72.3") ratio: 16:9 modes: max: 1920x1080 min: 640x480
Monitor-3: eDP-1 mapped: eDP pos: primary,top-center
model: LG Display 0x05fa built: 2018 res: 1920x1080 hz: 60 dpi: 158
gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14") ratio: 16:9
modes: max: 1920x1080 min: 640x480
OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.44.0
5.16.16-zen1-1-zen LLVM 13.0.1)
v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 06:00.1 chip-ID: 1002:15de class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
driver: snd_pci_acp3x v: kernel
alternate: snd_rn_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.16.16-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:2526 class-ID: 0280
IF: wlp1s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3400 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0f0 state: down mac: <filter>
Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
v: 0.8 bus-ID: 4-1:2 chip-ID: 8087:0025 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 3.16 TiB used: 26.31 GiB (0.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVLB512HBJQ-000L7 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 5M2QEXF7 temp: 50.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Realtek model: RTL9210 NVME
size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: SSD
serial: <filter> rev: 1.00 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Realtek
model: RTL9210 NVME size: 931.51 GiB block-size: physical: 512 B
logical: 512 B type: SSD serial: <filter> rev: 1.00 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: Crucial
model: CT960BX500SSD1 size: 894.25 GiB block-size: physical: 4096 B
logical: 512 B type: SSD serial: <filter> rev: 0214 scheme: GPT
Partition:
ID-1: / raw-size: 303.29 GiB size: 303.29 GiB (100.00%)
used: 26.31 GiB (8.7%) fs: btrfs dev: /dev/sda7 maj-min: 8:7
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 303.29 GiB size: 303.29 GiB (100.00%)
used: 26.31 GiB (8.7%) fs: btrfs dev: /dev/sda7 maj-min: 8:7
ID-4: /var/log raw-size: 303.29 GiB size: 303.29 GiB (100.00%)
used: 26.31 GiB (8.7%) fs: btrfs dev: /dev/sda7 maj-min: 8:7
ID-5: /var/tmp raw-size: 303.29 GiB size: 303.29 GiB (100.00%)
used: 26.31 GiB (8.7%) fs: btrfs dev: /dev/sda7 maj-min: 8:7
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 13.6 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 67.0 C mobo: N/A gpu: amdgpu temp: 66.0 C
Fan Speeds (RPM): fan-1: 3200
Info:
Processes: 321 Uptime: 17m wakeups: 1 Memory: 13.6 GiB
used: 3.56 GiB (26.2%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1620 lib: 386 Shell: fish
v: 3.3.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.14
Garuda (2.5.6-2):
System install date:     2022-03-27
Last full system update: 2022-03-28 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            systemd-networkd-wait-online.service

Thanks & regards,
JP
1 Like

Welcome JP. :slightly_smiling_face:

What is your method for updating?

1 Like

I am using pacman -Syu

Just use

garuda-update

to fix it.

Thank you, but I am still having the same message..

: Synchronizing package databases...
core is up to date
extra is up to date
community 6,5 MiB 7,29 MiB/s 00:01 [------------------------------------] 100%
multilib is up to date
chaotic-aur 1641,8 KiB 3,71 MiB/s 00:00 [------------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..
:: Synchronizing package databases...
core 154,9 KiB 1139 KiB/s 00:00 [------------------------------------] 100%
extra 1717,4 KiB 6,21 MiB/s 00:00 [------------------------------------] 100%
community 6,5 MiB 26,4 MiB/s 00:00 [------------------------------------] 100%
multilib 171,0 KiB 1089 KiB/s 00:00 [------------------------------------] 100%
chaotic-aur 1641,7 KiB 3,44 MiB/s 00:00 [------------------------------------] 100%
spawn pacman -Su
:: Starting full system upgrade...
there is nothing to do
Failed to start updatedb.service: Unit updatedb.service not found.

Do

sudo pacman -S mlocate
6 Likes

Thank you petsam. The message is gone. I appreciate.

But you should know why this happened. You have probably uninstalled it by mistake.
Check your pacman.log to see when and how, so you learn for the future.
Something like this (or inspect the file):

grep -B 100 -w mlocate /var/log/pacman.log | grep -E -w "pacman|removed"
1 Like

Sure I will do.

I think I installed plocate, but I do not recall to uninstall it. When i ran sudo pacman -S mlocate, it first gave me the following

resolving dependencies...
looking for conflicting packages...
:: mlocate and plocate are in conflict. Remove plocate? [y/N]

I answered N and it end stating there was a conflict

error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: mlocate and plocate are in conflict

Then I ran sudo pacman -S mlocate again

Packages (2) plocate-1.1.15-2 [removal] mlocate-0.26.git.20170220-7

Total Download Size: 0,09 MiB
Total Installed Size: 0,34 MiB
Net Upgrade Size: -0,12 MiB

:: Proceed with installation? [Y/n]

and this time selected y

That's when the issue was gone.

grep -B 100 -w mlocate /var/log/pacman.log | grep -E -w "pacman|removed"

returned me the following

[2022-03-28T20:14:45-0300] [ALPM-SCRIPTLET] /etc/pacman.d/mirrorlist.pacnew
[2022-03-28T20:19:45-0300] [PACMAN] Running 'pacman -Sy'
[2022-03-28T20:20:13-0300] [PACMAN] Running 'pacman -Syy'
[2022-03-28T20:20:16-0300] [PACMAN] Running 'pacman -Su'
[2022-03-28T21:26:42-0300] [PACMAN] Running 'pacman -Sy'
[2022-03-28T21:28:14-0300] [PACMAN] Running 'pacman -Syy'
[2022-03-28T21:28:15-0300] [PACMAN] Running 'pacman -Su'
[2022-03-28T21:30:21-0300] [PACMAN] Running 'pacman -Sy'
[2022-03-28T21:31:51-0300] [PACMAN] Running 'pacman -Syy'
[2022-03-28T21:31:53-0300] [PACMAN] Running 'pacman -Su'
[2022-03-28T21:32:10-0300] [PACMAN] Running 'pacman -S mlocate'
[2022-03-28T21:32:41-0300] [PACMAN] Running 'pacman -S mlocate'
[2022-03-28T21:32:49-0300] [ALPM] removed plocate (1.1.15-2)
[2022-03-28T21:32:50-0300] [ALPM-SCRIPTLET] /etc/pacman.d/mirrorlist.pacnew
[2022-03-28T21:48:33-0300] [PACMAN] Running 'pacman -S mlocate'

Regards

1 Like

Why?
Didn't it also errored out replacing mlocate? Wasn't mlocate installed by default?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.