Checking Firmware Version on Power8

Firmware can bring some bug fixes and new features. Here are two options to know the firmware level on your system.

To check the Firmware Level on IBM Power Systems, you have two options:

From GNU/Linux: issue ‘lsmcode

From Petitboot (before loading your OS): issue ‘update_flash -dContinue reading “Checking Firmware Version on Power8”

View repository versions of a package

apt-cache policy <packageName>

This gives you information of all available package versions in the Ubuntu repositories.

Example:

user@hostname:~$ apt-cache policy openssh-server
openssh-server:
 Installed: 1:6.6p1-2ubuntu2.6
 Candidate: 1:6.6p1-2ubuntu2.7
 Version table:
 1:6.6p1-2ubuntu2.7 0
 500 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main ppc64el Packages
 500 http://ports.ubuntu.com/ubuntu-ports/ trusty-security/main ppc64el Packages
 *** 1:6.6p1-2ubuntu2.6 0
 100 /var/lib/dpkg/status
 1:6.6p1-2ubuntu1 0
 500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main ppc64el Packages

From the output, you can see that there are two versions available: 1:6.6p1-2ubuntu2.7 and 1:6.6p1-2ubuntu1. It also tells you which repositories they are coming from.

Installed: tells you the version you have installed. If you don’t have the package installed, you’ll see (none).

Candidate: is the version that will be installed if you use apt-get install openssh-server. If you want to install the other version, you would do apt-get install openssh-server=1:6.6p1-2ubuntu2.7.

See the original reference here.

About this blog

tuxThis blog was created with the idea of collecting and linking information about Linux, Git, how to set things up, how to tweak the system here and there, in different architectures, in different distributions and different releases.

All the information presented here is available to public knowledge and can be found with one, two, or a few more Google searches if you persist. All of them were used at least once on productive activities.

Please share your experience and share your comments.