AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1075406
Accepted
wurlyfan
wurlyfan
Asked: 2018-09-15 16:30:11 +0800 CST2018-09-15 16:30:11 +0800 CST 2018-09-15 16:30:11 +0800 CST

avahi-daemon 未设置

  • 772

在过去的一两周里,我在更新 Ubuntu 18.04 时遇到了包安装失败。以下文本出现在详细信息窗口中:

Setting up gnome-session-flashback (1:3.28.0-1ubuntu1.1) ...
gnome-session-flashback.target is a disabled or a static unit not running, not starting it.
Setting up avahi-daemon (0.7-3.1ubuntu1.1) ...
Job for avahi-daemon.service failed because a timeout was exceeded.
See "systemctl status avahi-daemon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript avahi-daemon, action "restart" failed.
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Sat 2018-09-15 12:20:04 NZST; 5ms ago
  Process: 25493 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=0/SUCCESS)
 Main PID: 25493 (code=exited, status=0/SUCCESS)
   Status: "avahi-daemon 0.7 starting up."

Sep 15 12:18:35 graham-desktop avahi-daemon[25493]: Service "graham-desktop" (/services/udisks.service) successfully established.
Sep 15 12:20:04 graham-desktop systemd[1]: avahi-daemon.service: Start operation timed out. Terminating.
Sep 15 12:20:04 graham-desktop avahi-daemon[25493]: Got SIGTERM, quitting.
Sep 15 12:20:04 graham-desktop avahi-daemon[25493]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::75a:34e8:b08f:56e3.
Sep 15 12:20:04 graham-desktop avahi-daemon[25493]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.1.100.
Sep 15 12:20:04 graham-desktop avahi-daemon[25493]: Leaving mDNS multicast group on interface lo.IPv6 with address ::1.
Sep 15 12:20:04 graham-desktop avahi-daemon[25493]: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Sep 15 12:20:04 graham-desktop avahi-daemon[25493]: avahi-daemon 0.7 exiting.
Sep 15 12:20:04 graham-desktop systemd[1]: avahi-daemon.service: Failed with result 'timeout'.
Sep 15 12:20:04 graham-desktop systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
dpkg: error processing package avahi-daemon (--configure):
 installed avahi-daemon package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 avahi-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)

我已经尝试过创建一个 avahi 用户名和组(已经存在)。我不想完全重新安装,还有其他建议吗?

谢谢。

services dns avahi 18.04
  • 1 1 个回答
  • 2128 Views

1 个回答

  • Voted
  1. Best Answer
    Niclas Börlin
    2021-07-28T13:18:49+08:002021-07-28T13:18:49+08:00

    正如这个问题/答案和 wurlyfan 的评论所暗示的,最好的选择可能是卸载 avahi-daemon。

    • 0

相关问题

  • Ubuntu 服务器的 Chkconfig 替代品?

  • 如何清除 DNS 缓存?

  • “服务”和“/etc/init.d/”有什么区别?

  • 延长笔记本电脑和笔记本电脑电池寿命的技巧

  • 命令列出启动时启动的服务?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve