3 Commits

Author SHA1 Message Date
Michael Vogt
38078ae775 data: tweak apt integration config var
Thanks for Julian for suggesting this.
2022-10-12 11:25:15 +02:00
John R. Lenton
78ff8c11cf data/apt: close stderr when calling snap in the apt install hook. 2018-10-25 00:06:45 +01:00
Michael Vogt
012d51b724 snap: add support for snap advise-snap --from-apt
This adds support for interacting with the new apt 1.6+ hooks.

It implements the `org.debian.apt.hooks.install.fail` hook and
will suggest a snap if there is one available with the given
name.

E.g.:
```
Reading package lists... Done
Building dependency tree
Reading state information... Done

No apt package "aws-cli", but there is a snap with that name.
Try "snap install aws-cli"

E: Unable to locate package aws-cli
```
2018-05-02 08:42:50 +02:00