I am using Ubuntu12.04 and I installed lots of pkg. I want to update only one specific pkg. I tried using  $apt-get update pkgname E: The update command takes no argumentsso then I tried $apt-get updateall pkg updated successfully.Is there any another command to update only one specific pkg?
Related to apt-get update command
linux;ubuntu;apt
apt-get update does not update a package, it updates the package database. And like user1146332 said using install the package automatically updates it too as it fetches the lates version of it.PS: You have to do an update first to assure you know what the latest versions of the packages actually are.