mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

Report Bugs, Issues and non- package Requests
Post Reply
Message
Author
User avatar
kmathern
Developer
Posts: 2402
Joined: Wed Jul 12, 2006 2:26 pm

mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#1 Post by kmathern »

On my MX-16.x install, mx-packageinstaller won't upgrade to the 18.10.1 version because of a unmet dependency for xdg-desktop-portal-gtk.

Code: Select all

$ apt-cache policy mx-packageinstaller
mx-packageinstaller:
  Installed: 18.10mx15
  Candidate: 18.10.1
  Version table:
     18.10.1 0
        500 http://iso.mxrepo.com/mx/repo/ mx15/main amd64 Packages
 *** 18.10mx15 0
        100 /var/lib/dpkg/status

Code: Select all

$ sudo apt-get install mx-packageinstaller -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mx-packageinstaller : Depends: xdg-desktop-portal-gtk but it is not installable
E: Unable to correct problems, you have held broken packages.

Code: Select all

$ apt-cache policy xdg-desktop-portal-gtk
xdg-desktop-portal-gtk:
  Installed: (none)
  Candidate: (none)
  Version table:

User avatar
timkb4cq
Developer
Posts: 3186
Joined: Wed Jul 12, 2006 4:05 pm

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#2 Post by timkb4cq »

I've removed this upgrade from the MX-15 repo so the error will disappear as the mirrors update.
It was apparently only meant for the MX-17 branch.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#3 Post by Stevo »

I wonder if it's possible to do some fiddling with alternative dependencies so it only needs that on the MX 17 platform. Some Debian packages can generate dependencies on the fly during the build depending on the distro release, openjdk packages for example, but that takes a pretty complicated setup in the rules file.

User avatar
Adrian
Developer
Posts: 8248
Joined: Wed Jul 12, 2006 1:42 am

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#4 Post by Adrian »

Stevo wrote: Wed Oct 17, 2018 3:53 pm I wonder if it's possible to do some fiddling with alternative dependencies so it only needs that on the MX 17 platform. Some Debian packages can generate dependencies on the fly during the build depending on the distro release, openjdk packages for example, but that takes a pretty complicated setup in the rules file.
I don't remember why do we even use this: xdg-desktop-portal-gtk (and if it's not a needed dependency how come the app works just fine on Jessie without it?)

User avatar
timkb4cq
Developer
Posts: 3186
Joined: Wed Jul 12, 2006 4:05 pm

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#5 Post by timkb4cq »

Getting proper file choosers in MX-17 on some flatpaks requires xdg-desktop-portal-gtk. It was handled differently in the older flatpak branch in Jessie before xdg-desktop-portal-gtk was developed.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
dolphin_oracle
Developer
Posts: 19923
Joined: Sun Dec 16, 2007 1:17 pm

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#6 Post by dolphin_oracle »

timkb4cq wrote: Wed Oct 17, 2018 4:22 pm Getting proper file choosers in MX-17 on some flatpaks requires xdg-desktop-portal-gtk. It was handled differently in the older flatpak branch in Jessie before xdg-desktop-portal-gtk was developed.
in many cases you don't get getting file choosers at all with out it. both abiword and kdenlive do not with the xdg-desktop-portal-gtk installed.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Adrian
Developer
Posts: 8248
Joined: Wed Jul 12, 2006 1:42 am

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#7 Post by Adrian »

Should we push that as a recommended package instead of a dependency, this way we could build for both Jessie and Stretch?

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#8 Post by Stevo »

I'm pretty sure that it can be handled with alternative depends based on the flatpak version. Let me take a look at the debian folder.

In any case, building different versions for MX 15, MX 17, or even a Buster base becomes really easy with a pbuilder setup...

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: mx-packageinstaller (MX15/16) unmet dependency -- xdg-desktop-portal-gtk

#9 Post by Stevo »

Just add this to the Depends:

Code: Select all

flatpack (<< 1.0) | xdg-desktop-portal-gtk
Keep the flatpak dependency earlier in the list. This way, the xdg package only gets installed if flatpak is 1.0 or greater, which I'm guessing is the version where some packages started needing it.

Post Reply

Return to “Bugs and Non-Package Requests Forum”