Recently Pamac shows only Flatpaks in Overview Category…?
Pamac 11.6.0-0.2, libpamac 11.6.1-1
On my end it shows normal packages as usual …
Me too (repo unstable) - pamac GTK3 and pamac GTK4
==> cat /etc/pamac.conf
Summary
### Pamac configuration file
## When removing a package, also remove those dependencies
## that are not required by other packages (recurse option):
RemoveUnrequiredDeps
## How often to check for updates, value in hours (0 to disable):
RefreshPeriod = 3
## When no update is available, hide the tray icon:
#NoUpdateHideIcon
## When applying updates, enable packages downgrade:
#EnableDowngrade
## When installing packages, do not check for updates:
SimpleInstall
## Allow Pamac to search and install packages from AUR:
EnableAUR
## Keep built packages from AUR in cache after installation:
KeepBuiltPkgs
## When AUR support is enabled check for updates from AUR:
CheckAURUpdates
## When check updates from AUR support is enabled check for vcs updates:
#CheckAURVCSUpdates
## AUR build directory:
BuildDirectory = /var/tmp
## Number of versions of each package to keep when cleaning the packages cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when cleaning the packages cache:
OnlyRmUninstalled
## Download updates in background:
#DownloadUpdates
I confirm the problem on Pamac GTK3, it started happening since yesterday. I get an empty “Browse” tab.
pamac-manager 10.6.0
pamac-cli 11.6.0
libpamac 11.6.1
I also get the following error while running pamac upgrade --aur --force-refresh
pamac upgrade --aur --force-refresh
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Multiple identities can be used for authentication:
1. Medin (medin)
2. Med (med)
Choose identity to authenticate as (1-2): 1
Password:
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing multilib.db...
Refreshing core.files...
Refreshing extra.files...
Refreshing multilib.files...
Refreshing AUR...
Failed to read AUR data from /var/tmp/pamac/packages-meta-ext-v1.json.gz : <data>:5887:508: Parse error: scanner: unterminated string constant
Failed to read AUR data from /var/tmp/pamac/packages-meta-ext-v1.json.gz : <data>:6741:216: Parse error: scanner: unterminated string constant
Resolving dependencies...
Checking inter-conflicts...
### Pamac configuration file
## When removing a package, also remove those dependencies
## that are not required by other packages (recurse option):
#RemoveUnrequiredDeps
## How often to check for updates, value in hours (0 to disable):
RefreshPeriod = 3
## When no update is available, hide the tray icon:
#NoUpdateHideIcon
## When applying updates, enable packages downgrade:
#EnableDowngrade
## When installing packages, do not check for updates:
#SimpleInstall
## Allow Pamac to search and install packages from AUR:
EnableAUR
## Keep built packages from AUR in cache after installation:
#KeepBuiltPkgs
## When AUR support is enabled check for updates from AUR:
CheckAURUpdates
## When check updates from AUR support is enabled check for vcs updates:
#CheckAURVCSUpdates
## AUR build directory:
BuildDirectory = /var/tmp
## Number of versions of each package to keep when cleaning the packages cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when cleaning the packages cache:
#OnlyRmUninstalled
## Download updates in background:
#DownloadUpdates
## Offline upgrade:
#OfflineUpgrade
## Maximum Parallel Downloads:
MaxParallelDownloads = 4
CheckFlatpakUpdates
#EnableSnap
EnableFlatpak
Everything looks fine to me. So all I can recommend if that you update your databases:
pamac checkupates --force-refresh
If that doen’t work, then I don’t know.
But you should take solace in the fact that you’re not alone:
Updating database doesn’t solve the problem, how can we downgrade to libpamac 11.6.0
?
Don’t know. I only use the CLI, and that’s working fine. Probably like any other app. (Which I still don’t know how to do, nor do I care.)
manjaro-downgrade
is in the repos.
sudo downgrade libpamac
Though, of course, this is for testing purposes or as a last resort … dont go frivolously using downgrade and forgetting about it … this is warning for future visitors as well.
I downgraded libpamac
to various old versions, but none resolves the problem.
Which tells us it is not the problem.
I wonder about the packages:
pacman -Qs pamac
And … also … another check is always a new user - if it works there then its some configuration in your HOME.
It returns
pacman -Qs pamac
local/libpamac 11.6.1-1
Library for Pamac package manager based on libalpm
local/pamac-cli 11.6.0-0.1
A CLI Package Manager based on libalpm with AUR support
local/pamac-gtk3 10.6.0-0.1
A Package Manager based on libalpm with AUR and Appstream support (GTK3)
local/pamac-tray-icon-plasma 0.1.3-1
Pamac tray icon for Plasma users
I tested with
sudo pacman -Rns libpamac pamac-cli pamac-gtk3 pamac-tray-icon-plasma
rm -rf ~/.config/pamac
rm -rf /var/tmp/pamac
sudo pacman -S pamac-gtk3 pamac-tray-icon-plasma
But nothing changed, I even installed that weird GTK4 variation but without success.
The thing is … you dont even have the flatpak plugin installed.
(libpamac-flatpak-plugin
)
… looking at your image again … you are in a submenu selection … can you attempt to hit the ‘back arrow’ at the top ?
Does the “Browse” tab uses some functions from external libraries like python, go or vala ? Maybe they got upgraded to newer ones and broke Pamac.
So …
sudo pacman-mirrors -f && sudo pacman -Syu && sudo pacman -Fy
And maybe
pamac update --force-refresh
Just to cover the bases.
I caught the culprit, it’s archlinux-appstream-data
, after downgrading it to archlinux-appstream-data-20230827-1
, the Browse works again.
It seems they changed some paths upgpkg: 20230827-2: Install data to new paths (f2d646ba) · Commits · Arch Linux / Packaging / Packages / archlinux-appstream-data · GitLab
Please test archlinux-appstream-data
20230827-2 installing it from the testing branch:
sudo pacman -U https://mirror.easyname.at/manjaro/testing/extra/x86_64/archlinux-appstream-data-20230827-2-any.pkg.tar.zst
If it resolves the issue, I’ll push it to the stable branch.
I’m on unstable, it’s 20230827-2
version that causes the problem, but downgrading it to 20230827-1
solves it.