Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [peter@FileServer ~]$ rpm -qa | grep httpd
- httpd-tools-2.4.63-1.fc41.x86_64
- fedora-logos-httpd-38.1.0-6.fc41.noarch
- httpd-filesystem-2.4.63-1.fc41.noarch
- httpd-2.4.63-1.fc41.x86_64
- [peter@FileServer ~]$ sudo dnf remove httpd httpd-core -y
- [sudo] password for peter:
- No packages to remove for argument: httpd-core
- Package Arch Version Repository Size
- Removing:
- httpd x86_64 2.4.63-1.fc41 <unknown> 64.8 KiB
- Transaction Summary:
- Removing: 1 package
- After this operation, 65 KiB will be freed (install 0 B, remove 65 KiB).
- Running transaction
- [1/2] Prepare transaction 100% | 7.0 B/s | 1.0 B | 00m00s
- >>> Running pre-uninstall scriptlet: httpd-0:2.4.63-1.fc41.x86_64
- >>> Finished pre-uninstall scriptlet: httpd-0:2.4.63-1.fc41.x86_64
- >>> Scriptlet output:
- >>> Removed '/etc/systemd/system/multi-user.target.wants/httpd.service'.
- >>>
- [2/2] Removing httpd-0:2.4.63-1.fc41.x86_64 100% | 24.0 B/s | 24.0 B | 00m01s
- >>> [RPM] file /usr/lib/.build-id/93/d8db0a26b1529571e11d12e6d9993fbae69ee0: remove failed: No such file or directory
- >>> [RPM] file /usr/lib/.build-id/3b/76f94a84fe78d07152b645820fb8a5369db355: remove failed: No such file or directory
- Complete!
- [peter@FileServer ~]$ sudo rm -rf /usr/sbin/httpd /etc/httpd /var/log/httpd
- [peter@FileServer ~]$ sudo rpm --rebuilddb
- [peter@FileServer ~]$ sudo setenforce 0
- setenforce: SELinux is disabled
- [peter@FileServer ~]$ sudo dnf install httpd -y
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- httpd x86_64 2.4.63-1.fc41 updates 64.8 KiB
- Installing dependencies:
- httpd-core x86_64 2.4.63-1.fc41 updates 4.8 MiB
- Transaction Summary:
- Installing: 2 packages
- Total size of inbound packages is 1 MiB. Need to download 0 B.
- After this operation, 5 MiB extra will be used (install 5 MiB, remove 0 B).
- [1/1] httpd-0:2.4.63-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
- >>> Already downloaded
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- [1/2] httpd-core-0:2.4.63-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
- >>> Already downloaded
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s
- Running transaction
- [1/4] Verify package files 100% | 60.0 B/s | 2.0 B | 00m00s
- [2/4] Prepare transaction 100% | 14.0 B/s | 2.0 B | 00m00s
- [3/4] Installing httpd-core-0:2.4.63-1.fc41.x86_64 100% | 28.6 MiB/s | 4.9 MiB | 00m00s
- >>> [RPM] unpacking of archive failed on file /usr/sbin/suexec;67ab507d: cpio: cap_set_file failed - Directory not empty
- >>> Unpack error: httpd-core-0:2.4.63-1.fc41.x86_64
- [1/4] Installing httpd-0:2.4.63-1.fc41.x86_64 100% | 57.2 KiB/s | 68.5 KiB | 00m01s
- >>> [RPM] httpd-core-2.4.63-1.fc41.x86_64: install failed
- Transaction failed: Rpm transaction failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement