Bug 1853665

Summary: pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ended up abruptly: Transaction test error:
Product: [Fedora] Fedora Reporter: Carmine Paolino <carmine>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: anaconda-maint-list, jkonecny, jonathan, kellin, vanmeeuwen+fedora, vponcova, vslavik, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:5f423bcfb521fc0ef66107c9b6b9b37f06b06a8dedd5e13f76e4a67c45b0ad73;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-31 16:09:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dbus.log
none
File: dnf.librepo.log
none
File: environ
none
File: lorax-packages.log
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: packaging.log none

Description Carmine Paolino 2020-07-03 13:47:11 UTC
Description of problem:
This happens when I try to install Fedora Server. I tried the netinstall ISO, the normal ISO, automatic partitioning, manual partitioning, but nothing worked.

Version-Release number of selected component:
anaconda-32.24.7

The following was filed automatically by anaconda:
anaconda 32.24.7 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.8/site-packages/pyanaconda/payload/dnfpayload.py", line 1081, in install
    raise PayloadError(msg)
  File "/usr/lib64/python3.8/site-packages/pyanaconda/installation_tasks.py", line 456, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.8/site-packages/pyanaconda/installation_tasks.py", line 490, in start
    self.run_task()
  File "/usr/lib64/python3.8/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.8/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.8/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.8/site-packages/pyanaconda/installation.py", line 382, in run_installation
    queue.start()
  File "/usr/lib64/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.8/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)
pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ended up abruptly: Transaction test error:
  Errors occurred during test transaction.
Traceback (most recent call last):
  File "/usr/lib64/python3.8/site-packages/pyanaconda/payload/dnfpayload.py", line 282, in do_transaction
    base.do_transaction(display=display)
  File "/usr/lib/python3.8/site-packages/dnf/base.py", line 857, in do_transaction
    raise dnf.exceptions.Error(errstring)
dnf.exceptions.Error: Transaction test error:
  Errors occurred during test transaction.



Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-32 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
hawkey.log:     INFO Jul-03 12:28:35 === Started libdnf-0.45.0 ===
kernel:         5.6.6-300.fc32.x86_64
product:        Fedora
release:        Fedora release 32 (Thirty Two)
type:           anaconda
version:        32

Potential duplicate: bug 1733537

Comment 1 Carmine Paolino 2020-07-03 13:47:23 UTC
Created attachment 1699831 [details]
File: anaconda-tb

Comment 2 Carmine Paolino 2020-07-03 13:47:25 UTC
Created attachment 1699832 [details]
File: anaconda.log

Comment 3 Carmine Paolino 2020-07-03 13:47:26 UTC
Created attachment 1699833 [details]
File: dbus.log

Comment 4 Carmine Paolino 2020-07-03 13:47:28 UTC
Created attachment 1699834 [details]
File: dnf.librepo.log

Comment 5 Carmine Paolino 2020-07-03 13:47:29 UTC
Created attachment 1699835 [details]
File: environ

Comment 6 Carmine Paolino 2020-07-03 13:47:31 UTC
Created attachment 1699836 [details]
File: lorax-packages.log

Comment 7 Carmine Paolino 2020-07-03 13:47:33 UTC
Created attachment 1699837 [details]
File: lsblk_output

Comment 8 Carmine Paolino 2020-07-03 13:47:36 UTC
Created attachment 1699838 [details]
File: lvm.log

Comment 9 Carmine Paolino 2020-07-03 13:47:38 UTC
Created attachment 1699839 [details]
File: nmcli_dev_list

Comment 10 Carmine Paolino 2020-07-03 13:47:39 UTC
Created attachment 1699840 [details]
File: os_info

Comment 11 Carmine Paolino 2020-07-03 13:47:41 UTC
Created attachment 1699841 [details]
File: program.log

Comment 12 Carmine Paolino 2020-07-03 13:47:44 UTC
Created attachment 1699842 [details]
File: storage.log

Comment 13 Carmine Paolino 2020-07-03 13:47:50 UTC
Created attachment 1699843 [details]
File: syslog

Comment 14 Carmine Paolino 2020-07-03 13:47:52 UTC
Created attachment 1699844 [details]
File: packaging.log

Comment 15 Vladimír Slávik 2020-07-16 19:18:02 UTC
Hello Carmine Paolino, thank you for the report! The logs indicate that a package fails a checksum check, and the package comes from the disk. Can you please verify checksums of the images you downloaded, and if you made physical disks out of these, try also for the disks?

> 15:25:04,229 INF dnf: Running transaction test
> 15:25:08,660 CRT dnf: RPM: warning: libgcc-10.0.1-0.11.fc32.x86_64: Header V3 RSA/SHA256 Signature, key ID 12c944d0: NOKEY
> 15:25:08,661 CRT dnf: RPM: error: source-highlight-3.1.9-2.fc32.x86_64: Header SHA1 digest: BAD (Expected 42c7460c6568a7a31cdda6636e7c412bf8ab6fc0 != 7dabddc5250d79cb5f30b6a3708338205b8f4103)
> 15:25:08,664 CRT dnf: RPM: error: source-highlight-3.1.9-2.fc32.x86_64: install failed
> 15:25:08,664 ERR packaging: The transaction process has ended abruptly
> 15:25:08,665 INF packaging: Transaction test error:
>   Errors occurred during test transaction.
> 
> 15:25:08,666 DDEBUG dnf: Cleaning up.

Comment 16 Vladimír Slávik 2020-07-16 20:22:23 UTC
Actually, while checking further I discovered and filed bug 1858006, which might be somehow related.

Comment 17 Carmine Paolino 2020-07-27 11:23:31 UTC
Thanks Vladimir for the prompt answer! If that helps, I was installing Fedora Server in VirtualBox. I tried with the netinst and the dvd and had similar problems. I then switched to VMWare Player and it worked perfectly. :shrug:

Comment 18 Vladimír Slávik 2020-07-31 16:09:52 UTC
Hi Carmine Paolino, thank you for re-checking. VirtualBox does some weird stuff and Anaconda does not work very well there, I believe. FWIW the problem is probably related to kernel, so nothing we can do. If switching to something else fixed the problem, then it's probably that - closing...

(Do feel free to reopen if you feel closing this bug is incorrect at this point!)