colcon / colcon-bundle

A colcon extension to create portable application bundles
Apache License 2.0
38 stars 24 forks source link

Debian files from local apt cache are not properly installed #229

Open murphm8 opened 3 years ago

murphm8 commented 3 years ago

When using a local (on-disk) apt repository of .deb files the files that need to be installed are not copied into the apt cache that the bundle command uses.

https://github.com/colcon/colcon-bundle/blob/fb87b48286bf9355f77b8f6b9e37545e4bbeb310/colcon_bundle/installer/apt.py#L271

Per this code we just glob out the apt cache and install all those files. The files from the local apt repo are then not installed. We need to identify how to get the path to the local Debian file from apt, and install it.