Bug 1381799

Summary: pyanaconda.packaging.PayloadError: DNF error: error reading package headerTraceback (most recent call last):
Product: [Fedora] Fedora Reporter: V Mahadev <v.mahadev>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: ajhajj, anaconda-maint-list, danie4411, g.kaviyarasu, jonathan, martin.marques, mkolman, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f81ab29f15841ffd914786d86387ce17ed4a00403b4fc595a811be8ff4a53b0f;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 19:19:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.log
none
File: environ
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description V Mahadev 2016-10-05 05:22:23 UTC
Description of problem:
Installation  

Step : When system prompts for ROOT PASSWORD and USER CREATION PASSWORD Screen

Preparing transaction from installation source is displayed and immediately system hangs.


Twice downloaded iso file and burned it on new dvd media but still fails exactly at the above said step.

System has two network cards and one network is connected to the internet and the other is connected to a switch


Version-Release number of selected component:
anaconda-24.13.7-1

The following was filed automatically by anaconda:
anaconda 24.13.7-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/packaging/dnfpayload.py", line 815, in install
    raise packaging.PayloadError("DNF error: %s" % msg)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 236, in doInstall
    payload.install()
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
pyanaconda.packaging.PayloadError: DNF error: error reading package headerTraceback (most recent call last):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/packaging/dnfpayload.py", line 210, in do_transaction
    base.do_transaction(display=display)
  File "/usr/lib/python3.5/site-packages/dnf/base.py", line 563, in do_transaction
    self.transaction.populate_rpm_ts(self._ts)
  File "/usr/lib/python3.5/site-packages/dnf/transaction.py", line 183, in populate_rpm_ts
    hdr = tsi.installed.header
  File "/usr/lib/python3.5/site-packages/dnf/package.py", line 78, in header
    return dnf.rpm.header(self.localPkg())
  File "/usr/lib/python3.5/site-packages/dnf/rpm/__init__.py", line 58, in header
    return ts.hdrFromFdno(fdno)
  File "/usr/lib64/python3.5/site-packages/rpm/transaction.py", line 175, in hdrFromFdno
    raise rpm.error("error reading package header")
_rpm.error: error reading package header


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-24 quiet
dnf.rpm.log:    Oct 05 05:10:36 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.5.5-300.fc24.x86_64
product:        Fedora
release:        Cannot get release name.
reproducible:   Not sure how to reproduce the problem
type:           anaconda
version:        24

Comment 1 V Mahadev 2016-10-05 05:22:45 UTC
Created attachment 1207434 [details]
File: anaconda-tb

Comment 2 V Mahadev 2016-10-05 05:22:47 UTC
Created attachment 1207435 [details]
File: anaconda.log

Comment 3 V Mahadev 2016-10-05 05:22:49 UTC
Created attachment 1207436 [details]
File: dnf.log

Comment 4 V Mahadev 2016-10-05 05:22:51 UTC
Created attachment 1207437 [details]
File: environ

Comment 5 V Mahadev 2016-10-05 05:22:53 UTC
Created attachment 1207438 [details]
File: lsblk_output

Comment 6 V Mahadev 2016-10-05 05:22:58 UTC
Created attachment 1207439 [details]
File: lvm.log

Comment 7 V Mahadev 2016-10-05 05:23:00 UTC
Created attachment 1207440 [details]
File: nmcli_dev_list

Comment 8 V Mahadev 2016-10-05 05:23:02 UTC
Created attachment 1207441 [details]
File: os_info

Comment 9 V Mahadev 2016-10-05 05:23:08 UTC
Created attachment 1207442 [details]
File: storage.log

Comment 10 V Mahadev 2016-10-05 05:23:15 UTC
Created attachment 1207443 [details]
File: syslog

Comment 11 V Mahadev 2016-10-05 05:23:17 UTC
Created attachment 1207444 [details]
File: ifcfg.log

Comment 12 V Mahadev 2016-10-05 05:23:20 UTC
Created attachment 1207445 [details]
File: packaging.log

Comment 13 V Mahadev 2016-10-05 05:23:24 UTC
Created attachment 1207446 [details]
File: program.log

Comment 14 danie4411 2016-10-09 06:41:43 UTC
Similar problem has been detected:

I was just going through the installation steps when suddenly I encountered this error during the "Preparing transaction from installation source" phase.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=FEDORA-S-DV quiet
dnf.rpm.log:    Oct 09 06:16:12 INFO --- logging initialized ---
hashmarkername: anaconda
kernel:         4.5.5-300.fc24.x86_64
package:        anaconda-24.13.7-1
product:        Fedora
reason:         pyanaconda.packaging.PayloadError: DNF error: error reading package headerTraceback (most recent call last):
release:        Cannot get release name.
reproducible:   Not sure how to reproduce the problem
version:        24

Comment 15 Fedora End Of Life 2017-07-25 23:21:46 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2017-08-08 19:19:33 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.