Bug 1514998 - pyanaconda.payload.PayloadError: Payload error - DNF installation has ended up abruptly: error reading package headerTraceback (most recent call last):
Summary: pyanaconda.payload.PayloadError: Payload error - DNF installation has ended u...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4683b74eb23d52639593b97a234...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-19 23:41 UTC by Luis Moreira
Modified: 2018-02-15 23:30 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-02-15 23:30:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (3.73 MB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: anaconda.log (38.90 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: dnf.librepo.log (1.53 MB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: environ (529 bytes, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: hawkey.log (10.21 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: lorax-packages.log (25.86 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: lsblk_output (2.08 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: lvm.log (783.38 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: nmcli_dev_list (1.58 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: os_info (529 bytes, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: program.log (73.21 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: storage.log (212.03 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: syslog (351.11 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: ifcfg.log (2.30 KB, text/plain)
2017-11-19 23:41 UTC, Luis Moreira
no flags Details
File: packaging.log (87.94 KB, text/plain)
2017-11-19 23:42 UTC, Luis Moreira
no flags Details

Description Luis Moreira 2017-11-19 23:41:11 UTC
Version-Release number of selected component:
anaconda-27.20.4-1

The following was filed automatically by anaconda:
anaconda 27.20.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/dnfpayload.py", line 941, in install
    raise payload.PayloadError(msg)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 438, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 472, in start
    self.run_task()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 366, in doInstall
    installation_queue.start()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 252, in run
    threading.Thread.run(self)
pyanaconda.payload.PayloadError: Payload error - DNF installation has ended up abruptly: error reading package headerTraceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/dnfpayload.py", line 277, in do_transaction
    base.do_transaction(display=display)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 697, in do_transaction
    self.transaction._populate_rpm_ts(self._ts)
  File "/usr/lib/python3.6/site-packages/dnf/transaction.py", line 196, in _populate_rpm_ts
    hdr = tsi.installed._header
  File "/usr/lib/python3.6/site-packages/dnf/package.py", line 87, in _header
    return dnf.rpm._header(self.localPkg())
  File "/usr/lib/python3.6/site-packages/dnf/rpm/__init__.py", line 70, in _header
    return ts.hdrFromFdno(fdno)
  File "/usr/lib64/python3.6/site-packages/rpm/transaction.py", line 174, in hdrFromFdno
    raise rpm.error("error reading package header")
_rpm.error: error reading package header


Additional info:
addons:         com_redhat_docker, com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/libexec/system-python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=FEDORA-WS-D quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.13.9-300.fc27.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        27

Comment 1 Luis Moreira 2017-11-19 23:41:26 UTC
Created attachment 1355409 [details]
File: anaconda-tb

Comment 2 Luis Moreira 2017-11-19 23:41:29 UTC
Created attachment 1355410 [details]
File: anaconda.log

Comment 3 Luis Moreira 2017-11-19 23:41:34 UTC
Created attachment 1355411 [details]
File: dnf.librepo.log

Comment 4 Luis Moreira 2017-11-19 23:41:36 UTC
Created attachment 1355412 [details]
File: environ

Comment 5 Luis Moreira 2017-11-19 23:41:38 UTC
Created attachment 1355413 [details]
File: hawkey.log

Comment 6 Luis Moreira 2017-11-19 23:41:40 UTC
Created attachment 1355414 [details]
File: lorax-packages.log

Comment 7 Luis Moreira 2017-11-19 23:41:41 UTC
Created attachment 1355415 [details]
File: lsblk_output

Comment 8 Luis Moreira 2017-11-19 23:41:45 UTC
Created attachment 1355416 [details]
File: lvm.log

Comment 9 Luis Moreira 2017-11-19 23:41:47 UTC
Created attachment 1355417 [details]
File: nmcli_dev_list

Comment 10 Luis Moreira 2017-11-19 23:41:48 UTC
Created attachment 1355418 [details]
File: os_info

Comment 11 Luis Moreira 2017-11-19 23:41:51 UTC
Created attachment 1355419 [details]
File: program.log

Comment 12 Luis Moreira 2017-11-19 23:41:54 UTC
Created attachment 1355420 [details]
File: storage.log

Comment 13 Luis Moreira 2017-11-19 23:41:57 UTC
Created attachment 1355421 [details]
File: syslog

Comment 14 Luis Moreira 2017-11-19 23:41:58 UTC
Created attachment 1355422 [details]
File: ifcfg.log

Comment 15 Luis Moreira 2017-11-19 23:42:00 UTC
Created attachment 1355423 [details]
File: packaging.log

Comment 16 Luis Moreira 2017-11-20 01:50:55 UTC
I gave up the Fedora version 27.

I was able to install a version of Fedora 26 LXDE Desktop Live - 64 bits.

I knew the problem was not on the disk but on ISO. Could not install any Fedora 27 ISO.

Thanks.

Comment 17 Jiri Konecny 2017-11-20 09:27:15 UTC
This looks to me like a broken package, however, I'm not able to find out which one. Or maybe it is a DNF issue?

Could DNF developers please have a look what can be the cause of this issue?

Comment 18 Igor Gnatenko 2017-11-20 09:28:24 UTC
Without having rpm file, it is impossible to debug anything here. Switching back.

Comment 19 Jiri Konecny 2017-11-21 09:57:02 UTC
Hello,

This looks like corrupted package in your repository. 

The problem is that we are not able to find package name which is causing this error. Could you please try it again and removed packages/groups to minimum and upload here logs again.

Thank you.

Comment 20 Luis Moreira 2017-11-24 01:23:50 UTC
Update

The installation of Fedora 26 broke out when I update the system.

After that, I try to installing the W10 and it broke too. I also tried the W8 that had on CD and again aborted the installation. And this CD I knew it was 100% because I had used it several times.

As the disk ended up being formatted in NTFS when trying to install Windows, I removed it and put it in a usb case to do tests ... et voila ... I find the bad guy !!!

Bad sectors and alerts on all test programs.

I've already run the chkdsk / f / r command to see if it has isolated bad clusters, but when I tried to install Windows again, it aborted again, this time at the end.

Right now, I'm giving him the last chance to stay on that PC by running HDD Regenerator. If it does not resolve, it will have to be replaced.

Thank you for your help.

I will return to closing the issue when finalizing the installation of Fedora.

Comment 21 Jiri Konecny 2017-11-24 07:40:43 UTC
Thank you Luis for reporting back. I wish you to fix your problem soon.

Comment 22 Luis Moreira 2018-02-15 23:30:46 UTC
Close the Bug report.
I've change the Hard Drive. And finally install the Fedora correctly.

Thanks for the help.


Note You need to log in before you can comment on or make changes to this bug.