# Dracut error

**URL:** <https://forum.endeavouros.com/t/dracut-error/55999>\
**Category:** Kernel, boot, graphics & hardware\
**Created:** [May 29, 2024, 5:51pm UTC](https://forum.endeavouros.com/t/dracut-error/55999 "2024-05-29T17:51:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![thereillywriter](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f17d59/32.png) [@thereillywriter](https://forum.endeavouros.com/u/thereillywriter)\
**Post date:** [May 29, 2024, 5:51pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/1 "2024-05-29T17:51:06Z")

</div>

Hello, an error message popped following the latest upgrade of Dracut. Once Dracut is upgraded, it automatically runs kernel-install and this error message appeared:

```auto
Dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed

```

To be honest, I do not closely interrogate Dracut’s verbose output most of the time. Given the Dracut upgrade, I was on the lookout for errors this time and I do not know whether this error message was displaying previously.

I have no idea what systemd-pcrphrase or how significant it is that there is an unmatched dependency here. I searched the Arch Wiki and drew a blank. [Freedesktop.org has a man page on it](https://www.freedesktop.org/software/systemd/man/latest/systemd-pcrphase.service.html) which demands a much greater level of knowledge about systemd than I have to parse.

Strangely, it seems that tmp2-tss is in fact in in the arch repo: [https://archlinux.org/packages/core/x86\_64/tpm2-tss/](https://archlinux.org/packages/core/x86_64/tpm2-tss/). However when I try and install it this happens:

```auto
sudo pacman -S tmp2-tss
error: target not found: tmp2-tss

```

Anyone have a clue what is going on? What are the chances of system not rebooting? 😬

---

<div class="post-metadata">

**Author:** ![anon93652015](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/48db29/32.png) [@anon93652015](https://forum.endeavouros.com/u/anon93652015)\
**Post date:** [May 29, 2024, 5:56pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/2 "2024-05-29T17:56:56Z")

</div>

DISCLAIMER: I am not telling you to install this package. I am just pointing something out.

> [@thereillywriter](#):
>
> `'systemd-pcrphase' depends on 'tpm2-tss'`

> [@thereillywriter](#):
>
> ```auto
> sudo pacman -S temp2-tss
> error: target not found: temp2-tss
> 
> ```

You get an error here because the package you tried to install doesn’t exist.  
However, the package you get an error about and linked to does.

It’s “`tpm2-tss`” NOT “`temp2-tss`”.

---

<div class="post-metadata">

**Author:** ![thereillywriter](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f17d59/32.png) [@thereillywriter](https://forum.endeavouros.com/u/thereillywriter)\
**Post date:** [May 29, 2024, 6:24pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/3 "2024-05-29T18:24:13Z")

</div>

Good point, but same situation:

```auto
sudo pacman -S tmp2-tss
[sudo] password for [redacted]: 
error: target not found: tmp2-tss

```

---

<div class="post-metadata">

**Author:** ![anon93652015](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/48db29/32.png) [@anon93652015](https://forum.endeavouros.com/u/anon93652015)\
**Post date:** [May 29, 2024, 6:25pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/4 "2024-05-29T18:25:36Z")

</div>

Hmm. What’s the output of:

```auto
cat /etc/pacman.conf

```

Also, just realised that this is an orphaned package.

---

<div class="post-metadata">

**Author:** ![thereillywriter](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f17d59/32.png) [@thereillywriter](https://forum.endeavouros.com/u/thereillywriter)\
**Post date:** [May 29, 2024, 6:26pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/5 "2024-05-29T18:26:22Z")

</div>

```auto
kde-unstable]
Include = /etc/pacman.d/mirrorlist

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

[core-testing]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra-testing]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

```

---

<div class="post-metadata">

**Author:** ![anon93652015](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/48db29/32.png) [@anon93652015](https://forum.endeavouros.com/u/anon93652015)\
**Post date:** [May 29, 2024, 6:28pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/6 "2024-05-29T18:28:11Z")

</div>

The last update to this was over a year ago.

> **[Arch Linux / Packaging / Packages / tpm2-tss · GitLab](https://gitlab.archlinux.org/archlinux/packaging/packages/tpm2-tss)**
>
> GitLab Enterprise Edition

You can probably ignore it for now, but wait for one of the more senior guys to look at your thread. They may have a solution.

---

<div class="post-metadata">

**Author:** ![thereillywriter](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f17d59/32.png) [@thereillywriter](https://forum.endeavouros.com/u/thereillywriter)\
**Post date:** [May 29, 2024, 6:32pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/7 "2024-05-29T18:32:02Z")

</div>

Thanks a million, that context is useful!

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [May 29, 2024, 6:35pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/8 "2024-05-29T18:35:42Z")

</div>

That means it is failing to `systemd-pcrphase` to dracut which you probably don’t need to worry about unless you need tpm support in the initramfs.

It looks like that message is coming from the recent dracut update. I can take a look at it in more detail later.

---

<div class="post-metadata">

**Author:** ![thereillywriter](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f17d59/32.png) [@thereillywriter](https://forum.endeavouros.com/u/thereillywriter)\
**Post date:** [May 29, 2024, 6:40pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/9 "2024-05-29T18:40:25Z")

</div>

I honestly don’t even know what tpm is. 😂 I rebooted anyway and can confirm that there were no issues.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [May 31, 2024, 6:40pm UTC](https://forum.endeavouros.com/t/dracut-error/55999/10 "2024-05-31T18:40:34Z")

</div>

Closed on May 31, 2024, 6:40pm UTC

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