Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I entered apt-get install sysstat, and not only was sysstat installed, but it also upgraded my version of Hbase.

Am I missing something basic here, shouldn't apt-get install only install or upgrade related packages?

This happened on Ubuntu Maverick.

share|improve this question
    
I have to ask because it's so close--did it upgrade hbase or lsb-base? Did you have hbase installed on there before, as I don't find it in the standard repositories? –  Theo Apr 7 '11 at 22:56
    
have you tried ask ubuntu? –  mbx Apr 7 '11 at 23:14
    
@Theo hbase - I have it pointing to a third party source. –  wsorenson Apr 7 '11 at 23:18
    
@mbx - didn't know it existed, thanks, though it's not immediately clear to me if it's better to post Ubuntu related sysops questions here or there. –  wsorenson Apr 7 '11 at 23:19
    
In such a case I would have tried it there first, as there are possibly more users with problems like that and you'll get propably more answers. On the other hand, this may affect also other debian like distros, so asking it here is wise too. –  mbx Apr 8 '11 at 5:59
add comment

2 Answers

I believe apt-get install will only upgrade packages that are a dependency, directly or indirectly of the requested packages. Try installing apt-rdepends and run apt-rdepends sysstat | grep -i hbase. If I'm right, you should see the hbase packages in there somewhere.

share|improve this answer
    
It's not, I was able to install it on an identical machine w/out the incidental upgrade. –  wsorenson Apr 7 '11 at 23:22
add comment

Keep in mind that packages that are pending an upgrade will be listed as such when you do anything at all with apt-get; but they are not necessarily installed or upgraded.

Are you sure that it did in fact upgrade?

share|improve this answer
    
Yes, I'm sure. I can't reproduce the behavior on other machines, though. –  wsorenson Apr 7 '11 at 23:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.