1

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.

5
  • 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? Commented Apr 7, 2011 at 22:56
  • have you tried ask ubuntu? Commented Apr 7, 2011 at 23:14
  • @Theo hbase - I have it pointing to a third party source. Commented Apr 7, 2011 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. Commented Apr 7, 2011 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. Commented Apr 8, 2011 at 5:59

2 Answers 2

0

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.

1
  • It's not, I was able to install it on an identical machine w/out the incidental upgrade. Commented Apr 7, 2011 at 23:22
0

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?

1
  • Yes, I'm sure. I can't reproduce the behavior on other machines, though. Commented Apr 7, 2011 at 23:21

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.