Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174261
| From | Axel Beckert <abe@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: [Aptitude-devel] aptitude ~A question |
| Date | 2016-11-07 00:30 +0100 |
| Message-ID | <sAF2V-3sb-3@gated-at.bofh.it> (permalink) |
| References | <sztdv-6nD-15@gated-at.bofh.it> <sztdv-6nD-13@gated-at.bofh.it> <sAq3T-2rB-1@gated-at.bofh.it> |
| Organization | The Debian Project |
Hi Steve, Steve wrote: > Thank you for your explanation, I understand a bit better the logic. But > there is still something that doesn't quite match. Please consider the > following. [...] > a= aptitude search ~A[$a]~i | wc -l dpkg -l | grep ^ii | wc -l > trusty 16 > jessie$ 0 > jessie-backports 248 > stable 3243 > TOTAL 3507 3349 > now 3349 3349 > > > so 3507 ≠ 3349. Both figures should be equal as I understand. Nope. There are packages where one version is in stable and another version is in jessie-backports. Those are likely counted twice if any version is installed, i.e. there are likely about 158 packages which are either installed from backports and which are also available in stable or vice versa. Background is that even if you use ~A and ~i the same search term, they don't necessarily match the same version of the package if multiple versions of a package are available. I don't know all the details by mind as I rather seldom run into issues where this is relevant, but the details are explained on https://aptitude.alioth.debian.org/doc/en/ch02s04s03.html Please also see the patterns ?all-versions(), ?any-version(), ?narrow() and ?widen() on https://aptitude.alioth.debian.org/doc/en/ch02s04s05.html HTH. Regards, Axel -- ,''`. | Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [Aptitude-devel] aptitude ~A question Axel Beckert <abe@debian.org> - 2016-11-03 17:40 +0100
Re: [Aptitude-devel] aptitude ~A question Axel Beckert <abe@debian.org> - 2016-11-03 18:10 +0100
Re: [Aptitude-devel] aptitude ~A question Steve <dlist@bluewin.ch> - 2016-11-06 08:30 +0100
Re: [Aptitude-devel] aptitude ~A question Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-06 10:50 +0100
Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-06 20:50 +0100
Re: [Aptitude-devel] aptitude ~A question Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-07 09:10 +0100
Re: [Aptitude-devel] aptitude ~A question David Wright <deblis@lionunicorn.co.uk> - 2016-11-06 14:20 +0100
Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-06 21:00 +0100
Re: [Aptitude-devel] aptitude ~A question David Wright <deblis@lionunicorn.co.uk> - 2016-11-07 02:40 +0100
Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-14 14:10 +0100
Re: [Aptitude-devel] aptitude ~A question David Wright <deblis@lionunicorn.co.uk> - 2016-11-14 19:50 +0100
Re: [Aptitude-devel] aptitude ~A question Axel Beckert <abe@debian.org> - 2016-11-07 00:30 +0100
Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-14 14:20 +0100
RE:Package Ikeysis Walker <ikeysiswalker3@gmail.com> - 2016-11-07 01:10 +0100
csiph-web