Manjaro breaks after failed system update

I had a failed update and after restarting the system I am getting this error:

/dev/sdb5: recovering journal
/dev/sdb5: clean, 401642/2559088 files, 5926609/10227456 blocks
[FAILED] Failed to start D-Bus Systen Message Bus. 
[DEPEND] Dependency failed for Network Manager. 
[DEPEND] Dependency failed for Network Manager Wait Online.
[FAILED] Failed to start D-Bus Systen Nessage Bus. 
[FAILED] Failed to start D-Bus Systen Message Bus.
[FAILED] Failed to start D-Bus Systen Message Bus. 
[FAILED] Failed to start D-Bus Systen Message Bus.
[FAILED] Failed to start D-Bus Systen Message Bus.
[FAILED] Failed to start Bluetooth service.
[FAILED] Failed to start User Login Management. 
[FAILED] Failed to start D-Bus Systen Nessage Bus.
[FAILED] Failed to start Authorization Manager.
[DEPEND] Dependency failed for Moden Manager.
[FAILED] Failed to start User Login Management. 
[FAILED] Failed to start D-Bus System Message Bus.

edit by nikgnomic – show errors in preformatted text format and remove redundant screenshot

Hi @CLStl, and welcome!

I recommend you boot with a Live Environment, use it to enter a chroot environment, from there complete the interrupted update as well as install the now missing dbus-broker.

How to chroot

  1. Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.

  2. Write/copy/dd the ISO to a USB thumb drive.

  3. When done, boot with the above mentioned USB thumb drive into the live environment.

  4. Once booted, open a terminal and enter the following command to enter the chroot encironment:

manjaro-chroot -a
  1. If you have more than one Linux installation, select the correct one to use from the list provided.

When done, you should now be in the chroot environment.

But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart.

From within the chroot environment, run the following to restart and thus complete the interrupted update:

pamac upgrade && pamac upgrade --aur --devel || echo -e '\033[0;91mThere was an error upgrading the system. AUR packages not upgraded.\e[0m'

This will update your system and ONLY if that was successful update any AUR packages.

a Reminder: While use of the AUR is possible, it’s neither recommended nor supported.

I recommend pamac instead of pacman, especially for newcomers as pamac was developed by Manajaro (developers) for Manjaro.

Afterwards, still in thee chroot environment, install the dbus-broker package:

pamac install dbus-broker

If it asks you to replace dbus-daemon, go ahead and do so.

Finally, exist the chroot environment:

exit

Hold your thumbs, cross your heart, do a little dance, and reboot your PC:

reboot

Hope it helps!


:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

2 Likes

I tried using the chroot environment , but it is showing this error

[manjaro /]# pamac install dbus-broker
Preparing…
Warning: dbus-broker-35-2 is up to date – skipping
Nothing to do.
Transaction successfully finished.

[manjaro /]# pamac upgrade && pamac upgrade --aur --devel || echo -e ‘\033[0;91mThere was an error upgrading the system. AUR packages not upgraded.\e[0m’
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing…
Synchronizing package databases…
Checking python-steamgriddb dependencies…
Checking mongodb-compass dependencies…
Checking fvs dependencies…
Checking icoextract dependencies…
Checking bottles dependencies…
Checking vkbasalt-cli dependencies…
Checking patool dependencies…
Checking megabasterd-bin dependencies…
Checking mongosh-bin dependencies…
Checking mongodb-bin dependencies…
Checking mongodb-tools-bin dependencies…
Checking python-pathvalidate dependencies…
Resolving dependencies…
Checking inter-conflicts…

