I’ve always used pacman + octopi, but I would like to start using pamac because of the snap and flatpak plugins. As far as I know, pamac and pacman should share the same database and be completely compatible, but it doesn’t seem like it.
For example, trying to install the package
sl, I get this output from pacman
$ sudo pacman -S sl resolving dependencies... looking for conflicting packages... Packages (1) sl-5.02-6 Total Installed Size: 0,03 MiB :: Proceed with installation? [Y/n]
and this output from pamac
$ sudo pamac install sl Preparing... Synchronizing package databases... Resolving dependencies... Checking inter-conflicts... To install (8): linux-api-headers 5.8-1 (Required By: sl) core 1,1 MB tzdata 2020d-1 (Required By: sl) core 394,0 kB iana-etc 20201012-1 (Required By: sl) core 398,1 kB filesystem 2020.09-2 (Required By: sl) core 23,4 kB glibc 2.32-5 (Required By: sl) core 10,3 MB gcc-libs 10.2.0-4 (Required By: sl) core 33,1 MB ncurses 6.2-1 (Required By: sl) core 1,2 MB sl 5.02-6 community Total download size: 46,4 MB Total installed size: 219,5 MB Apply transaction ? [y/N]
If I search for
pamac search -i glibc, though, pamac is able to find it.
Also, if I try to use pamac to uninstall a package installed through pacman, I get this error
$ sudo pamac remove sl Preparing... Error: Failed to prepare transaction: target not found: sl Error: Failed to prepare transaction: target not found: sl
Any ideas about what’s wrong? Or am I just missing something?