Re: apt-cache per cercare tutti i pacchetti che usano un dato pacchetto
On Sun, Feb 05, 2006 at 05:03:58PM +0100, Davide Prina wrote:
> Mattia Dongili ha scritto:
> >On Sun, Feb 05, 2006 at 02:35:19PM +0100, Davide Prina wrote:
>
> >>L'unica soluzione che ho trovato finora è questa:
> >>
> >>$ apt-cache --installed dumpavail | grep -B 15 myspell\-dictionary
> >
> >
> >grep-dctrl -FSuggests,Recommends,Depends -sPackage myspell
> >/var/lib/dpkg/available
>
> ottimo, non conoscevo questi tool.
> Bisognerebbe inserirli nell'help di apt-cache nella sezione "SEE ALSO".
>
> però non ritornano meno righe della soluzione casareccia che avevo
> trovato io ... o meglio in pratica apt-cache usa i file contenuti in
> /var/lib/apt/lists, infatti se faccio
>
> $ grep-dctrl -FDepends -sPackage myspell /var/lib/dpkg/available
> Package: libenchant1
> Package: libmyspell-dev
> Package: openoffice.org-core
> Package: myspell-de-at
>
> $ grep-dctrl -FDepends -sPackage myspell
> /var/lib/apt/lists/debian.fastweb.it_debian_dists_testing_main_binary-i386_Packages
> Package: hunspell
> Package: libenchant1c2a
> Package: libmyspell-dev
> Package: myspell-de-at
> Package: openoffice.org-core
>
> a cosa è dovuta questa differenza?
dai un:
dselect update
vedi un po' le opzioni --update-avail|--merge-avail di dpkg
saluti
--
mattia
:wq!
Reply to: