[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is running dpkg-buildpackage manually from the command line forbidden?



(Disclaimer: This is a xkcd:386-like response to this subthread)

> Here's the current list of these packages on my system:
> 
>   $ aptitude -F '%p' search '~prequired !~E'

The list omits 'apt' as a libapt internally flags it as essential to
grant it the utmost protection by all clients along with its (due to
that) pseudo-essential dependencies both in terms of user actions as
well as (re)solver and installation ordering algorithms.

So, to see the "real" list, you need something like:
$ aptitude -F '%p' search '~prequired !~E' -o pkgCacheGen::ForceEssential=',' -o Dir::Cache=/dev/null

(The second -o is needed to prevent libapt from using its binary caches
and forces it to reparse everything in memory; the first -o is the knob
defaulting to 'apt' if unset. And yes, it is really ',' and you probably
don't want to know why and just accept it as meaning empty list)


Now, suggesting that apt is not an integral part of a Debian system and
could henceforth be removed is of course heresy! The only thing saving
you vile heretics is apts heavy involvement in the creation of these
chroots.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: