when i do pamac update i get the following error message
Checking brave-bin dependencies...
Checking ulauncher dependencies...
Error: Failed to prepare transaction: invalid or corrupted database
Edit build files : [e]
Apply transaction ? [e/y/N] y
Transaction cancelled.
The error also occured when i tried to install copyq (official repo), but worked manually with pacman -S. Flatpak packages over the GUI also didnt work, but did work in the terminal.
After being new to this forum due to this problem, that i could’nt fix myself threw research (still), i had an unfavorable start in this thread (same topic) Pamac is broken - #19 by linux-aarhus
I apologize to those who wasted their time on me. I hope you’ll be willing to help me after all. If so, i will provide you with the information you need.
Safely check for updates without modifiying the databases
(Exit code is 100 if updates are available)
pamac checkupdates [options]
options:
--builddir <dir> : build directory (use with --devel), if no directory is given the one specified in
pamac.conf file is used
--aur, -a : also check updates in AUR
--no-aur : do not check updates in AUR
--quiet, -q : only print one line per update
--devel : also check development packages updates (use with --aur)
--no-devel : do not check development packages updates
I did manage to update all my packages separately with yay -S (AUR) and flatpak update, i dont think this fixes the problem longterm, but i keep my system updated after all.
If someone deigns to help me fix the root of the problem, i would be pleased.
Pamac can be a great application - but can also increase the complexity of a sync process or as you call it update.
The root of your problem is complexity.
I suggest you do as @cscs suggests - perhaps not the removal of pamac - but instead of using a multi-purpose tool - split the process using the tool designed for that process.
multi-purpose tools is like a swiss army knife - they become cluttered and hard to use …
system packages from repo
sudo pacman -Syu
custom build scripts - use an AUR helper which can be targeted to rebuild custom scrips only
flatpak - use flatpak’s own update command
Use AUR to notify when your preferred scripts has been updated or use home brewed script like
Pamac is currently frozen, most crash related bugs on GitLab are not treated or even discussed.
Pamac has a serious problem of synchronization with Manjaro repos, it’s recommended to use yay that connects directly to Arch repos to install your wanted AUR packages.
Ok, i would like to do that and use other ways to sync in the future, but how do i do it? How do i switch? I mean sudo pacman -Syu isn’t working either. I will read your linked posts, but maybe you can help me with it.
yaydoesnt work either. Its always transcode now, but im sure next time it will be something new, something different that causes trouble, even if i (we) manage to find a solution
/home/pov/.cache/yay/transcode/PKGBUILD: line 29: autoreconf: command not found
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: transcode-exit status 4
-> Failed to install the following packages. Manual intervention is required:
transcode - exit status 4
You’re meant to read the link I posted before using the AUR, which tells you to install base-devel.
I’ve quoted it here:
First, ensure that the necessary tools are installed by installing base-devel; this meta package has make and other tools needed for compiling from source, listed as dependencies.
Note: Packages in the AUR assume that base-devel is installed in the build environment.
Though it looks like it, im not new to Manjaro. I have it for over 5 years now. Why should a so important package miss from the start and until now i never had a problem with it. Sorry, im sure it makes sense to you, not for me. I would appreciate you explaining if you can.