pulling ubuntu packages fails when dependencies on virtual packages exist

Bug #1497582 reported by Oliver Grawert
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Unassigned

Bug Description

trying to use the spamassassin package from the ubuntu archive in my snappy project snapcraft fails with:

root@aleph2:/imap-server# snapcraft stage
Pulling imap-server
The Ubuntu package 'perlapi-5.20.2' was not found
Failed doing pull for imap-server!

perlapi-5.20.2 is a virtual package provided by perl-base, i assume all plain perl packages depend on it and will be uninstallable in the same way.

root@aleph2:/imap-server# cat snapcraft.yaml
name: imap-server
version: 0.1
vendor: Oliver Grawert <email address hidden>
summary: IMAP server
description: An IMAP server using dovercot, postfix, spamassassin and postfix
icon: icon.png
parts:
  imap-server:
    type: copy
    files:
      foo: "./"
    stage-packages:
      - postfix
      - dovecot-imapd
      - procmail
      - spamassassin

dropping the last line from the file everything is pulled into the stage directory just fine.

Tags: first-steps

Related branches

Revision history for this message
Daniel Holbach (dholbach) wrote :

Could this be the same as bug 1495525?

Revision history for this message
Daniel Holbach (dholbach) wrote :

Looks like it.

tags: added: first-steps
Changed in snapcraft:
status: New → In Progress
assignee: nobody → Daniel Holbach (dholbach)
Changed in snapcraft:
assignee: Daniel Holbach (dholbach) → nobody
status: In Progress → Fix Committed
Michael Vogt (mvo)
Changed in snapcraft:
milestone: none → 0.2
Changed in snapcraft:
importance: Undecided → High
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.