Re: [DNG] nmap in Debian Wheezy
On Sun, 27 Dec 2015 11:31:16 -0300 Emiliano Mariniwrote: > For example, "apt-cache show nmap" gives no info about suggests and/or > recommend. But "apt-cache show ntop" gives info about depends and > suggests. Hallo Emiliano, my nmap here (Debian Wheezy) does not have any /direct/ recommends or suggests. So apt-rdepends returns only those for nmap's dependencies, each listed directly below the package it belongs to. Regards, Florian ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
Not for every package. For example, "apt-cache show nmap" gives no info about suggests and/or recommend. But "apt-cache show ntop" gives info about depends and suggests. Cheers, Emiliano. On Thu, Dec 24, 2015 at 2:20 AM, Simon Wisewrote: > On 24/12/15 10:36, Emiliano Marini wrote: > >> Yeah, I checked that manpage, but apt-cache shows no info about >> recommended >> and suggested packages, only dependencies (at least in wheezy) >> > > apt-cache show package > > gives info, including recommended. > > > Simon > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
On Wed, 23 Dec 2015 08:14:44 -0300 Emiliano Mariniwrote: > Is there any way to list recommended packages for a given package? Hello Emiliano, # apt-rdepends -s Recommends -s Suggests will return a list of all dependencies, recommends and suggests of the selected package (recursive: with all their respective dependencies, recommends and suggests as well). Of course you can use the command with only one "-s" to show only the recommended resp. suggested packages (or without to get only the recursive dependency list). As I have recommends and suggests disabled in my apt preferences, for packages I am going to install I just run # apt-get install and cancel the operation to append any useful recommended or suggested packages I find listed in the output. Alternatively you can use the "-s" or "--simulate" option to do an apt-get "dry-run". I believe apt-get won't list already installed recommends / suggests. Regards, Florian ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
Thank you Florian, I didn't know that tool: apt-rdepends - Recursively lists package dependencies I will try it. Cheers, Emiliano. On Wed, Dec 23, 2015 at 10:48 AM, Florian Ziebollwrote: > On Wed, 23 Dec 2015 08:14:44 -0300 > Emiliano Marini wrote: > > > Is there any way to list recommended packages for a given package? > > Hello Emiliano, > > # apt-rdepends -s Recommends -s Suggests > > will return a list of all dependencies, recommends and suggests of the > selected package (recursive: with all their respective dependencies, > recommends and suggests as well). Of course you can use the command > with only one "-s" to show only the recommended resp. suggested > packages (or without to get only the recursive dependency list). > > As I have recommends and suggests disabled in my apt preferences, for > packages I am going to install I just run > > # apt-get install > > and cancel the operation to append any useful recommended or suggested > packages I find listed in the output. Alternatively you can use the > "-s" or "--simulate" option to do an apt-get "dry-run". I believe > apt-get won't list already installed recommends / suggests. > > Regards, > > Florian > > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
On 24/12/15 02:12, Emiliano Marini wrote: Thank you Florian, I didn't know that tool: apt-rdepends - Recursively lists package dependencies I will try it. apt-cache does lots of information stuff including depends, rdepends (which is reverse depends), show (which gives description, suggests, recommends, version ...), showpkg (which is a summary), search, check outman apt-cache Simon ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
On 24/12/15 10:36, Emiliano Marini wrote: Yeah, I checked that manpage, but apt-cache shows no info about recommended and suggested packages, only dependencies (at least in wheezy) apt-cache show package gives info, including recommended. Simon ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
Is there any way to list recommended packages for a given package? I mean, when you run "apt-cache depends" it list a package's dependencies. For example: # LANG=C apt-cache depends nmap nmap Depends: libc6 Depends: libgcc1 Depends: liblua5.1-0 Depends: libpcap0.8 Depends: libpcre3 Depends: libssl0.9.8 Depends: libstdc++6 Conflicts: Replaces: nmap But how can I list recommended/suggested packages? I tried adding this in /etc/apt/apt.conf without results: APT::Cache::ShowRecommends "true"; Cheers, Emiliano. On Wed, Dec 23, 2015 at 5:17 AM, Simon Wisewrote: > On 23/12/15 02:19, Emiliano Marini wrote: > >> Wow thanks man! >> >> # apt-get install --no-install-recommends nmap >> > > That can be set in apt's config files, in /etc/apt. It really helps > maintaining a system .. you can look at the recommends listed and install > the ones you want. > > I've kept my old sidux/aptosid setup ... this from /etc/apt/apt.conf.d/ > > // apt defaults for aptosid > // apt 0.7 introduces automatic behaviour unsuitable for sid, revert this > > // auto-remove breaks on meta packages > APT::Get::AutomaticRemove "0"; > APT::Get::HideAutoRemove "1"; > > // Recommends are as of now still abused in many packages > APT::Install-Recommends "0"; > APT::Install-Suggests "0"; > Debug::pkgAutoRemove "0"; > > // PDiffs reduce the required download for apt-get update, but increase the > // CPU requirements and quite often fail. > // Acquire::PDiffs "0"; > > > > > documentation seems lacking, but example files are a great fallback as > long as programs use plain-text ones. > > Simon > > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
On 23/12/15 02:19, Emiliano Marini wrote: Wow thanks man! # apt-get install --no-install-recommends nmap That can be set in apt's config files, in /etc/apt. It really helps maintaining a system .. you can look at the recommends listed and install the ones you want. I've kept my old sidux/aptosid setup ... this from /etc/apt/apt.conf.d/ // apt defaults for aptosid // apt 0.7 introduces automatic behaviour unsuitable for sid, revert this // auto-remove breaks on meta packages APT::Get::AutomaticRemove "0"; APT::Get::HideAutoRemove "1"; // Recommends are as of now still abused in many packages APT::Install-Recommends "0"; APT::Install-Suggests "0"; Debug::pkgAutoRemove "0"; // PDiffs reduce the required download for apt-get update, but increase the // CPU requirements and quite often fail. // Acquire::PDiffs "0"; documentation seems lacking, but example files are a great fallback as long as programs use plain-text ones. Simon ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
Wow thanks man! # apt-get install --no-install-recommends nmap Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libblas3 libblas3gf libgfortran3 liblinear1 liblua5.1-0 Suggested packages: liblinear-dev Recommended packages: liblinear-tools The following NEW packages will be installed: libblas3 libblas3gf libgfortran3 liblinear1 liblua5.1-0 nmap 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 4,584 kB of archives. After this operation, 17.8 MB of additional disk space will be used. On Tue, Dec 22, 2015 at 12:14 PM, fsmithredwrote: > On 12/22/2015 06:54 AM, Emiliano Marini wrote: > > I wanted to install nmap in one of my systems for testing purposes, and > > when I run "apt-get install namp" it tries to pull 73 dependencies WTF? > > > > Here's what my wheezy says: > apt-cache depends nmap > nmap > Depends: libc6 > Depends: libgcc1 > Depends: liblinear1 > Depends: liblua5.1-0 > Depends: libpcap0.8 > Depends: libpcre3 > Depends: libssl1.0.0 > Depends: libstdc++6 > Depends: python > Conflicts: > Conflicts: > Replaces: > nmap > Replaces: > nmap:i386 > Conflicts: nmap:i38 > > nmap is already installed here, so I can't check to see what would get > pulled in with it. Try it with --no-install-recommends and see if that's > any better. > > -fsr > > > > > # apt-get install nmap > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > The following extra packages will be installed: > > fonts-droid fonts-liberation ghostscript gnuplot gnuplot-nox groff > > gsfonts hicolor-icon-theme > > imagemagick imagemagick-common libblas3 libblas3gf libcairo2 > > libcupsimage2 libdatrie1 libdjvulibre-text > > libdjvulibre21 libexiv2-12 libgd2-noxpm libgdk-pixbuf2.0-0 > > libgdk-pixbuf2.0-common libgfortran3 libgs9 > > libgs9-common libice6 libijs-0.35 libilmbase6 libjasper1 libjbig0 > > libjbig2dec0 libjpeg8 liblcms1 > > liblcms2-2 liblensfun-data liblensfun0 liblinear-tools liblinear1 > > liblqr-1-0 liblua5.1-0 libmagickcore5 > > libmagickcore5-extra libmagickwand5 libnetpbm10 libopenexr6 > libpango1.0-0 > > libpixman-1-0 librsvg2-2 > > librsvg2-common libsm6 libsvm-tools libthai-data libthai0 libtiff4 > > libwmf0.2-7 libx11-6 libx11-data > > libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 > > libxft2 libxmu6 libxpm4 > > libxrender1 libxt6 netpbm poppler-data ufraw-batch x11-common > > Suggested packages: > > ghostscript-cups ghostscript-x hpijs gnuplot-doc imagemagick-doc > > autotrace cups-bsd lpr lprng curl > > enscript ffmpeg gimp grads hp2xx html2ps libwmf-bin mplayer povray > > radiance sane-utils texlive-base-bin > > transfig xdg-utils exiv2 libgd-tools libjasper-runtime liblcms-utils > > liblcms2-utils liblinear-dev > > ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp > > ttf-arphic-bkai00mp > > librsvg2-bin poppler-utils fonts-japanese-mincho fonts-ipafont-mincho > > fonts-japanese-gothic > > fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming > > fonts-unfonts-core ufraw > > > > I don't remember it had so many dependencies before. > > > > Anyone knows if it's nmap's fault or it's something related to Debian? > > > > Cheers, > > Emiliano. > > > > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
On 12/22/2015 06:54 AM, Emiliano Marini wrote: > I wanted to install nmap in one of my systems for testing purposes, and > when I run "apt-get install namp" it tries to pull 73 dependencies WTF? > Here's what my wheezy says: apt-cache depends nmap nmap Depends: libc6 Depends: libgcc1 Depends: liblinear1 Depends: liblua5.1-0 Depends: libpcap0.8 Depends: libpcre3 Depends: libssl1.0.0 Depends: libstdc++6 Depends: python Conflicts: Conflicts: Replaces: nmap Replaces: nmap:i386 Conflicts: nmap:i38 nmap is already installed here, so I can't check to see what would get pulled in with it. Try it with --no-install-recommends and see if that's any better. -fsr > # apt-get install nmap > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following extra packages will be installed: > fonts-droid fonts-liberation ghostscript gnuplot gnuplot-nox groff > gsfonts hicolor-icon-theme > imagemagick imagemagick-common libblas3 libblas3gf libcairo2 > libcupsimage2 libdatrie1 libdjvulibre-text > libdjvulibre21 libexiv2-12 libgd2-noxpm libgdk-pixbuf2.0-0 > libgdk-pixbuf2.0-common libgfortran3 libgs9 > libgs9-common libice6 libijs-0.35 libilmbase6 libjasper1 libjbig0 > libjbig2dec0 libjpeg8 liblcms1 > liblcms2-2 liblensfun-data liblensfun0 liblinear-tools liblinear1 > liblqr-1-0 liblua5.1-0 libmagickcore5 > libmagickcore5-extra libmagickwand5 libnetpbm10 libopenexr6 libpango1.0-0 > libpixman-1-0 librsvg2-2 > librsvg2-common libsm6 libsvm-tools libthai-data libthai0 libtiff4 > libwmf0.2-7 libx11-6 libx11-data > libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 > libxft2 libxmu6 libxpm4 > libxrender1 libxt6 netpbm poppler-data ufraw-batch x11-common > Suggested packages: > ghostscript-cups ghostscript-x hpijs gnuplot-doc imagemagick-doc > autotrace cups-bsd lpr lprng curl > enscript ffmpeg gimp grads hp2xx html2ps libwmf-bin mplayer povray > radiance sane-utils texlive-base-bin > transfig xdg-utils exiv2 libgd-tools libjasper-runtime liblcms-utils > liblcms2-utils liblinear-dev > ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp > ttf-arphic-bkai00mp > librsvg2-bin poppler-utils fonts-japanese-mincho fonts-ipafont-mincho > fonts-japanese-gothic > fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming > fonts-unfonts-core ufraw > > I don't remember it had so many dependencies before. > > Anyone knows if it's nmap's fault or it's something related to Debian? > > Cheers, > Emiliano. > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
Sorry, I forgot to mention that this system runs Wheezy. On Tue, Dec 22, 2015 at 8:54 AM, Emiliano Mariniwrote: > I wanted to install nmap in one of my systems for testing purposes, and > when I run "apt-get install namp" it tries to pull 73 dependencies WTF? > > # apt-get install nmap > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following extra packages will be installed: > fonts-droid fonts-liberation ghostscript gnuplot gnuplot-nox groff > gsfonts hicolor-icon-theme > imagemagick imagemagick-common libblas3 libblas3gf libcairo2 > libcupsimage2 libdatrie1 libdjvulibre-text > libdjvulibre21 libexiv2-12 libgd2-noxpm libgdk-pixbuf2.0-0 > libgdk-pixbuf2.0-common libgfortran3 libgs9 > libgs9-common libice6 libijs-0.35 libilmbase6 libjasper1 libjbig0 > libjbig2dec0 libjpeg8 liblcms1 > liblcms2-2 liblensfun-data liblensfun0 liblinear-tools liblinear1 > liblqr-1-0 liblua5.1-0 libmagickcore5 > libmagickcore5-extra libmagickwand5 libnetpbm10 libopenexr6 > libpango1.0-0 libpixman-1-0 librsvg2-2 > librsvg2-common libsm6 libsvm-tools libthai-data libthai0 libtiff4 > libwmf0.2-7 libx11-6 libx11-data > libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 > libxft2 libxmu6 libxpm4 > libxrender1 libxt6 netpbm poppler-data ufraw-batch x11-common > Suggested packages: > ghostscript-cups ghostscript-x hpijs gnuplot-doc imagemagick-doc > autotrace cups-bsd lpr lprng curl > enscript ffmpeg gimp grads hp2xx html2ps libwmf-bin mplayer povray > radiance sane-utils texlive-base-bin > transfig xdg-utils exiv2 libgd-tools libjasper-runtime liblcms-utils > liblcms2-utils liblinear-dev > ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp > ttf-arphic-bkai00mp > librsvg2-bin poppler-utils fonts-japanese-mincho fonts-ipafont-mincho > fonts-japanese-gothic > fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming > fonts-unfonts-core ufraw > > I don't remember it had so many dependencies before. > > Anyone knows if it's nmap's fault or it's something related to Debian? > > Cheers, > Emiliano. > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
Yeah, maybe. I can't understand why it wants to install things like libcupsimage2, gnuplot, imagemagick... It's a freaking network tool! On Tue, Dec 22, 2015 at 11:25 AM, Arnt Karlsenwrote: > On Tue, 22 Dec 2015 09:01:55 -0300, Emiliano wrote in message > : > > > Sorry, I forgot to mention that this system runs Wheezy. > > ..is Squeeze the last known good Debian? > > -- > ..med vennlig hilsen = with Kind Regards from Arnt Karlsen > ...with a number of polar bear hunters in his ancestry... > Scenarios always come in sets of three: > best case, worst case, and just in case. > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
On Tue, 22 Dec 2015 09:01:55 -0300, Emiliano wrote in message: > Sorry, I forgot to mention that this system runs Wheezy. ..is Squeeze the last known good Debian? -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] nmap in Debian Wheezy
Emiliano Mariniwrites: > I wanted to install nmap in one of my systems for testing purposes, and > when I run "apt-get install namp" it tries to pull 73 dependencies WTF? > > # apt-get install nmap [...] > ufraw-batch That's certainly not something nmap depends on in Wheezy. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng