Advertisement
Senfgurke1969

Untitled

Feb 11th, 2025
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.48 KB | None | 0 0
  1. [peter@FileServer ~]$ rpm -qa | grep httpd
  2. httpd-tools-2.4.63-1.fc41.x86_64
  3. fedora-logos-httpd-38.1.0-6.fc41.noarch
  4. httpd-filesystem-2.4.63-1.fc41.noarch
  5. httpd-2.4.63-1.fc41.x86_64
  6. [peter@FileServer ~]$ sudo dnf remove httpd httpd-core -y
  7. [sudo] password for peter:
  8. No packages to remove for argument: httpd-core
  9.  
  10. Package                                                                         Arch              Version                                                                         Repository                                        Size
  11. Removing:
  12.  httpd                                                                          x86_64            2.4.63-1.fc41                                                                   <unknown>                                     64.8 KiB
  13.  
  14. Transaction Summary:
  15.  Removing:           1 package
  16.  
  17. After this operation, 65 KiB will be freed (install 0 B, remove 65 KiB).
  18. Running transaction
  19. [1/2] Prepare transaction                                                                                                                                                                       100% |   7.0   B/s |   1.0   B |  00m00s
  20. >>> Running pre-uninstall scriptlet: httpd-0:2.4.63-1.fc41.x86_64
  21. >>> Finished pre-uninstall scriptlet: httpd-0:2.4.63-1.fc41.x86_64
  22. >>> Scriptlet output:
  23. >>> Removed '/etc/systemd/system/multi-user.target.wants/httpd.service'.
  24. >>>
  25. [2/2] Removing httpd-0:2.4.63-1.fc41.x86_64                                                                                                                                                     100% |  24.0   B/s |  24.0   B |  00m01s
  26. >>> [RPM] file /usr/lib/.build-id/93/d8db0a26b1529571e11d12e6d9993fbae69ee0: remove failed: No such file or directory
  27. >>> [RPM] file /usr/lib/.build-id/3b/76f94a84fe78d07152b645820fb8a5369db355: remove failed: No such file or directory
  28. Complete!
  29. [peter@FileServer ~]$ sudo rm -rf /usr/sbin/httpd /etc/httpd /var/log/httpd
  30. [peter@FileServer ~]$ sudo rpm --rebuilddb
  31. [peter@FileServer ~]$ sudo setenforce 0
  32. setenforce: SELinux is disabled
  33. [peter@FileServer ~]$ sudo dnf install httpd -y
  34. Updating and loading repositories:
  35. Repositories loaded.
  36. Package                                                                         Arch              Version                                                                         Repository                                        Size
  37. Installing:
  38.  httpd                                                                          x86_64            2.4.63-1.fc41                                                                   updates                                       64.8 KiB
  39. Installing dependencies:
  40.  httpd-core                                                                     x86_64            2.4.63-1.fc41                                                                   updates                                        4.8 MiB
  41.  
  42. Transaction Summary:
  43.  Installing:         2 packages
  44.  
  45. Total size of inbound packages is 1 MiB. Need to download 0 B.
  46. After this operation, 5 MiB extra will be used (install 5 MiB, remove 0 B).
  47. [1/1] httpd-0:2.4.63-1.fc41.x86_64                                                                                                                                                              100% |   0.0   B/s |   0.0   B |  00m00s
  48. >>> Already downloaded
  49. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  50. [1/2] httpd-core-0:2.4.63-1.fc41.x86_64                                                                                                                                                         100% |   0.0   B/s |   0.0   B |  00m00s
  51. >>> Already downloaded
  52. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  53. [2/2] Total                                                                                                                                                                                     100% |   0.0   B/s |   0.0   B |  00m00s
  54. Running transaction
  55. [1/4] Verify package files                                                                                                                                                                      100% |  60.0   B/s |   2.0   B |  00m00s
  56. [2/4] Prepare transaction                                                                                                                                                                       100% |  14.0   B/s |   2.0   B |  00m00s
  57. [3/4] Installing httpd-core-0:2.4.63-1.fc41.x86_64                                                                                                                                              100% |  28.6 MiB/s |   4.9 MiB |  00m00s
  58. >>> [RPM] unpacking of archive failed on file /usr/sbin/suexec;67ab507d: cpio: cap_set_file failed - Directory not empty
  59. >>> Unpack error: httpd-core-0:2.4.63-1.fc41.x86_64
  60. [1/4] Installing httpd-0:2.4.63-1.fc41.x86_64                                                                                                                                                   100% |  57.2 KiB/s |  68.5 KiB |  00m01s
  61. >>> [RPM] httpd-core-2.4.63-1.fc41.x86_64: install failed
  62. Transaction failed: Rpm transaction failed.
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement