首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Ubuntu18.04 x64上安装x64

无法在Ubuntu18.04 x64上安装x64
EN

Ask Ubuntu用户
提问于 2019-11-19 15:55:57
回答 1查看 313关注 0票数 0

我试图在Ubuntu18.04上安装NtopNg。进入下面的错误。

代码语言:javascript
复制
apt-get install pfring-dkms nprobe ntopng n2disk cento -y
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    cento is already the newest version (1.11.191119-528).
    n2disk is already the newest version (3.3.191119-5173).
    nprobe is already the newest version (8.7.191119-6669).
    pfring-dkms is already the newest version (7.5.0).
    The following package was automatically installed and is no longer required:
      libndpi5
    Use 'sudo apt autoremove' to remove it.
    The following NEW packages will be installed:
      ntopng
    0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0 B/9,043 kB of archives.
    After this operation, 47.8 MB of additional disk space will be used.
    Preconfiguring packages ...
    (Reading database ... 74204 files and directories currently installed.)
    Preparing to unpack .../ntopng_3.9.191119-8152_amd64.deb ...
    Unpacking ntopng (3.9.191119-8152) ...
    dpkg: error processing archive /var/cache/apt/archives/ntopng_3.9.191119-8152_amd64.deb (--unpack):
     trying to overwrite '/usr/share/ntopng/httpdocs/css/bootstrap-datetimepicker.css', which is also in package ntopng-data 3.2+dfsg1-1
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/ntopng_3.9.191119-8152_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Ask Ubuntu用户

发布于 2019-11-19 16:00:00

运行sudo apt remove ntopng-data,然后重试。您有冲突的包试图写入同一个文件,这是一件很糟糕的事情。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1190071

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档