Author Topic: YUM/RPM: cannot update - "no signature"  (Read 178 times)

Lars

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +79/-0
YUM/RPM: cannot update - "no signature"
« on: July 18, 2026, 10:16:18 pm »
I am trying to update packages but for each package I get:

"package ...... does not verify: no signature"

I already tried "gpgcheck = 0" in yum.conf but it does not make a difference.

Anyone knows how to fix this problem ?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5878
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: YUM/RPM: cannot update - "no signature"
« Reply #1 on: July 19, 2026, 12:44:57 am »
Hello

I never got that on rpm/yum.

Online they recommend to run the --nogpgcheck flag like:
 yum install package_name --nogpgcheck

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Lars

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +79/-0
Re: YUM/RPM: cannot update - "no signature"
« Reply #2 on: July 19, 2026, 09:01:05 am »
That does not work. Neither specifying "gpgcheck = 0" in yum.conf (which is the persistent equivalent of the commandline switch) nor running yum from commandline with --nogpgcheck switch works.

Lars

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +79/-0
Re: YUM/RPM: cannot update - "no signature"
« Reply #3 on: July 19, 2026, 09:09:37 am »
What do I have to delete so that I can start ANPM installation from scratch, including yum bootstrap ?

Dave Yeo

  • Hero Member
  • *****
  • Posts: 6052
  • Karma: +167/-1
Re: YUM/RPM: cannot update - "no signature"
« Reply #4 on: July 19, 2026, 05:53:17 pm »
First try Yum clean all and see if that helps.
You can get your list of packages like,
Code: [Select]
rpm -qa --qf "%{NAME}\n" > packages.lst
Unlock everything in \usr and move \usr \etc and \var out of the way.
Run https://repos.arcanoae.com/anpm/pentium4/rpm-yum-base-os2-pentium4-2025-11-22.exe in the root of your system.
Reboot.
Mount your ISO, to quote Lewis,
Code: [Select]
   Mount the latest ArcaOS ISO, ensuring that the letter matches the path
   rewriter setting (or change the path rewriter setting to match the
   letter assigned for ISODrive).
This to get the ArcaOS RPMs that were installed during the original install.
Install findutils RPM for xargs,
run
Code: [Select]
xargs yum --skip-broken -y install < packages.lst 2>&1 | tee packages.lst.log
Some packages may fail due to dependencies and need installing after.
This is actually based on Lewis's experiments to upgrade i686 to P4, which I did a week or so back.

Lars

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +79/-0
Re: YUM/RPM: cannot update - "no signature"
« Reply #5 on: July 20, 2026, 07:50:26 am »
Thanks, it works again.

The initial error that I made was to follow the "yum_ref.url" link in the ANPM directory to get to the bootstrap package. That link pointed to "i686" architecture bootstrap file instead of "pentium" which is what I use.
That in turn lead to the "no signature" error when I attempted to update any package.

I was reluctant to remove /etc  and /var directories as that contains all that yum setup (yum.conf etc.) but I completely wiped the /usr directory which made ANPM load the proper "pentium" architecture bootstrap file on the next invocation.

Then, files showed with the "green star" icon to indicate that there are newer versions but trying to install (the update) failed telling me that I already have the newest file.

But the "rpm" and "yum" commands that David has given has now rectified my database (I also ran "yum clean all") and now everything is ok.
« Last Edit: July 20, 2026, 07:56:17 am by Lars »