# Pamac (graphical package management tool) and yay stopped working. \[Workaround / Fix\]

**URL:** <https://rebornos.discourse.group/t/pamac-graphical-package-management-tool-and-yay-stopped-working-workaround-fix/356>\
**Category:** Announcements\
**Tags:** pacman, pamac, yay\
**Created:** [June 2, 2021, 9:02am UTC](https://rebornos.discourse.group/t/pamac-graphical-package-management-tool-and-yay-stopped-working-workaround-fix/356 "2021-06-02T09:02:14Z")\
**Posts on this page:** 1\
**Page:** 1

<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, 9:02am UTC](https://rebornos.discourse.group/t/pamac-graphical-package-management-tool-and-yay-stopped-working-workaround-fix/356/1 "2021-06-02T09:02:14Z")

</div>

Hi! 😃

Due to `pacman` version `6` being released, updating your system will break `pamac` (the graphical package management tool) and `yay` (the AUR helper). This happens because the developers of `pamac` have not yet incorporated changes that come with the new version in the library. If you already did update, don’t panic 😟. It is not too late ☠. You have a few options. Read on below:

# Workaround for graphical package management

## Option 1: Use bauh instead of pamac: (_run the below steps on a terminal_)

**Step 1** : Install `bauh`

```bash
sudo pacman -Sy bauh

```

**Step 2** : Launch `bauh`

```bash
bauh &

```

 ![Screenshot from 2021-06-02 10-51-00](https://global.discourse-cdn.com/free1/uploads/rebornos/original/1X/b1a76c8e934b7c857a1aef2e236a005d5d56a2b6.png)

## Option 2: Use tkpacman instead of pamac: (_run the below steps on a terminal_)

**Step 1** : Install `tkpacman`

```bash
sudo pacman -Sy tkpacman

```

**Step 2** : Launch `tkpacman`

```bash
sudo tkpacman &

```

 ![Screenshot from 2021-06-02 04-16-43](https://global.discourse-cdn.com/free1/uploads/rebornos/original/1X/249a15e62e098ba34244981cc107f7fddb31de95.png)

## Option 3: Downgrade `pacman` to use `pamac`: (_run the below steps on a terminal_)

**Step 1** : Check what versions of pacman you have in your cache:

```bash
ls /var/cache/pacman/pkg | grep pacman

```

**Step 2** : Install an older version of pacman:

```bash
sudo pacman -U /var/cache/pacman/pkg/<older-pacman-package-name>

```

where you need to replace `<older-pacman-package-name>` with one of the package names from the earlier step.

**Step 3** : [**Remember for the next time!**] Until `pamac` catches up with version `6` of pacman, you can add `--ignore pacman` every time you upgrade your system. For example: `sudo pacman -Syu --ignore pacman`

Here is a sample run of the above steps to downgrade pacman:

```bash
[user@user-computer ~]$ ls /var/cache/pacman/pkg | grep pacman
pacman-5.2.2-4-x86_64.pkg.tar.zst
pacman-6.0.0-2-x86_64.pkg.tar.zst
pacman-6.0.0-2-x86_64.pkg.tar.zst.sig
pacman-mirrorlist-20210509-1-any.pkg.tar.zst
[user@user-computer ~]$ sudo pacman -U /var/cache/pacman/pkg/pacman-5.2.2-4-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package pacman (6.0.0-2 => 5.2.2-4)
resolving dependencies...
looking for conflicting packages...

Packages (1) pacman-5.2.2-4

Total Installed Size: 4.44 MiB
Net Upgrade Size: -0.18 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [########################################################################################] 100%
(1/1) checking package integrity [########################################################################################] 100%
(1/1) loading package files [########################################################################################] 100%
(1/1) checking for file conflicts [########################################################################################] 100%
:: Processing package changes...
(1/1) downgrading pacman [########################################################################################] 100%
warning: /etc/makepkg.conf installed as /etc/makepkg.conf.pacnew
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[user@user-computer ~]$ sudo pacman -Q pacman
pacman 5.2.2-4

```

# To fix yay

Since @Rafael has already compiled a newer version of `yay` for RebornOS, you can fix it by simply upgrading your system and updating `yay`:

```bash
sudo pacman -Syu yay

```

# When in doubt, message us!

If you still have questions or issues, (apart from the forum) you can also message us on [Discord](https://www.rebornos.org/discord), [Facebook](https://www.rebornos.org/facebook) or [Twitter](https://www.rebornos.org/twitter) and we will be happy to help! 🙂
