How to set arch for stage-packages?

Andrey Rogovsky a.rogovsky at gmail.com
Thu Jan 5 08:46:53 UTC 2017


Hi!
I'm try set ':' instead of : and get same error:
# snapcraft
...

Error downloading stage packages for part 'packages': no such package
"libstdc++6':'i386"

Also I got another bug. If set target arch to 32bit - snapcraft download
64bit packages instead 32bit
I thinking problem is deeper than using ':'. There is posibble to set arch
for stage-packages somewhere?


2017-01-04 19:41 GMT+02:00 Sergio Schvezov <sergio.schvezov at canonical.com>:

> El 04/01/17 a las 13:57, Andrey Rogovsky escribió:
>
> Hi!
>> I need add few i386 packages to support my 32bit binary for amd64 systems:
>> ...
>> parts:
>>   packages:
>>    plugin: nil
>>    stage-packages:
>>      - libstdc++6:i386
>> ...
>> But when I try pull - I get error:
>> # snapcraft pull
>> Skipping pull bluequest (already ran)
>> Preparing to pull packages
>> Hit http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial InRelease
>> Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102
>> kB]
>> Hit http://ua.archive.ubuntu.com/ubuntu xenial InRelease
>> Hit http://ua.archive.ubuntu.com/ubuntu xenial-updates InRelease
>> Hit http://ua.archive.ubuntu.com/ubuntu xenial-backports InRelease
>> Fetched 102 kB in 0s (0 B/s)
>> Error downloading stage packages for part 'packages': no such package
>> 'libstdc++6:i386'
>>
>> Please advice.
>>
>> P.S. I dont need build i386 package.
>>
>
> I think we are lacking a split in our python apt code to support this, a
> matter of a .split(':') and passing the arch to our cache instance, mind
> logging a bug?
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170105/027796e7/attachment.html>


More information about the Snapcraft mailing list