Bug 1280290 - virt-builder: unable to build f23 image: error: dnf -y update: command exited with an error
Summary: virt-builder: unable to build f23 image: error: dnf -y update: command exited...
Keywords:
Status: CLOSED DUPLICATE of bug 1280029
Alias: None
Product: Fedora
Classification: Fedora
Component: libguestfs
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-11 12:18 UTC by Lukas Brabec
Modified: 2015-11-11 12:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-11 12:28:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
virt-builder -v -x output (20.68 KB, text/plain)
2015-11-11 12:18 UTC, Lukas Brabec
no flags Details

Description Lukas Brabec 2015-11-11 12:18:08 UTC
Description of problem:
I want to build F23 image using command:

$ virt-builder fedora-23 --output fedora-23.qcow2 --format qcow2 --update

I got a stacktrace:
Traceback (most recent call last):
  File "/bin/dnf", line 35, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 198, in user_main
    errcode = main(args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 144, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 173, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 220, in do_transaction
    self.gpgsigcheck(downloadpkgs)
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 251, in gpgsigcheck
    if not sys.stdin.isatty() and not ay:
AttributeError: 'NoneType' object has no attribute 'isatty'

caused by 'dnf -y update' command.


Version-Release number of selected component (if applicable):
libguestfs-1.30.4-1.fc23.x86_64
libguestfs-tools-1.30.4-1.fc23.noarch

Comment 1 Lukas Brabec 2015-11-11 12:18:49 UTC
Created attachment 1092665 [details]
virt-builder -v -x output

Comment 2 Pino Toscano 2015-11-11 12:28:32 UTC
See also bug #1278382.

*** This bug has been marked as a duplicate of bug 1280029 ***


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