Skip to content

Instantly share code, notes, and snippets.

@tralston
Created May 7, 2018 16:41
Show Gist options
  • Save tralston/4b5de1705b4ab38fe726a5cc9c3913f8 to your computer and use it in GitHub Desktop.
Save tralston/4b5de1705b4ab38fe726a5cc9c3913f8 to your computer and use it in GitHub Desktop.
Find apt package source for installed/available package #bash #apt
# This helps if you have several sources for a package, and are not sure which one is installed or available
# For instance, if a pacakge is available on ubuntu main and a ppa both.
apt-cache policy [pkg-name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment