F28: Failed to start dnf automatic install updates
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2014
    Location
    EU
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    F28: Failed to start dnf automatic install updates

    Code:
    Dec 31 08:51:12 localhost.localdomain abrt-server[1178]: Deleting problem directory '/var/spool/abrt/Python3-2018-12-31-08:51:11-531'
    Dec 31 08:51:12 localhost.localdomain abrt-server[1178]: 'post-create' on '/var/spool/abrt/Python3-2018-12-31-08:51:11-531' exited with 1
    Dec 31 08:51:12 localhost.localdomain abrt-server[1178]: ABRT_IGNORE variable is 1 - not saving the crash
    Dec 31 08:51:11 localhost.localdomain systemd[1]: Failed to start dnf automatic install updates.
    Dec 31 08:51:11 localhost.localdomain systemd[1]: dnf-automatic-install.service: Failed with result 'exit-code'.
    Dec 31 08:51:11 localhost.localdomain systemd[1]: dnf-automatic-install.service: Main process exited, code=exited, status=1/FAILURE
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]: FileNotFoundError: [Errno 2] No such file or directory: '/var/cache/dnf/updates-8bd9ef368505a5fd/packag>
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:     with open(path) as package:
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:   File "/usr/lib/python3.6/site-packages/dnf/rpm/__init__.py", line 68, in _header
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:     return dnf.rpm._header(self.localPkg())
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:   File "/usr/lib/python3.6/site-packages/dnf/package.py", line 87, in _header
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:     hdr = tsi.installed._header
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:   File "/usr/lib/python3.6/site-packages/dnf/transaction.py", line 209, in _populate_rpm_ts
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:     self.transaction._populate_rpm_ts(self._ts)
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:   File "/usr/lib/python3.6/site-packages/dnf/base.py", line 859, in do_transaction
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:     base.do_transaction()
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:   File "/usr/lib/python3.6/site-packages/dnf/automatic/main.py", line 222, in main
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:     sys.exit(dnf.automatic.main.main(sys.argv[1:]))
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]:   File "/usr/bin/dnf-automatic", line 32, in <module>
    Dec 31 08:51:11 localhost.localdomain dnf-automatic[531]: Traceback (most recent call last):
    Dec 31 08:51:11 localhost.localdomain python3[531]: detected unhandled Python exception in '/usr/bin/dnf-automatic'
    Dec 31 08:51:11 localhost.localdomain systemd[1]: Started dnf automatic.
    Any idea pls ?

  2. #2
    Join Date
    Jul 2005
    Location
    Win-a-pig
    Age
    51
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F28: Failed to start dnf automatic install updates

    Same issue here with FC30. I have 3 different FC30 boxes but only one has this issue.

    Code:
    Sep  3 04:03:39 noahbody5 systemd[1]: Starting dnf automatic install updates...
    Sep  3 04:03:40 noahbody5 dnf-automatic[6355]: Last metadata expiration check: 2:49:28 ago on Tue 03 Sep 2019 01:14:12 AM CDT.
    Sep  3 04:03:43 noahbody5 dnf-automatic[6355]: Running transaction check
    Sep  3 04:03:44 noahbody5 dnf-automatic[6355]: Transaction check succeeded.
    Sep  3 04:03:44 noahbody5 dnf-automatic[6355]: Running transaction test
    Sep  3 04:03:44 noahbody5 dnf-automatic[6355]: Transaction test succeeded.
    Sep  3 04:03:44 noahbody5 dnf-automatic[6355]: Running transaction
    Sep  3 04:03:46 noahbody5 python3[6355]: detected unhandled Python exception in '/usr/bin/dnf-automatic'
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]: Traceback (most recent call last):
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/bin/dnf-automatic", line 32, in <module>
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    sys.exit(dnf.automatic.main.main(sys.argv[1:]))
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib/python3.7/site-packages/dnf/automatic/main.py", line 264, in main
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    emitters.commit()
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib/python3.7/site-packages/dnf/util.py", line 493, in fn
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    return list(map(call_what, self))
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib/python3.7/site-packages/dnf/util.py", line 492, in call_what
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    return method(*args, **kwargs)
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib/python3.7/site-packages/dnf/automatic/emitter.py", line 103, in commit
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    smtp = smtplib.SMTP(self._conf.email_host, timeout=300)
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib64/python3.7/smtplib.py", line 251, in __init__
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    (code, msg) = self.connect(host, port)
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib64/python3.7/smtplib.py", line 336, in connect
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    self.sock = self._get_socket(host, port, self.timeout)
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib64/python3.7/smtplib.py", line 307, in _get_socket
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    self.source_address)
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib64/python3.7/socket.py", line 727, in create_connection
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    raise err
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:  File "/usr/lib64/python3.7/socket.py", line 716, in create_connection
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]:    sock.connect(sa)
    Sep  3 04:03:46 noahbody5 dnf-automatic[6355]: ConnectionRefusedError: [Errno 111] Connection refused
    Sep  3 04:03:46 noahbody5 systemd[1]: dnf-automatic-install.service: Main process exited, code=exited, status=1/FAILURE
    Sep  3 04:03:46 noahbody5 systemd[1]: dnf-automatic-install.service: Failed with result 'exit-code'.
    Sep  3 04:03:46 noahbody5 systemd[1]: Failed to start dnf automatic install updates.
    Sep  3 04:03:46 noahbody5 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-automatic-install comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
    /NoAhBoDy

Similar Threads

  1. Failed to start ufw after latest updates
    By FranceBB in forum Using Fedora
    Replies: 4
    Last Post: 7th June 2018, 11:23 PM
  2. Replies: 4
    Last Post: 18th November 2016, 01:28 AM
  3. [SOLVED]
    KDE failed to start after yesterday's updates
    By jbuckley2004 in forum Installation, Upgrades and Live Media
    Replies: 10
    Last Post: 25th September 2016, 07:37 AM
  4. Install and resart after automatic updates
    By tito_pt in forum Using Fedora
    Replies: 5
    Last Post: 24th March 2008, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •