User Tools

Site Tools


packages:rpm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packages:rpm [2025-02-27 09:38] – --querybynumber is able return crazy package names, that are not installed. Filter that oud arekmpackages:rpm [2025-07-28 12:08] (current) – Add rpm 4.19 --build-in-place info glen
Line 28: Line 28:
   LC_ALL=C xargs -r rpm -q --qf='%{name}\n' --nosignature --querybynumber | \   LC_ALL=C xargs -r rpm -q --qf='%{name}\n' --nosignature --querybynumber | \
   grep -vE 'package1buitmanuallyduetolicense|package2buitmanuallyduetolicense' | \   grep -vE 'package1buitmanuallyduetolicense|package2buitmanuallyduetolicense' | \
-  LC_ALL=C xargs -r rpm -q --queryformat "%{NAME}\n" 2> /dev/null | grep -v "is not installed" | 
   xargs -r poldek --reinstall --pmopt=--nosignature   xargs -r poldek --reinstall --pmopt=--nosignature
 +  
 +If you get errors about some packages not available (on ftp) from poldek then try reinstalling one by one:
 +
 +  [...] (like above)
 +  xargs -n 1 -r poldek --reinstall --pmopt=--nosignature
 +  
 +And possibly uninstall packages that are no longer available and are not needed.
 +
  
 Final words - while we could stick to rpmpgp_legacy library for now, Final words - while we could stick to rpmpgp_legacy library for now,
Line 51: Line 58:
   Header V4 DSA/SHA1 Signature, key ID 61ac3fd4: BAD   Header V4 DSA/SHA1 Signature, key ID 61ac3fd4: BAD
   Header SHA1 digest: OK   Header SHA1 digest: OK
 +
 +===== rpm 4.19, --build-in-place =====
 +
 +RPM 4.19.0 (Released Sept 19, 2023) Supports ''--build-in-place''; enables building from cwd without cleanup.
 +
 +Use this option if you rely on ''$(pwd)'' being ''%{_sourcedir}'', this can also be set with macro: ''--define '_build_in_place 1'''
  
 ===== rpm5 to rpm.org rpm porting status ===== ===== rpm5 to rpm.org rpm porting status =====
packages/rpm.1740645512.txt.gz · Last modified: 2025-02-27 09:38 by arekm

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki