# How can I fix this

**URL:** <https://rebornos.discourse.group/t/how-can-i-fix-this/355>\
**Category:** KDE Plasma\
**Created:** [June 1, 2021, 3:36pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355 "2021-06-01T15:36:50Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![longskott1](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/longskott1/32/139_2.png) [@longskott1](https://rebornos.discourse.group/u/longskott1)\
**Post date:** [June 1, 2021, 3:36pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/1 "2021-06-01T15:36:50Z")

</div>

Something is wrong. I can’t start pamac or yay. I get this message: pamac : error while loading shared libraries : libalpm.so.12: cannot open shared object file: No such file or directory

What,s wrong? How can I solve this?  
Longskott

---

<div class="post-metadata">

**Author:** ![arnulf](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/arnulf/32/51_2.png) [@arnulf](https://rebornos.discourse.group/u/arnulf)\
**Post date:** [June 1, 2021, 3:40pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/2 "2021-06-01T15:40:25Z")

</div>

Moin,

> [@Pacman 6 released](https://rebornos.discourse.group/t/pacman-6-released/353):
>
> Hello community Pacman 6 has is now in the Arch core repository This update to Pacman brings a new feature parallel downloading speeding up install and update speed. Issues with Pacman 6 if you update to pacman 6 Pamac will no longer function refer to this issue on pamacs gitlab we currently have no estimated time on when this will be fixed if your using using pamac we recommend you temporary don’t update pacman until this issue is resolved you can do so by simple unchecking the pacman box …

its a pacman issue that not fixed yet and no workaround available  
greets

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [June 1, 2021, 5:58pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/3 "2021-06-01T17:58:49Z")

</div>

Hi @longskott1 🙂 ! Welcome to the forum.

You can choose to _downgrade_ pacman to make it work with `pamac`. To check the available versions in your cache, use `ls -ltr /var/cache/pacman/pkg/ | grep pacman`. After that, you can install one of the older versions like `sudo pacman -U /var/cache/pacman/pkg/<old-pacman-package-name> ` where `<old-pacman-package-name>` is the package you chose from the previous command.

@Rafael has already compiled a newer version of `yay`, so update your system with `sudo pacman -S yay` or `sudo pacman -Syu yay` to fix `yay`.

If you want to use the latest version of `pacman` instead, you can still use it on the command line until the developers of `pamac` catch up with the updated release.

Thanks for being a part of the RebornOS community. Please don’t hesitate to contact on any of the platforms (Discord, Forums, Facebook, or Twitter) if you need help with anything.

Have a nice day!

---

<div class="post-metadata">

**Author:** ![longskott1](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/longskott1/32/139_2.png) [@longskott1](https://rebornos.discourse.group/u/longskott1)\
**Post date:** [June 1, 2021, 6:04pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/4 "2021-06-01T18:04:07Z")

</div>

I didn’t say anything about pacman. My problem is pamac.

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [June 1, 2021, 6:08pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/5 "2021-06-01T18:08:01Z")

</div>

@longskott1 `pamac` depends on `pacman`. The reason `pamac` is not working currently is because `pacman` got updated to version `6`, but the `pamac` developers are yet to fix the application for the changes in the library.

What this means is that you can fix `pamac` by downgrading `pacman` if you choose to do so. The instructions are in my previous post 🙂.

---

<div class="post-metadata">

**Author:** ![longskott1](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/longskott1/32/139_2.png) [@longskott1](https://rebornos.discourse.group/u/longskott1)\
**Post date:** [June 1, 2021, 6:08pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/6 "2021-06-01T18:08:37Z")

</div>

How do I downgrade pacman in terminal because I can only use pacman in terminal?

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [June 1, 2021, 6:10pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/7 "2021-06-01T18:10:24Z")

</div>

You can do so on the terminal using the commands I have typed out in this reply earlier:

> [@How can I fix this](https://rebornos.discourse.group/t/how-can-i-fix-this/355/3):
>
> Hi @longskott1 slight_smile ! Welcome to the forum. You can choose to downgrade pacman to make it work with pamac. To check the available versions in your cache, use ls -ltr /var/cache/pacman/pkg/ | grep pacman. After that, you can install one of the older versions like sudo pacman -U /var/cache/pacman/pkg/\<old-pacman-package-name\> where \<old-pacman-package-name\> is the package you chose from the previous command. @Rafael has already compiled a newer version of yay, so update your system wi…

This method uses `pacman` only, without any `AUR` helper like `yay`.

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [June 1, 2021, 6:18pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/8 "2021-06-01T18:18:42Z")

</div>

@longskott1 Let me know how the downgrade commands go. I am happy to help you with the process 🙂. We’re also available on live chat on [Discord](https://www.rebornos.org/discord).

---

<div class="post-metadata">

**Author:** ![longskott1](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/longskott1/32/139_2.png) [@longskott1](https://rebornos.discourse.group/u/longskott1)\
**Post date:** [June 1, 2021, 6:20pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/9 "2021-06-01T18:20:20Z")

</div>

How do I downgrade pacman in a terminal???

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [June 1, 2021, 6:29pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/10 "2021-06-01T18:29:58Z")

</div>

@longskott1  
You can use `pacman` itself to downgrade pacman from the terminal. Here are the commands from my first reply:

```auto
ls -ltr /var/cache/pacman/pkg/ | grep pacman

```

After that, you can install one of the older versions like

```auto
sudo pacman -U /var/cache/pacman/pkg/<old-pacman-package-name> 

```

where `<old-pacman-package-name>` is the package you chose from the previous command.

The above **is** the downgrade process.

If you prefer to use the `downgrade` tool, you can also run the below:

```auto
sudo downgrade pacman

```

Either of the above methods should work.

Edit: Sorry for the earlier formatting problems. I’m typing on phone

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [June 1, 2021, 6:51pm UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/11 "2021-06-01T18:51:21Z")

</div>

@longskott1

My last reply has commands that you can run on the terminal to downgrade pacman (which will fix `pamac`). And yes, you can use pacman to install an older version of pacman and to downgrade itself. I have also posted the command to use if you prefer the downgrade tool instead. Either should work.

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [June 2, 2021, 10:10am UTC](https://rebornos.discourse.group/t/how-can-i-fix-this/355/12 "2021-06-02T10:10:58Z")

</div>

**Update** : There is an announcement with clearer instructions here: [Pamac (graphical package management tool) and yay stopped working. [Workaround / Fix]](https://rebornos.discourse.group/t/pamac-graphical-package-management-tool-and-yay-stopped-working-workaround-fix/356)

Please let me know if anything is not clear 🙂
