# Pamac fails to update

**URL:** <https://forum.endeavouros.com/t/pamac-fails-to-update/31660>\
**Category:** Applications\
**Created:** [September 12, 2022, 9:07pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660 "2022-09-12T21:07:28Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![stonemax](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@stonemax](https://forum.endeavouros.com/u/stonemax)\
**Post date:** [September 12, 2022, 9:07pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/1 "2022-09-12T21:07:28Z")

</div>

I can’t update:  
 ![error-update](https://forum.endeavouros.com/uploads/default/original/3X/e/b/ebe20b541fa2297bdbc516291fd787bd69bc3631.png)  
-more info:  
 ![lsblk -f20220912](https://forum.endeavouros.com/uploads/default/original/3X/c/0/c0149d77e3d5491e78fef7354a4d542bf6b8d3e1.png)  
-I also noticed that every say half an hour it kicks me out of the network, the other comp (windows os) does not lose the network

---

<div class="post-metadata">

**Author:** ![pycrk](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pycrk/32/71109_2.png) [@pycrk](https://forum.endeavouros.com/u/pycrk)\
**Post date:** [September 12, 2022, 9:11pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/2 "2022-09-12T21:11:22Z")

</div>

show the output of  
`sudo pacman -Syu`

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [September 12, 2022, 9:15pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/3 "2022-09-12T21:15:02Z")

</div>

Try

```auto
sudo rm /var/lib/pacman/db.lck

```

And then try to update.

---

<div class="post-metadata">

**Author:** ![stonemax](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@stonemax](https://forum.endeavouros.com/u/stonemax)\
**Post date:** [September 12, 2022, 9:46pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/4 "2022-09-12T21:46:51Z")

</div>

done: sudo pacman -Syu update has been made , after that restart and after booting the OS tried the normal Update but reports:  
 ![Screenshot_2022-09-12_23-40-55](https://forum.endeavouros.com/uploads/default/original/3X/6/a/6a0be7970843ecb70f33373e019b69714809e846.png)

after that I tried sudo rm /var/lib/pacman/db.lck and it says:  
 ![Screenshot_2022-09-12_23-41-51](https://forum.endeavouros.com/uploads/default/original/3X/4/0/407cf5e70262bbe559b5604cf956b45974e18530.png)

thank you team for helping me

---

<div class="post-metadata">

**Author:** ![pycrk](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pycrk/32/71109_2.png) [@pycrk](https://forum.endeavouros.com/u/pycrk)\
**Post date:** [September 12, 2022, 9:57pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/5 "2022-09-12T21:57:00Z")

</div>

was the update with `sudo pacman -Syu` successful or was there an error message?

---

<div class="post-metadata">

**Author:** ![stonemax](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@stonemax](https://forum.endeavouros.com/u/stonemax)\
**Post date:** [September 12, 2022, 10:12pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/6 "2022-09-12T22:12:06Z")

</div>

> [@pycrk](#):
>
> `sudo pacman -Syu`

there were no errors, I ran the command sudo pacman -Syu again and it reports that everything is ok and that there are no updates:  
 ![Screenshot_2022-09-13_00-02-37](https://forum.endeavouros.com/uploads/default/original/3X/7/f/7fcb576fbe7782800cb46dd4a90101b7759cbcd1.png)  
but when I start a normal update, “Repositories” disappeared from the left side:

 ![Screenshot_2022-09-13_00-04-34](https://forum.endeavouros.com/uploads/default/original/3X/3/5/350f1ee308cb9e70fc7dcbf42f87cb2a487b05d0.png)  
after that:  
 ![Screenshot_2022-09-13_00-09-02](https://forum.endeavouros.com/uploads/default/original/3X/c/b/cb7ee6ecb1eefac69a9d973e1bb1426eada40529.png)  
 ![Screenshot_2022-09-13_00-09-36](https://forum.endeavouros.com/uploads/default/original/3X/5/6/5656786c54411000a5a3a0bdd3e883aeb2401458.png)  
 ![Screenshot_2022-09-13_00-11-11](https://forum.endeavouros.com/uploads/default/original/3X/0/b/0bd35c0b50d8e27b782e516bd6ca55c2a57f11cf.png)

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [September 12, 2022, 10:14pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/7 "2022-09-12T22:14:12Z")

</div>

Update your mirrors first.

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [September 12, 2022, 10:22pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/8 "2022-09-12T22:22:00Z")

</div>

Try:

```auto
sudo rm /var/tmp/pamac/dbs/db.lck

```

This is a problem with Pamac, it has its own db.lck file, but I don’t know where it is. I always recommend against using Pamac, as it is utter rubbish.

---

<div class="post-metadata">

**Author:** ![pycrk](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pycrk/32/71109_2.png) [@pycrk](https://forum.endeavouros.com/u/pycrk)\
**Post date:** [September 12, 2022, 10:23pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/9 "2022-09-12T22:23:28Z")

</div>

These are aur packages. Update with ‘yay’, yay update aur and other repos.

---

<div class="post-metadata">

**Author:** ![stonemax](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@stonemax](https://forum.endeavouros.com/u/stonemax)\
**Post date:** [September 12, 2022, 10:29pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/10 "2022-09-12T22:29:44Z")

</div>

thanks, everything seems to be fine after update mirrors:  
 ![Screenshot_2022-09-13_00-25-29](https://forum.endeavouros.com/uploads/default/original/3X/a/2/a2c78dd3fc870bf7dd1ec26d0fd865cfa1a66d71.png)  
 ![Screenshot_2022-09-13_00-27-08](https://forum.endeavouros.com/uploads/default/original/3X/2/b/2beaae3b76f3857b17cb714c4eab95ff5fedf5fc.png)  
thank you all for your help

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [September 12, 2022, 10:33pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/11 "2022-09-12T22:33:10Z")

</div>

I just looked at the error message. Failed to synchronize databases. That tells me the mirrors aren’t updated and synced.

---

<div class="post-metadata">

**Author:** ![sradjoker](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sradjoker/32/64224_2.png) [@sradjoker](https://forum.endeavouros.com/u/sradjoker)\
**Post date:** [September 12, 2022, 11:02pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/12 "2022-09-12T23:02:28Z")

</div>

Lesson of the day, don’t use pamac for updating your system

🏃🏽‍♂️

---

<div class="post-metadata">

**Author:** ![sandman](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@sandman](https://forum.endeavouros.com/u/sandman)\
**Post date:** [September 13, 2022, 1:22am UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/13 "2022-09-13T01:22:10Z")

</div>

It’s none of my business, but it’s always amazing how consistently well-intentioned, extremely reasonable advice is simply ignored.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 13, 2022, 3:07am UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/14 "2022-09-13T03:07:00Z")

</div>

Since it seems you not only know how to update without pamac, and the reality that pamac regularly breaks, I just want to throw out the suggestion of avoiding to use it for updates. Pamac also doesn’t do manual interventions, nor any of the pacdiff files. You will likely have a better experience without it.

That being said, it’s your computer, do as you will. But if I were me, I’d get rid of that asap.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [September 13, 2022, 3:13am UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/15 "2022-09-13T03:13:09Z")

</div>

@stonemax  
As others have alluded to it’s best to use pacman for updating your system. Pamac can be used to install packages but there are better ways and better tools to do this. Pacseek is a better tool to use for this purpose and many others. yay is an AUR helper and you can also use that to install packages and also update. Using Pamac can cause issues with updating so it would be better to learn about pacman.

[https://discovery.endeavouros.com/pacman/pacman-basic-commands/2021/03/](https://discovery.endeavouros.com/pacman/pacman-basic-commands/2021/03/)

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 13, 2022, 3:15am UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/16 "2022-09-13T03:15:13Z")

</div>

If you would like to maintain your system as I keep mine - you may find this of interest.

> [@A Complete Idiot's Guide To Endeavour OS Maintenance / Update / Upgrade](https://forum.endeavouros.com/t/a-complete-idiots-guide-to-endeavour-os-maintenance-update-upgrade/25184):
>
> I’m a complete idiot - so here’s my guide for you! It has been asked a lot, and fairly frequently recently it seems, especially by new Endeavour/new to Linux users. It was recently asked that I post how I update - so here it is. “How do I maintain / update / upgrade my system?!? Help!!” This is my maintenance plan. I have been using the same install for almost 2 years now without any major issue. I’m VERY aware there’s more than one way to do this. And most importantly - Many of these c…

---

<div class="post-metadata">

**Author:** ![rcht](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/r/e8c25b/32.png) [@rcht](https://forum.endeavouros.com/u/rcht)\
**Post date:** [September 13, 2022, 3:40am UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/17 "2022-09-13T03:40:01Z")

</div>

`eos-update-notifier` is pretty good 🙂

---

<div class="post-metadata">

**Author:** ![npaladin2000](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/npaladin2000/32/58315_2.png) [@npaladin2000](https://forum.endeavouros.com/u/npaladin2000)\
**Post date:** [September 13, 2022, 12:46pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/18 "2022-09-13T12:46:53Z")

</div>

[https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/](https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/)

This can be even better, since you can tell it to call pacseek as your package manager. 🙂

---

<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:** [September 15, 2022, 12:47pm UTC](https://forum.endeavouros.com/t/pamac-fails-to-update/31660/19 "2022-09-15T12:47:05Z")

</div>

Closed on September 15, 2022, 12:47pm UTC

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