To upgrade (8):
brave-browser 1.62.156-1 (1.62.153-1) extra 156.7 MB
inxi 3.3.32.1-2 (3.3.31.2-1) extra 439.6 kB
onlyoffice-desktopeditors 8.0.0-1 (7.5.1-1) extra 282.2 MB
wine 8.21-2 (8.15-1) multilib
xdg-desktop-portal-kde 5.27.10-1 (5.27.8-1) extra
xfsprogs 6.5.0-2 (6.4.0-1) core
yakuake 23.08.4-1 (23.08.1-1) extra
zsh-syntax-highlighting 0.8.0-1 (0.7.1-1) extra
To install (9):
python-pyproject-hooks 1.0.0-5 (Required By: icoextract) extra 21.4 kB
python-build 1.0.3-1 (Required By: icoextract) extra 121.1 kB
python-installer 0.7.0-3 (Required By: icoextract) extra 126.5 kB
python-argcomplete 2.0.0-2 (Required By: patool) extra 59.1 kB
ninja 1.11.1-3 (Required By: bottles) extra 148.9 kB
python-tqdm 4.66.1-2 (Required By: bottles) extra 135.7 kB
meson 1.3.1-1 (Required By: bottles) extra 2.1 MB
blueprint-compiler 0.10.0-1 (Required By: bottles) extra 184.3 kB
chrpath 0.17-1 (Required By: mongodb-bin) extra 27.5 kB
To build (12):
fvs 0.3.4-2 (0.3.4-1) AUR
icoextract 0.1.4-3 (0.1.4-1) AUR
patool 2.1.1-1 (1.12-5) AUR
python-pathvalidate 3.2.0-1 (3.1.0-1) AUR
python-steamgriddb 1.0.5-2 (1.0.5-1) AUR
vkbasalt-cli 3.1.1-2 (3.1.1-1) AUR
bottles 2:51.10-1 (2:51.5-3) AUR
megabasterd-bin 8.21-1 (7.75-1) AUR
mongosh-bin 2.1.3-1 (1.10.1-1) AUR
mongodb-bin 7.0.5-1 (6.0.8-1) AUR
mongodb-compass 1.42.0-1 (1.39.0-1) AUR
mongodb-tools-bin 100.9.4-1 (100.7.3-1) AUR

Total download size: 442.4 MB
Total installed size: 773.6 MB

Edit build files : [e]
Apply transaction ? [e/y/N] y

Cloning fvs build files…
System has not been booted with systemd as init system (PID 1). Can’t operate.
Failed to connect to bus: Host is down
Error: Failed to prepare transaction: Failed to clone fvs build files
There was an error upgrading the system. AUR packages not upgraded.

It looks as if it went OK. But let’s remove dbus-daemon-units and try to install dbus-broker-units and see if that helps:

pamac remove dbus-daemon-units
pamac install dbus-broker-units

Target not found error

[manjaro /]# pamac remove dbus-daemon-units
Error: target not found: dbus-daemon-units
[manjaro /]# pamac install dbus-broker-units
Preparing…
Warning: dbus-broker-units-35-2 is up to date – skipping
Nothing to do.
Transaction successfully finished.

It might be that your mirror list is and/or package list is out-of-date. So refresh them first:

sudo pacman-mirrors --fasttrack=5

And when done, update the package list:

sudo pacman -Sy

Afterwards, let’s what happens if you do install dbus-broker-units now:

pamac install dbus-broker-units --overwrite='/usr/lib/systemd/*'

Make sure it’s enabled:

systemctl status dbus-broker.service

And if it is, you should be fine wwith exiting chroot:

exit

…and rebooting:

reboot

If you encountered any errors, report them here.


:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

A big part of your problem is your custom packages.

Do not mix system sync from official repo with building AUR scripts.

First sync your system

sudo pacman-mirrors --continent && sudo pacman -Syu

Then you can rebuild your custom packages

pamac update --aur

Same error

[manjaro /]# sudo pacman-mirrors --fasttrack=5
[manjaro /]# sudo pacman -Sy
[manjaro /]# pamac install dbus-broker-units --overwrite='/usr/lib/systemd/*'
Preparing...
Warning: dbus-broker-units-35-2 is up to date -- skipping
Nothing to do.
Transaction successfully finished.
[manjaro /]# systemctl status dbus-broker.service
Running in chroot, ignoring command 'status'
[manjaro /]# pamac remove dbus-daemon-units
Error: target not found: dbus-daemon-units
[manjaro /]# pamac install dbus-broker-units
Preparing...
Warning: dbus-broker-units-35-2 is up to date -- skipping
Nothing to do.
Transaction successfully finished.
 

tries syncing the system too …

