The wrong way to upgrade your RPMs

    Date06 Jan 2004
    4048
    Posted ByAnthony Pell
    Keeping your machine up to date requires that you update your software. If your distro uses RPM packages, be sure you aren't accidentally installing new software when you upgrade. . . . Most Linux distributions use the RPM[1] format for their software packages. RPMs are managed by the rpm program, which typically lives at /usr/bin/rpm.[2]

    The problem with any system is that your software is out of date the second you install it, and when security problems are found, you need to upgrade your software. Linux is great in that you don't need to reboot, you can upgrade your software on the fly.[3]

    Most Linux distributions maintain a web or FTP site that provides updated RPMs for security or other critical bugs. Some even include handy helpful programs to make it easier to identify older software and automatically upgrade to the newest available version, for example Red Hat's up2date. Some of these are subscription based (hey, creating good tools and providing the bandwidth costs money) so often people prefer to simply upgrade their RPMs directly.

    It's fairly trivial to mirror the updates section of your distro's website. For example I used to use the following to snag all the Red Hat 6.2 upgrade RPMs:

    $ wget -m --no-parent ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/updates/6.2/en/os/i386

    The above command would download all the x86 updates. Run it nightly from cron, and you've always got a repository of updated packages. Now that you have them, it's time to upgrade.

    You are not authorised to post comments.

    LinuxSecurity Poll

    Has your email account ever been pwned in a data breach?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 2 answer(s).
    /component/communitypolls/?task=poll.vote
    12
    radio
    [{"id":"53","title":"Yes","votes":"9","type":"x","order":"1","pct":90,"resources":[]},{"id":"54","title":"No","votes":"1","type":"x","order":"2","pct":10,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.