Skip to content

Instantly share code, notes, and snippets.

@jordansissel
Created November 11, 2012 04:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordansissel/4053631 to your computer and use it in GitHub Desktop.
Save jordansissel/4053631 to your computer and use it in GitHub Desktop.
Two packages. Same name. Same file. Different epoch.
Both installed simultaneously.
rpm.
pork(~/projects/fpm) % rpm -ql fizz
/tmp/test
/tmp/test
pork(~/projects/fpm) % rpm -qa | grep fizz
fizz-1.0-1.x86_64
fizz-1.0-1.x86_64
pork(~/projects/fpm) % rpm -qa --qf '%{NAME} %{EPOCH}-%{VERSION}-%{RELEASE}\n' | grep fizz
fizz 0-1.0-1
fizz 1-1.0-1
@tsuna
Copy link

tsuna commented Nov 11, 2012

(╯°□°)╯︵ ┻━┻

@jbz
Copy link

jbz commented Nov 12, 2012

tsuna: Most appropriate use of that I've seen yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment