Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

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

Report Bugs, Issues and non- pacakage Requests
Post Reply
Message
Author
User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9358
Joined: Wed Jul 12, 2006 2:26 pm

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

#1 Post by kmathern » Wed Oct 17, 2018 10:11 am

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
Forum Veteran
Forum Veteran
Posts: 4418
Joined: Wed Jul 12, 2006 4:05 pm

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

#2 Post by timkb4cq » Wed Oct 17, 2018 11:00 am

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.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16580
Joined: Fri Dec 15, 2006 8:07 pm

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

#3 Post by Stevo » 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.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 8995
Joined: Wed Jul 12, 2006 1:42 am

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

#4 Post by Adrian » Wed Oct 17, 2018 4:13 pm

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
Forum Veteran
Forum Veteran
Posts: 4418
Joined: Wed Jul 12, 2006 4:05 pm

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

#5 Post by timkb4cq » 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.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9585
Joined: Sun Dec 16, 2007 1:17 pm

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

#6 Post by dolphin_oracle » Wed Oct 17, 2018 4:32 pm

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 T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 8995
Joined: Wed Jul 12, 2006 1:42 am

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

#7 Post by Adrian » Wed Oct 17, 2018 5:01 pm

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
Forum Veteran
Forum Veteran
Posts: 16580
Joined: Fri Dec 15, 2006 8:07 pm

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

#8 Post by Stevo » Wed Oct 17, 2018 5:12 pm

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
Forum Veteran
Forum Veteran
Posts: 16580
Joined: Fri Dec 15, 2006 8:07 pm

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

#9 Post by Stevo » Wed Oct 17, 2018 5:35 pm

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”