Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Oct 27, 2011 6:42 am 
Offline
Senior Newbie

Joined: Mon Oct 24, 2011 3:19 am
Posts: 5
Location: Helsinki, EU
Hello everyone, a new Linode user here!

I was wondering about the Debian packages. I have a new clean Debian install and aptitude gives me a list of packages it would like to download. I'm assuming these are packages recommended by other packages as I have not selected anything to be installed myself.

Generally I'd err on the side of installing recommendations, but there are few things I'm wondering about. One of the recommendations is acpi and related packages but I don't see what good these would do on a virtualised environment. Also, Linode runs 3.0 kernel, but one of the packages is linux-image 2.6.x.

So the question is more like wondering how you more experienced Debian users have put up your systems? Any good overall advice, or should I just go and look through the packages and install the ones I need...


Top
   
 Post subject:
PostPosted: Thu Oct 27, 2011 11:29 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
The packages listed in the Suggested and Recommended sections that apt-get shows are meant as 'install these for extra functionality'. These aren't required. Anything listed outside of the Suggested and Recommended sections are required dependencies for what you want to install, e.g. what you're installing depends on functionality from those packages in order to work.

What we recommend depends on what you want to do. For a web server, you would need either apache/httpd, lighttpd, or nginx to serve stuff (there are others but these are the most common). You would probably also need to install php.

_________________
Kris the Piki Geeker


Top
   
 Post subject:
PostPosted: Fri Oct 28, 2011 3:42 am 
Offline
Senior Newbie

Joined: Mon Oct 24, 2011 3:19 am
Posts: 5
Location: Helsinki, EU
Thanks. Apache and related are kind of obvious if/when I need them. I was just wondering where this set of packages that is marked for install actually came from. The only thing I installed was shorewall that does not have those dependencies. So this actually might be more of me not knowing my way around aptitude. If I look at the details of a package in aptitude, the section "Packages which depend on xyz" gives a complete list of dependencies, right?


Top
   
 Post subject:
PostPosted: Fri Oct 28, 2011 8:09 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
If it's a clean install and you didn't run aptitude upgrade or apt-get upgrade then they will be upgrades to existing software.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat Oct 29, 2011 2:40 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
vjm wrote:
Thanks. Apache and related are kind of obvious if/when I need them. I was just wondering where this set of packages that is marked for install actually came from. The only thing I installed was shorewall that does not have those dependencies. So this actually might be more of me not knowing my way around aptitude. If I look at the details of a package in aptitude, the section "Packages which depend on xyz" gives a complete list of dependencies, right?

I don't normally use aptitude, I normally use apt-cache or apt-get when I'm in Debian, but the way it's worded (Packages which depend on xyz), that looks more like it's saying, "This package is a dependency for those packages" (they use this package to get needed functionality) rather than saying "Those packages are dependencies for this package" (they provide functionality needed for this package).

_________________
Kris the Piki Geeker


Top
   
 Post subject:
PostPosted: Sat Oct 29, 2011 4:01 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Aptitude's default settings has "Install recommended packages automatically" and "Remove unused packages automatically" enabled.
That can lead to quite a ton of unnecessary stuff installed, and sometimes may remove stuff your non-packaged stuff depends on.
I recommend disabling those.
I also disable auto-resolve of dependencies, as accepting the proposed solution is just one keypress away anyway, and it lets me review the proposal first.

In .deb:
Depends: Will not install or run without those. (Base libraries, runtimes)
Recommends: Will gain very significant functionality if those are installed. (Mail server for logcheck, OpenGL library for a math package that runs but won't draw 3D graphs without it)
Suggests: Will gain small additional functionality if this is installed. (Image converter library to add support of more formats to a program, for example.)

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 1:58 pm 
Offline
Senior Newbie

Joined: Mon Oct 24, 2011 3:19 am
Posts: 5
Location: Helsinki, EU
@obs I't is a clean install and right _after_ running apt-get update && apt-get upgrade I get this list of 47 packages to install, so definitely not upgrades. Thus me wondering this.

@Piki That's my thinking as well. E.g., 'acpi' has 2 packages that depend on it. xbattbar as recommended and munin-node as suggested, but neither of these is set to be installed. I was thinking that acpi would be installed, because something else depends on it, but that does not seem to be the case.

@rsk Thank, that seems to be more sensible settings...

Anyways, thanks for the feedback. This propably is not that big of an issue, it's just something is happening and I don't understand why and I don't like that at all... =)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group