Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

securedrop-export has uninstallable dependencies #343

Closed
2 tasks done
cfm opened this issue Jun 16, 2022 · 2 comments · Fixed by #344
Closed
2 tasks done

securedrop-export has uninstallable dependencies #343

cfm opened this issue Jun 16, 2022 · 2 comments · Fixed by #344
Assignees
Labels
bug Something isn't working qubes-4.1

Comments

@cfm
Copy link
Member

cfm commented Jun 16, 2022

securedrop-export_0.2.6-dev-20220616-061827+bullseye_all.deb is uninstallable because of unmet dependencies from:

https://github.com/freedomofpress/securedrop-debian-packaging/blob/b5cc86535fd3f678edce03fa0214e25d085f7632/securedrop-export/debian/control#L13

user@sd-large-bullseye-template:~$ sudo apt install securedrop-export
Reading package lists... Done
Building dependency tree... Done
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:
 securedrop-export : Depends: task-print-server but it is not installable
                     Depends: xpp but it is not installable
E: Unable to correct problems, you have held broken packages.

Blocks freedomofpress/securedrop-workstation#784.

@cfm cfm added bug Something isn't working qubes-4.1 labels Jun 16, 2022
@cfm cfm self-assigned this Jun 16, 2022
@cfm
Copy link
Member Author

cfm commented Jun 16, 2022

After initial research, my understanding is that, while both task-print-server and xpp have been removed from Debian stable as of bullseye:

  1. task-print-server we can remove entirely, since we have explicit Depends for both cups and system-config-printer, which should be able to take advantage of bullseye's "driverless" printing via ipp-usb; whereas
  2. xpp we'll have to test and host ourselves, as we now do for paxctld, because it's explicitly invoked by securedrop-export.

I'll prepare pull requests based on this interpretation, but I'd appreciate confirmation from @creviera and @legoktm about (respectively) the Client- and Debian-specific points here.

cfm added a commit to freedomofpress/securedrop-apt-test that referenced this issue Jun 16, 2022
Towards freedomofpress/securedrop-builder#343.  xpp has been
removed[1] from Debian stable, but we still invoke it directly in
securedrop-export.  Until we replace xpp entirely (see
freedomofpress/securedrop-workstation#564), we'll need to provide
buster's xpp for bullseye.  We can do that by committing buster's last
".deb" directly, rather than mirroring it, since we know it won't be
updated in the future.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964481
@sssoleileraaa
Copy link
Contributor

@cfm your plan looks good to me!

cfm added a commit that referenced this issue Jun 16, 2022
Towards #343.  task-print-server is no longer available in bullseye.  We
retain explicit "Depends" specifications for cups and
system-config-printer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working qubes-4.1
Projects
None yet
2 participants