timlau/yumex-ng

Description

total rewrite of yum extender using python-3-11, gtk4 & libadwaita

Installation Instructions

Instructions not filled in by author. Author knows what to do. Everybody else should avoid this repo.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

* Total number of packages downloaded in the last seven days.


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/timlau/yumex-ng/

THX for your work on yumex again , nice artwork , and it runs really great . I can use it with a Touchscreen on a Tablet too .

Thanks for keeping this software alive.
Could you build yumex-dnf5 for rawhide 41? It doesn’t seem to be available.

There is only an DNF5 version in Rawhide, so “dnf install yumex” will install that

I have updated the description on the Copr page to reflect that.

/Tim

Hi Tim, for some time or since some system updates, I got the following error when starting yumex. I’ve re-installed latest version from copr. It mentions flatpak, I removed flatpak from Fedora:

$ sudo yumex
16:02:39 DEBUG : (yumex) -  Version:  4.99.4-git20240409 (DNF5)
16:02:39 DEBUG : (yumex) -  executable : /usr/bin/yumex
16:02:39 DEBUG : (yumex) -  commmand-line : Namespace(debug=False, exit=False)

(yumex:3895): Gtk-WARNING **: 16:02:39.225: Unable to acquire session bus: Falló al ejecutar el proceso hijo «dbus-launch» (No existe el fichero o el directorio)
16:02:39 CRITICAL: (yumex) -  Uncaught exception: 'XDG_DATA_DIRS'
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/yumex/main.py", line 59, in do_activate
    self.win = YumexMainWindow(
               ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/yumex/ui/window.py", line 78, in __init__
    self.setup_gui()
  File "/usr/lib/python3.12/site-packages/yumex/ui/window.py", line 106, in setup_gui
    self.setup_flatpaks()
  File "/usr/lib/python3.12/site-packages/yumex/ui/window.py", line 109, in setup_flatpaks
    self.flatpak_view = YumexFlatpakView(self.presenter)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/yumex/ui/flatpak_view.py", line 41, in __init__
    self.icons_paths = self.get_icon_paths()
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/yumex/ui/flatpak_view.py", line 68, in get_icon_paths
    return [f"{path}/icons/" for path in os.environ["XDG_DATA_DIRS"].split(":")]
                                         ~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "<frozen os>", line 685, in __getitem__
KeyError: 'XDG_DATA_DIRS'
16:02:39 DEBUG : (yumex) -  traceback written to /root/.local/share/yumex/traceback_04-09-2024_160239.txt
Adwaita-Message: 16:02:39.336: AdwMessageDialog mapped without a transient parent. This is discouraged.
16:02:39 DEBUG : (yumex) -  search changed :

thanks

Look like the XDG_DATA_DIRS environment variable is not definded.

It is set by default in Gnome, but might not be set in other DE.

try installing the
xdg-user-dirs
xdg-user-dirs-gtk

packages to see if it helps

yumex-ng need flatpak to work, it has support for maintaining flatpaks

Thanks, I had both xdg packages installed already. Apart from flatpak, I removed some unused xorg packages because I’m using wayland and wished to strip xorg as much as possible, without afecting the gnome and apps.

I can run dnf-dragora okay, for comparison.

I’ve always been an admirer of yumex since the beginning, such a great piece of software. I find it had better functionality back then, you could browse through packages and navigate dependencies, files… it had a great UI. With later versions it became stripped out and now it only has basic functionality. I find it breaks recently with commits sometimes.

I wished it gained advanced funcionality such as navigating packages as hypertext, and specially advanced dnf5 commands such as repoquery whatconflicts, whatprovides, provides for a file or command.

dnfdragora used to be a ‘drag’ :smile: but now it works as yumex did before.

Just like to thumbs up your work and commend you for how good it was, always wondered why it wasn’t default in fedora. Thanks for maintaining yumex.

I can’t install yumex…

I have added the copr repo:

sudo dnf copr enable timlau/yumex-ng

That also worked. However, I cannot install the package with dnf:

sudo dnf install yumex
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: yumex
You can try to add to command line:
–skip-unavailable to skip unavailable packages

The same happens with

sudo dnf install yumex-ng

I am on Fedora 41 (beta). Is this perhaps the cause of the problem?

Any suggestions?

Thanks a lot

You have to use

sudo dnf install yumex-dnf5

Same error with

sudo dnf install yumex-dnf5

I have now tested it on other machines:
The installation on Fedora 40 works, the installation on Fedora 41 (as of today no longer a beta) does not work (neither ‘yumex-dnf5’ nor ‘yumex’). Error message is the same everywhere, as already written above.

My fault there is no stable release builds for Fedora 41

But there is dev builds here in the yumex-ng-dev copr.
https://copr.fedorainfracloud.org/coprs/timlau/yumex-ng-dev/

When I make a stable release next time, there will be a Fedora 41 build.

When do you plan to make the next stable build with Fedora 41 packages?

Is it possible to install this on RHEL or derivatives? I have Rocky 9 for example.

I don’t think so, yumex-ng require a lot for newer versions af python, libadwaita, gtk4, dnf5, etc. there is proberly not available in a long lived distro like RHEL, I only support currently supported version for Fedora.