[manjaro /]# sudo pacman-mirrors --continent && sudo pacman -Syu
[manjaro /]# pamac update --aur
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Synchronizing package databases...
Refreshing AUR...                                                               
Checking python-steamgriddb dependencies...                                     
Checking mongodb-compass dependencies...
Checking fvs dependencies...
Checking icoextract dependencies...
Checking bottles dependencies...
Checking vkbasalt-cli dependencies...
Checking patool dependencies...
Checking megabasterd-bin dependencies...
Checking mongosh-bin dependencies...
Checking mongodb-bin dependencies...
Checking mongodb-tools-bin dependencies...
Checking python-pathvalidate dependencies...
Resolving dependencies...
Checking inter-conflicts...

To upgrade (8):
  brave-browser              1.62.156-1  (1.62.153-1)                extra     156.7 MB
  inxi                       3.3.32.1-2  (3.3.31.2-1)                extra     439.6 kB
  onlyoffice-desktopeditors  8.0.0-1     (7.5.1-1)                   extra     282.2 MB
  wine                       8.21-2      (8.15-1)                    multilib  
  xdg-desktop-portal-kde     5.27.10-1   (5.27.8-1)                  extra     
  xfsprogs                   6.5.0-2     (6.4.0-1)                   core      
  yakuake                    23.08.4-1   (23.08.1-1)                 extra     
  zsh-syntax-highlighting    0.8.0-1     (0.7.1-1)                   extra     
To install (9):
  python-pyproject-hooks     1.0.0-5     (Required By: icoextract)   extra     21.4 kB
  python-build               1.0.3-1     (Required By: icoextract)   extra     121.1 kB
  python-installer           0.7.0-3     (Required By: icoextract)   extra     126.5 kB
  python-argcomplete         2.0.0-2     (Required By: patool)       extra     59.1 kB
  ninja                      1.11.1-3    (Required By: bottles)      extra     148.9 kB
  python-tqdm                4.66.1-2    (Required By: bottles)      extra     135.7 kB
  meson                      1.3.1-1     (Required By: bottles)      extra     2.1 MB
  blueprint-compiler         0.10.0-1    (Required By: bottles)      extra     184.3 kB
  chrpath                    0.17-1      (Required By: mongodb-bin)  extra     27.5 kB
To build (12):
  fvs                        0.3.4-2     (0.3.4-1)                   AUR
  icoextract                 0.1.4-3     (0.1.4-1)                   AUR
  patool                     2.1.1-1     (1.12-5)                    AUR
  python-pathvalidate        3.2.0-1     (3.1.0-1)                   AUR
  python-steamgriddb         1.0.5-2     (1.0.5-1)                   AUR
  vkbasalt-cli               3.1.1-2     (3.1.1-1)                   AUR
  bottles                    2:51.10-1   (2:51.5-3)                  AUR
  megabasterd-bin            8.21-1      (7.75-1)                    AUR
  mongosh-bin                2.1.3-1     (1.10.1-1)                  AUR
  mongodb-bin                7.0.5-1     (6.0.8-1)                   AUR
  mongodb-compass            1.42.0-1    (1.39.0-1)                  AUR
  mongodb-tools-bin          100.9.4-1   (100.7.3-1)                 AUR

Total download size: 442.4 MB
Total installed size: 773.6 MB

Edit build files : [e] 
Apply transaction ? [e/y/N] y

Cloning fvs build files...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Error: Failed to prepare transaction: Failed to clone fvs build files

Never do this - quote from Arch Linux Wiki but is equally valid on Manjaro Linux

Warning: When installing packages in Arch, avoid refreshing the package list without upgrading the system (for example, when a package is no longer found in the official repositories). In practice, do not run pacman -Sy package_name instead of pacman -Syu package_name, as this could lead to dependency issues. See System maintenance#Partial upgrades are unsupported and BBS#89328.

pacman - ArchWiki

Always use the following - no matter if it is update or addition (it is always a sync)

pacman -Syu

After successful completion of the system sync (you may need to restart the system)

pamac update --aur

With every announced update to stable the following notice is included

Additional Info

Info about AUR packages

:warning: AUR (Arch User Repository) packages are neither supported by Arch nor Manjaro. Posts about them in Announcements topics are off-topic and will be flagged, moved or removed without warning.

If the intention is to update repository packages only, this command is not likely to work

I suggest:

pamac update --no-aur

and system should then be able to boot to try updating AUR packages

pamac update --aur
1 Like