When I type dpkg -l | grep xserver-xorg, I get list of installed packages and their versions:
ii xserver-xorg 1:7.7+3~deb7u1 ii xserver-xorg-core 2:1.12.4-6 ii xserver-xorg-input-evdev 1:2.7.0-1+b1 ii xserver-xorg-input-kbd 1:1.6.1-1+b1 ii xserver-xorg-input-mouse 1:1.7.2-3 ii xserver-xorg-video-radeon 1:6.14.4-8
I am wondering what the number infront of the colon means, ie the number 2 in 2:1.12.4-6
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
The version numbers in Debian are of the form
[epoch:]upstream_version[-debian_revision]
where
-
epochis a single (generally small) unsigned integer, which is included to allow mistakes in the version numbers of older versions of a package. If omitted, theepochis assumed to be zero. -
upstream_versionis usually the version number of the original source package from which the .deb file has been made. It is usually kept the same as the format used for the upstream source. -
debian_revisionspecifies the version of the Debian package based on the upstream version. It is optional and is omitted in cases where a piece of software was written specifically to be a Debian package.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0