Post thumbnail of Rpmbuild check-rpaths can break spec files
20 January 2010
Continue reading Rpmbuild check-rpaths can break spec files

Rpmbuild check-rpaths can break spec files

Rpmbuild’s RPATH feature is used to search libraries outside of standard paths. They are given to the linker at buildtime. If the developers of the code you’re trying to turn into an RPM did not take any of these considerations into account when they write their programs then you may be forced to skip check-rpath.

Post thumbnail of Install swfdec-mozilla flash plugin for browsers from binary or source
18 December 2009
Continue reading Install swfdec-mozilla flash plugin for browsers from binary or source

Install swfdec-mozilla flash plugin for browsers from binary or source

Install the prerequisites noted in the README file if you’re building swfdec and swfdec-mozilla from scratch. I found I only needed to install liboil-devel and gstreamer-plugins-base-devel in order for it to build without complaint. When installing from binary on my 64-bit os, I found I was missing a lot of 32-bit packages needed by the plugin, so my dependencies needed by swfdec-mozilla.i386 rpm was long.

Post thumbnail of LftpFS network filesystem with caching for easy repository mirroring
2 December 2009
Continue reading LftpFS network filesystem with caching for easy repository mirroring

LftpFS network filesystem with caching for easy repository mirroring

LftpFS is a read-only network filesystem with caching for smart mirror of sites. Useful for mirroring of Linux repositories. It’s based on FUSE and LFTP client, which supports FTP, HTTP, FISH, SFTP, HTTPS, FTPS protocols and works over proxies.

Post thumbnail of YUM: Thread died in Berkeley DB library, Fatal error, run database recovery
2 November 2009
Continue reading YUM: Thread died in Berkeley DB library, Fatal error, run database recovery

YUM: Thread died in Berkeley DB library, Fatal error, run database recovery

Before I get to the problem, here’s the interesting part. If you list the files in /var/lib/rpm/ you will see the flat berkeley database files, but not all of them. And I didn’t notice there was one missing until I went to fix it. I’m not sure what caused/causes this, but I found a pretty simple solution.

Post thumbnail of How to avoid stripping when building RPMs
21 April 2009
Continue reading How to avoid stripping when building RPMs

How to avoid stripping when building RPMs

I’ve found 3 ways to disable the strip binary option when building RPMs.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of How to figure out RPM dependencies
20 April 2009
Continue reading How to figure out RPM dependencies

How to figure out RPM dependencies

You might need to look at an RPM file and figure out what it needs, retrieve it by hand, and install the packages yourself.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of Reinstall customized RPMs with repackage and rollback
8 April 2009
Continue reading Reinstall customized RPMs with repackage and rollback

Reinstall customized RPMs with repackage and rollback

Here’s one very specific way to temporarily remove an RPM package where I think I want it gone, but I want to test to see how the system reacts when the package is completely removed. I dont’ want to just remove it because i’ve made some changes to the config files and perhaps I’ve spliced in a few custom binaries here and there, so it’s really iffy.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of How to remove yum packages without dependencies
8 April 2009
Continue reading How to remove yum packages without dependencies

How to remove yum packages without dependencies

I can’t figure out how to make yum ignore dependencies and I can’t find it by googling either. The yum-allowdowngrade package doesn’t do what I expected it to do. So I’ll just have to ignore yum for now and force rpm to do the job.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of Setup your own YUM repository, the easy way!
25 September 2008
Continue reading Setup your own YUM repository, the easy way!

Setup your own YUM repository, the easy way!

I don’t understand why some people think this is a complicated thing to set up, so here goes my approach which I think is the easiest method.  Perhaps you’re behind a very restrictive corporate firewall or you want to conserve bandwidth when you’re setting up several machines.  You can set …

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Powered by Wordpress   |   Lunated designed by ZenVerse