How can I check the version of packages to be installed with apt-get?
3,267
Solution 1
apt-cache show <packagename>
should include the full version numbers.
Solution 2
If you just want the version info without the description and such, use apt-cache policy
instead of apt-cache show
.
Related videos on Youtube
Author by
shin
Updated on September 17, 2022Comments
-
shin over 1 year
I have the following output.
<tr id='row_27' valign='top'> ... ... <td width="5%"><a href="http://localhost/daikon2/index.php/projects/admin/delete_log/6/6/27" class="deleteme"><img src="http://localhost/daikon2/assets/icons/delete.png" alt="delete" title="Delete Log" /></a></td> </tr>
I want to get the last segments 27 in the href with JavaScript.
I tried the following but nothing happened.
var id =href.substring(href.lastIndexOf("/") + 1); alert (id);