When I try to launch pamac by clicking on the Package Manager in the system tray, nothing happens aside from a little animation of the task manager icon.
I have an ‘Add/Remove software’ shortcut at the side of Manjaro Application Launcher - in the task manager bar, if I’m not wrong. When I click on it, I have an animation, but nothing happens. However, when I right click and select ‘software update’, the window appears. It works if I select the ‘update’ or ‘installed’ tab, but if I select the ‘browse’ tab, it crashes - it closes on me and then nothing.
I have had a problem with this window for some time now, perhaps related so I’ll describe it : I could launch the window, navigate everything, but when the window went below others - when another window became active, clicking on the package manager icon in the bar didn’t bring it up again. I had to close it (right click on the task manager icon, then ‘close’) and relaunch it.
Is it a known issue or should I report a bug (if so, some pointers on how , where and what to report would be appreciated) ?
Just wanted to make sure you were fully up to date first, it seems you are.
What versions are installed?
pacman -Qs pamac
Example on my end (unstable branch):
❯ pacman -Qs pamac
local/libpamac 11.5.4-2
Library for Pamac package manager based on libalpm
local/libpamac-flatpak-plugin 11.5.4-2
Flatpak plugin for Pamac
local/pamac-cli 11.0.0-2
A CLI Package Manager based on libalpm with AUR support
local/pamac-gtk 11.0.1-2
A Package Manager based on libalpm with AUR and Appstream support (GTK4)
I suggest reinstalling the packages you have installed. Example based on the above output:
sudo pacman -Syu libpamac libpamac-flatpak-plugin libpamac-snap-plugin pamac-cli pamac-gtk pamac-tray-icon-plasma ✔
:: Synchronising package databases...
mesa-nonfree is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: libpamac-11.5.4-1 is up to date -- reinstalling
warning: libpamac-flatpak-plugin-11.5.4-1 is up to date -- reinstalling
warning: libpamac-snap-plugin-11.5.4-1 is up to date -- reinstalling
warning: pamac-cli-10.5.1-2 is up to date -- reinstalling
warning: pamac-gtk-10.5.1-2 is up to date -- reinstalling
warning: pamac-tray-icon-plasma-0.1.2-4 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (6) libpamac-11.5.4-1 libpamac-flatpak-plugin-11.5.4-1 libpamac-snap-plugin-11.5.4-1 pamac-cli-10.5.1-2 pamac-gtk-10.5.1-2 pamac-tray-icon-plasma-0.1.2-4
Total Download Size: 0,03 MiB
Total Installed Size: 4,61 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
pamac-tray-icon-plasma-0.1.2-4-x86_64 27,0 KiB 220 KiB/s 00:00 [###############################################################] 100%
(6/6) checking keys in keyring [###############################################################] 100%
(6/6) checking package integrity [###############################################################] 100%
(6/6) loading package files [###############################################################] 100%
(6/6) checking for file conflicts [###############################################################] 100%
(6/6) checking available disk space [###############################################################] 100%
:: Processing package changes...
(1/6) reinstalling libpamac [###############################################################] 100%
(2/6) reinstalling libpamac-flatpak-plugin [###############################################################] 100%
(3/6) reinstalling libpamac-snap-plugin [###############################################################] 100%
(4/6) reinstalling pamac-cli [###############################################################] 100%
(5/6) reinstalling pamac-gtk [###############################################################] 100%
(6/6) reinstalling pamac-tray-icon-plasma [###############################################################] 100%
:: Running post-transaction hooks...
(1/7) Reloading system manager configuration...
(2/7) Arming ConditionNeedsUpdate...
(3/7) Updating the MIME type database...
(4/7) Reloading system bus configuration...
(5/7) Updating icon theme caches...
(6/7) Checking which packages need to be rebuilt
(7/7) Updating the desktop file MIME type cache...
It didn’t solve the problem. Next, I removed pamac-gtk and the packages that required it, and after I tried to install pamac-gtk3 :
sudo pacman -R pamac-gtk manjaro-application-utility pamac-tray-icon-plasma manjaro-hello 1 ✘
checking dependencies...
Packages (4) manjaro-application-utility-1.3.3-9 manjaro-hello-0.7.0-5 pamac-gtk-10.5.1-2 pamac-tray-icon-plasma-0.1.2-4
Total Removed Size: 1,27 MiB
:: Do you want to remove these packages? [Y/n] Y
:: Processing package changes...
(1/4) removing manjaro-hello [###############################################################] 100%
(2/4) removing pamac-tray-icon-plasma [###############################################################] 100%
(3/4) removing manjaro-application-utility [###############################################################] 100%
(4/4) removing pamac-gtk [###############################################################] 100%
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
~ sudo pacman -Syu pamac-gtk3 ✔ 5s
:: Synchronising package databases...
mesa-nonfree is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
error: target not found: pamac-gtk3
So, it seems that pamac-gtk3 doesn’t exist. Perhaps it’s the name?
I right clicked on the ‘Add/Remove Software’ shortcut icon I have in the task manager bar, selected ‘software update’. Pamac GUI window opened.
I went for the three dots in the upper right corner of the window, selected preferences, entered password. I then disabled snap, flatpack and aur packages, then refreshed databases and checked for updates.
I opened the preferences again, and enabled back the snap, flatpack and aur packages. I refreshed the databases and checked for updates again.
After that, I could use the browse tab of the pamac GUI window, and that window opened normally from the icon in the system tray.
To exclude hardware issues i would:
A) Boot up a manjaro live session to test pamac-manager there
Or
B) Create a new test-user on the PC where pamac has issues
C) Use yay as a pamac replacement?!
D) google for the segfault error message!
I booted in a Manjaro live session and the pamac GUI was working, so I guess I can say it’s not a hardware problem.
Google doesn’t produce any results on this, at least none I can recognize.