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 have redhat 4 with :

Actual kernel-----------------------> 2.6.9-78.0.17.ELsmp

new kernel available (up2date) --------> 2.6.9-89.x.xx.

For some reason , i need the new kernel version number before actually doing the upgrade... Is there a safe way of doing this with up2date , without actualy doing the update.

Thanks in advance....

share|improve this question
add comment

2 Answers

You could try with:

Output a list of packages available for updates, and all the dependencies they need, including obsoletes.

up2date --dry-run

Output a list of packages which have been updated and available for retrieval/installation.

up2date -l
share|improve this answer
add comment
up2date --dry-run

will print out what needs to be updated..

share|improve this answer
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.