Why --no-install-recommends may not be good

Here you can discuss every aspect of Debian. Note: not for support requests!

Why --no-install-recommends may not be good

Postby ueltume » 2011-04-03 02:46

I tried an install with --no-install-recommends and one without it. Let me tell you, with --no-install-recommends my openoffice.org icons did not show, my windows partition in pcmanfm did not show, the trash function did not function well and other minor things. But WITHOUT using --no-install-recommends everything works perfectly. The openoffice.org icons are visible, my windows partition is displayed in the sidebar of pcmanfm, the trash works like it should and all my small issues are fixed. Besides, saving the "extra space" with --no-install-recommends is not worth it because the applications do not even take that much space.
Motheroard: G41M-ES2L w/ 2.60 Ghz 2-core proc., 2 GB RAM, & 1 GB Vid RAM
Debian 6 STABLE w/: slim lxde-core libdvdnav4&read4 gstreamerbad&ugly reportbug-ng chromium gecko-mediaplayer p7zip transmission epdfview openoffice bleachbit claws-mail
User avatar
ueltume
 
Posts: 98
Joined: 2011-03-29 03:36

Re: Why --no-install-recommends may not be good

Postby kevin01123 » 2011-04-03 02:53

I learned long ago that convenience > disk space used.
User avatar
kevin01123
 
Posts: 97
Joined: 2009-05-18 02:19

Re: Why --no-install-recommends may not be good

Postby ueltume » 2011-04-03 02:57

Thank you for phrasing this in a consice sentence.
Motheroard: G41M-ES2L w/ 2.60 Ghz 2-core proc., 2 GB RAM, & 1 GB Vid RAM
Debian 6 STABLE w/: slim lxde-core libdvdnav4&read4 gstreamerbad&ugly reportbug-ng chromium gecko-mediaplayer p7zip transmission epdfview openoffice bleachbit claws-mail
User avatar
ueltume
 
Posts: 98
Joined: 2011-03-29 03:36

Re: Why --no-install-recommends may not be good

Postby dark_stang » 2011-04-03 03:06

Storage space is super cheap these days anyway. I picked up a 1TB WD Black drive a few months back for $60, that's $0.06/GB... So all that extra software will only cost you a few pennies.
if (You_Dont_Care_Enough_To_Reasearch_Your_Own_Problems)
return "Why would I?";
else
return Helpful_Response;
User avatar
dark_stang
 
Posts: 243
Joined: 2008-08-21 05:31
Location: St. Louis, MO, USA

Re: Why --no-install-recommends may not be good

Postby kevin01123 » 2011-04-03 03:10

Not to mention all that time wasted trying to figure out what the hell package(s) to install to get full functionality.
User avatar
kevin01123
 
Posts: 97
Joined: 2009-05-18 02:19

Re: Why --no-install-recommends may not be good

Postby secipolla » 2011-04-03 11:00

I use no-install-recommends with specific packages.
Like for instance I have installed gdm3 like that because I have Xfce and don't want some extra apps that it brings as recommends and that aint fundamental.
It's useful if you know what's going on.

So two reasons among others could be uncluttering the menu or for old rigs prevent installation and activation of uneeded services.
Also what's convenience for some (regarding extra features) in inconvenience for others.
secipolla
 
Posts: 1127
Joined: 2010-06-21 14:20

Re: Why --no-install-recommends may not be good

Postby emariz » 2011-04-03 11:43

Had you cared to read the information about the packages that were not going to be installed, you wouldn't be whining now.
Read the package's description and online documentation, understand the dependency chain and learn how to use the package manager. Then try again.
emariz
 
Posts: 2904
Joined: 2008-10-17 07:59

Re: Why --no-install-recommends may not be good

Postby kevin01123 » 2011-04-03 14:49

emariz wrote:Had you cared to read the information about the packages that were not going to be installed, you wouldn't be whining now.
Read the package's description and online documentation, understand the dependency chain and learn how to use the package manager. Then try again.

While it may or may not be true that he did that, condescending to him/her does little to inspire an individual.
User avatar
kevin01123
 
Posts: 97
Joined: 2009-05-18 02:19

Re: Why --no-install-recommends may not be good

Postby dust hill resident » 2011-04-03 18:26

A condescending person is worse than a whining person any day.

I think what secipolla is sensible. --no-install-recommends is good when used on specific packages rather than everything you install.
User avatar
dust hill resident
 
Posts: 238
Joined: 2007-05-18 13:31

Re: Why --no-install-recommends may not be good

Postby secipolla » 2011-04-03 19:03

Also one can choose which recommended package to (not) install.
Suppose package foo has, among others, bar as a dependency and we don't want it to be installed. Just append a minus sign after bar.
Code: Select all
apt-get install foo bar-
secipolla
 
Posts: 1127
Joined: 2010-06-21 14:20

Re: Why --no-install-recommends may not be good

Postby kevin01123 » 2011-04-03 23:58

secipolla wrote:Also one can choose which recommended package to (not) install.
Suppose package foo has, among others, bar as a dependency and we don't want it to be installed. Just append a minus sign after bar.
Code: Select all
apt-get install foo bar-

I didn't know this, thank you.
User avatar
kevin01123
 
Posts: 97
Joined: 2009-05-18 02:19

Re: Why --no-install-recommends may not be good

Postby craigevil » 2011-04-04 02:22

bahhumbug.

The first thing I do after a base install is edit my apt.conf or I should say create a new apt.conf
Code: Select all
$ cat /etc/apt/apt.conf

// 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";

// Remove apt unauthenticated warnings
APT::Get::AllowUnauthenticated "0";


Seven years of running sid and never had any issues caused by packages not being installed. I do however take a look at the Recommended or Suggested packages when doing an install and sometimes install them.

Not everyone has the money for tons of drive space. I am currently using a THinkpad R40 that only has a 16gb HD, once I copy a few of my books to the drive and install all of the things I need I only have 5GB free.
Code: Select all
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/debian-root
                       16G  9.2G  5.1G  65% /
tmpfs                 632M  8.0K  632M   1% /lib/init/rw
udev                  627M  216K  627M   1% /dev
tmpfs                 632M  572K  632M   1% /dev/shm
/dev/sda1             228M   35M  181M  17% /boot
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: Why --no-install-recommends may not be good

Postby sjukfan » 2011-04-04 04:12

Depends on the box really, even if I usually turn off recommends. But as with craigevil's laptop there's some occasions where you don't want extra everything. One of my computers is running off a 6Gb microdrive and there you don't want anything unnecessary.
Buster amd64, Core 2 Quad Q9550
Stretch amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX
User avatar
sjukfan
 
Posts: 375
Joined: 2010-03-01 19:39

Re: Why --no-install-recommends may not be good

Postby nadir » 2011-06-05 06:39

What kind of nonsense is that?
Sometimes one might want recommends, sometimes not. Just cause OpenOffice sucks without the recommends does ot mean that --no-install-recommends is bad in general.

And honestly: that barely is a serious issue. Just install the recommends after you figure out that the first try did not work and go on with it. You make it sound as if the world has fallen into pieces.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: Why --no-install-recommends may not be good

Postby Mr James » 2011-06-05 09:33

Unless one is on a PC from the dark ages with a tiny HDD, I see no reason to use --without-recommends
E8400 P5QL 4GB 9600GT 1TB 23" 1920x1080 Debian/Wheezy dwm i386*
* found myself pulling in truckloads of multiarch packages, so...
User avatar
Mr James
 
Posts: 1249
Joined: 2010-09-10 13:02

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable