Showing posts with label rpm querry. Show all posts
Showing posts with label rpm querry. Show all posts

Monday, August 13, 2012

RPM querry packages and there build arch

Most of the time rpm shows is the package name - version, but strips the build arch, ie. i386 or x86_64. Hence what we see are 2 similar package names and we wondering what is going on :)


$ rpm -qf /usr/bin/lsb_release
redhat-lsb-4.0-2.1.4.el5
redhat-lsb-4.0-2.1.4.el5

here is a way to see the arch use '--qf "%{n}-%{v}-%{r}-%{arch}\n"'


$ rpm -qf /usr/bin/lsb_release --qf "%{n}-%{v}-%{r}-%{arch}\n"
redhat-lsb-4.0-2.1.4.el5-x86_64
redhat-lsb-4.0-2.1.4.el5-i386






VIM issues with powerline

What to do if you get this annoying issue - vi requirements.txt ...