Brian, the hack doesn't seem workable. Touching channel.ini would then flag all images as being supported, which isn't true. It's unclear what knock-on effects we would have touching this file (i.e. what other tools see it and take different code-paths). The existence of the file indicates that the image is a read-only system image, this is untrue for minimal.
I would still like to see this resolved, even if that is just an improvement in the error message suggesting 'apt-get update' and retrying.
Hack details:
* packaging-apt-dpkg.py, is_distro_package(): If there is no origin and
/etc/system-image/channel.ini exists, assume the package is from a
read-only system image and accept it as distro package. With this we don't
need /var/lib/apt/lists/ indexes any more just to confirm the origin.
(LP: #1489410)
Brian, the hack doesn't seem workable. Touching channel.ini would then flag all images as being supported, which isn't true. It's unclear what knock-on effects we would have touching this file (i.e. what other tools see it and take different code-paths). The existence of the file indicates that the image is a read-only system image, this is untrue for minimal.
I would still like to see this resolved, even if that is just an improvement in the error message suggesting 'apt-get update' and retrying.
Hack details: apt-dpkg. py, is_distro_ package( ): If there is no origin and system- image/channel. ini exists, assume the package is from a
* packaging-
/etc/
read-only system image and accept it as distro package. With this we don't
need /var/lib/apt/lists/ indexes any more just to confirm the origin.
(LP: #1489410)