snap creation lsb_release problem

Asked by Vincent Vandyck on 2018-02-26


I wanted to use Launchpad's snap capability to create a ROS snap but am running into a problem.
I followed the official tutorial to package the ROS example project as a snap (which works locally) and then uploaded it to launchpad.

When I try to build it on launchpad, it completes most of the way until it enters the catkin_make process and tries to execute Here it throws the error:
File "/build/publisher-subscriber/parts/workspace/install/usr/lib/python3/dist-packages/", line 32, in get_distro_info
    csvfile = open('/usr/share/distro-info/%s.csv' % origin.lower())
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/debian.csv'

Does anyone know what could be causing this? I don't know what the launchpad snap servers look like to fully understand if I could work around this problem or if it is a problem on Launchpad's end. I have created a pastebin of the whole build log in case it could be helpful:

Thank you

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Last query:
Last reply:
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.