Pamac not opening

Hey

After recent update pamac package manager won’t open getting this message :

** Message: 13:34:06.313: flatpak_plugin.vala:125: last flathub app
stream refresh is older than 6
** Message: 13:34:06.313: flatpak_plugin.vala:126: refreshing flath
ub appstream data

(process:4160): GLib-GIO-WARNING **: 13:34:06.564: /etc/xdg/kde-mim
eapps.list contains a [Added Associations] group, but it is not per
mitted here. Only the non-desktop-specific mimeapps.list file may
add or remove associations.

(pamac-manager:4160): GLib-GIO-CRITICAL **: 13:34:06.565: g_applica
tion_run: assertion ‘acquired_context’ failed

Help !!!

Hello,

There is no Pacman app, is just a CLI.
Pamac is an app and also has CLI.

Did you reboot your system?

Yes after countless reboots can’t open application manager

What is the output for:
pacman -Qi pamac

I reverted back to a week old backup and immediately after update it stops working

Name : pamac-gtk
Version : 9.5.12-1
Description : A Package Manager based on libalpm with AUR and
Appstream support
Architecture : x86_64
URL : Projects · Applications / pamac · GitLab
Licenses : GPL3
Groups : None
Provides : pamac=9.5.12-1 pamac-gtk=9.5.12-1
Depends On : pamac-cli gtk3>=3.22
Optional Deps : None
Required By : pamac-tray-icon-plasma
web-installer-url-handler
Optional For : None
Conflicts With : pamac pamac-aur pamac-gtk-dev
Replaces : pamac
Installed Size : 582.72 KiB
Packager : Philip Mueller philm@manjaro.org
Build Date : Mon 19 Oct 2020 01:57:25 AM EEST
Install Date : Mon 19 Oct 2020 03:55:26 PM EEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature

Something breaking after update… Issue with latest ? I think so

Not that i’m aware of, and not reproducible on my end in KDE Plasma Git install, Gnome and KDE Plasma testing branches.
What happens if you run:
sudo pacman-mirrors -f && sudo pacman -Syyu
? Are any pending updates still ?

Nothing…

::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases…
core 169.5 KiB 760 KiB/s 00:00 [#####################] 100%
extra 1999.1 KiB 988 KiB/s 00:02 [#####################] 100%
community 6.3 MiB 985 KiB/s 00:07 [#####################] 100%
multilib 188.6 KiB 857 KiB/s 00:00 [#####################] 100%
:: Starting full system upgrade…
there is nothing to do

Still not opening… Says something about flatpak in op…

pacman -Qi pamac-flatpak-plugin

?

Name : pamac-flatpak-plugin
Version : 9.5.12-1
Description : Flatpak plugin for Pamac
Architecture : x86_64
URL : Projects · Applications / pamac · GitLab
Licenses : GPL3
Groups : None
Provides : pamac-flatpak-plugin=9.5.12-1
Depends On : flatpak pamac-cli
Optional Deps : None
Required By : None
Optional For : pamac-common
Conflicts With : pamac-flatpak-plugin-dev
Replaces : None
Installed Size : 82.45 KiB
Packager : Philip Mueller philm@manjaro.org
Build Date : Mon 19 Oct 2020 01:57:25 AM EEST
Install Date : Mon 19 Oct 2020 03:55:31 PM EEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature

If I give TeamViewer access can you check ?

I don’t do that.

Try first to remove the plugin.
sudo pacman -R pamac-flatpak-plugin
Then try to open Pamac.

Yep it opened… So it was flatpak… As soon as I add it back it breaks pamac

sudo pacman -S pamac-flatpak-plugin breaks pamac sudo pacman -R pamac-flatpak-plugin fixes it WTH !!!

Let me ping @guinux - i don’t use that plugin at all, but he might know what the issue is. :slight_smile:

I have packages from flatpak… I need it

Removing the plugin of pamac should not have issues creating to use flatpaks. You only loose a graphical manager for it. During my tests in v10 of Pamac we also had issues to open Pamac when either snaps or flatpak plugin was activated. I’ve to double check if that is also the case on the current v9.5 release series.

I don’t speak code simply put I guess for now GUI is broke…

It was a logical must to provide links to a known issue that got fixed.

Please let me know what is the terminal output for:
cat /etc/xdg/kde-mimeapps.list

@philm - i did a test with a fresh install, no issue whatsoever. Also enabled flatpak on another, older install and got no issue. I can install, update, downgrade as i want … Flatpaks work too.

[Added Associations]
application/pdf=okular.desktop;
application/x-bittorrent=qBittorrent.desktop;
application/x-zerosize=org.kde.kate.desktop;
application/zip=org.kde.ark.desktop;
text/html=firefox.desktop;org.kde.falkon.desktop;
text/plain=org.kde.kate.desktop;
inode/directory=org.kde.dolphin.desktop;
application/x-shellscript=org.kde.kate.desktop;

[Default Applications]
application/pdf=okular.desktop;
application/x-bittorrent=qBittorrent.desktop;
application/x-zerosize=org.kde.kate.desktop;
application/zip=org.kde.ark.desktop;
text/html=firefox.desktop;org.kde.falkon.desktop;
text/plain=org.kde.kate.desktop;

I dunno what broke it, I didn’t do anything out of the ordinary…

That looks fine.

Have you applied the latest update? Does the issue persists on your end?

It’s after upgrade that I got the issue… But I just ran flatpak upgrade command and got

    ID                                           Branch Op Remote  Download
  1. [✓] org.freedesktop.Platform.GL.default 20.08 u flathub 15.4 MB / 41.5 MB
  2. [/] org.freedesktop.Platform.GL.nvidia-455-45-01 1.4 u flathub 133.2 MB / 133.6 MB
  3. [ ] org.freedesktop.Platform.Locale 20.08 u flathub < 322.0 MB (partial)
  4. [ ] org.freedesktop.Platform 20.08 u flathub < 266.5 MB
  5. [ ] org.gnome.Platform.Locale 3.36 u flathub < 323.1 MB (partial)
  6. [ ] org.gnome.Platform 3.36 u flathub < 326.0 MB

Dunno what this means coz pamac did not see those updates. As soon as I re-install flatpak-plugin and refresh mirrors pamac dies… So clearly something in flatpak is breaking it…Anyway, until it’s fixed I have re-installed plugin but left it disabled…

I have somehow fixed the issue by installing gnome-software to manage my flatpak packages.

When i opened it auto-upgraded 9 flatpaks “Platform” packages and libraries, even though In pamac there was no flatpak upgrade avalaible until yesterday.
Then i reinstalled pamac-flatpak-plugin and now pamac-manager just works, even with flatpak plugin enabled.