On mar., 2026-07-07 at 16:12 -0400, Eben King wrote:
> On 7/7/26 15:57, jean-christophe wrote:
> >
> >
> > On mar., 2026-07-07 at 14:18 -0400, Eben King wrote:
> > > I have a need to find the upgradable package with the most
> > > dependencies.
>
> ...
>
> > > It works, but is definitely not fast. Is there a faster way?
>
> > https://x0.at/FdVb.txt
> >
> > is there some faster way in /bin/sh
> >
> > me say not depencies
> >
> > could you test ?
>
> eben@cerberus:~$ apt-cache policy | grep -E '^\s*Installed:\s*(.+)$'
> 1
>
> "1" is the exit status. Maybe we have different versions of apt-get?
>
> eben@cerberus:~$ apt-get ---version
> apt 2.6.1 (amd64)
> Supported modules:
> *Ver: Standard .deb
> *Pkg: Debian dpkg interface (Priority 30)
> Pkg: Debian APT solver interface (Priority -1000)
> Pkg: Debian APT planner interface (Priority -1000)
> S.L: 'deb' Debian binary tree
> S.L: 'deb-src' Debian source tree
> Idx: Debian Source Index
> Idx: Debian Package Index
> Idx: Debian Translation Index
> Idx: Debian dpkg status file
> Idx: Debian deb file
> Idx: Debian dsc file
> Idx: Debian control file
> Idx: EDSP scenario file
> Idx: EIPP scenario file
-----------------------------------------------------------------------
jean-christophe@debian:~/Documents/codes/bash$ apt-get --version
apt 3.0.3 (amd64)
Supported modules:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
Pkg: Debian APT solver interface (Priority -1000)
Pkg: Debian APT planner interface (Priority -1000)
S.L: 'deb' Debian binary tree
S.L: 'deb-src' Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian Translation Index
Idx: Debian dpkg status file
Idx: Debian deb file
Idx: Debian dsc file
Idx: Debian control file
Idx: EDSP scenario file
Idx: EIPP scenario file
jean-christophe@debian:~/Documents/codes/bash$
i am no trixie