When there is something I might need later, I write it here so I don't forget. Or when I think about something that could be useful to other people.

Extracting the content of an rpm without installing it

To extract it in the current directory :

 $ rpm2cpio file.rpm | cpio -idv


[/en/linux/mandriva] permanent link  Comments (View)


...

Trouver des refuges en montagne

Pour trouver des refuges dans les Alpes francaises, il y a un site très pratique :
refuges.info


[/fr/montagne] permanent link  Comments (View)


...

Editing svn commit messages

With N being the commit number, and URL the URL of the repository :

$ svn propedit svn:log --revprop -r N URL
Or :
$ svn propset svn:log --revprop -r N "new log message" URL


[/en/linux] permanent link  Comments (View)


...

Comparing rpm versions

When wondering which rpm version number is higher. Install the package poldek, and use the command rpmvercmp. Or install the package ruby-rpm, and use the command rpmvercmp.rb.


[/en/linux/mandriva] permanent link  Comments (View)


...