Bug#810294: debi: use apt to install packages if it is new enough
Julian Andres Klode
jak at debian.org
Thu Sep 28 11:51:52 UTC 2017
On Fri, Jan 08, 2016 at 10:11:59AM +0800, Paul Wise wrote:
> Package: devscripts
> Version: 2.15.9
> Severity: wishlist
> File: /usr/bin/debi
> User: devscripts at packages.debian.org
> Usertags: debi
> X-Debbugs-CC: apt at packages.debian.org
>
> Please make debi use apt to install packages if apt is new enough
> (apt 1.1~exp2 or later) to support directly installing .deb files.
>
> This will reduce confusion from people who don't know they have to
> run apt-get -f install after running dpkg -i foo.deb
>
> I would only do it with new enough versions of apt to ease backports.
>
> There probably needs to be an option to switch back to dpkg -i too.
APT in stable now has support for directly installing .deb, .changes,
and build-deps for directories and .dsc files. So, debi --with-depends
can now just become a wrapper that only finds the changes files and
then calls:
apt-get install <.changes file>
apt-get install --only-upgrade <.changes file> (if --upgrade)
The path given to apt needs to be either absolute or start with
../ or ./ to prevent overlap with package names.
--
Debian Developer - deb.li/jak | jak-linux.org - free software dev
| Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline'). Thank you.
More information about the devscripts-devel
mailing list