Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 406621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:30:51+00:00 2026-05-12T17:30:51+00:00

RPM supports an Epoch header to provide version ordering in cases where its version

  • 0

RPM supports an Epoch header to provide version ordering in cases where its version comparison isn’t sufficient, for example with 2.0a3 > 2.0. A package without Epoch specified is considered to have an Epoch of either 0 or -1, depending on some obscure factors. The documentation suggests that Epoch start at 1 and be incremented with each release.

Does the Epoch value have any size limitations? If I used a 32-bit or larger value, would this cause any kind of overflow?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:30:51+00:00Added an answer on May 12, 2026 at 5:30 pm

    Is this really an issue? It’s gonna take you a long time to have 2^32 releases! Anyway, I found this in the rpm source:

    int rpmVersionCompare(Header first, Header second)
    {
        struct rpmtd_s one, two;
        static uint32_t zero = 0;
        uint32_t *epochOne = &zero, *epochTwo = &zero;
    

    so I’d say don’t use a 64-bit epoch number. (There’s a little more to it than that – it gets read through the struct rpmtd_s, which has lots of fancy schmancy void pointers, but yeah, it’s uint32.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My RPM package has this in its dependencies list: libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) What do the
Passing User defined argument to RPM is possible while installing?. for example: ~>rpm -i
I download and try to install the rpm package for fedora 10, i also
I recently decided to use Apache HTTPD (on CentOS - RPM version httpd-2.2.3-45.el5.centos) with
i have a rpm package, and i need to extract some files from it.
I have installed a package from .rpm file and it is stored in /opt
I have packaged my application into an RPM package, say, myapp.rpm . While installing
In the process of building an RPM package, I have to specify the BuildRoot
I have a rpm package which is already installed in the system. I want
How to update a RPM version? Shall i just update it in my spec

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.