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-19 07:10] arekmpackages:rpm [2025-02-27 13:03] (current) arekm
Line 26: Line 26:
   LC_ALL=C rpm -Va --nofiledigest --nofiles --nodigest 2>&1 | \   LC_ALL=C rpm -Va --nofiledigest --nofiles --nodigest 2>&1 | \
   grep 'error: rpmdbNextIterator: skipping h#' | awk '{print $5}' | sort -u | \   grep 'error: rpmdbNextIterator: skipping h#' | awk '{print $5}' | sort -u | \
-  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' | \
   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,
packages/rpm.1739945420.txt.gz · Last modified: 2025-02-19 07:10 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