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
    • 最新
    • 标签
主页 / unix / 问题 / 459975
Accepted
Rui F Ribeiro
Rui F Ribeiro
Asked: 2018-08-02 16:35:41 +0800 CST2018-08-02 16:35:41 +0800 CST 2018-08-02 16:35:41 +0800 CST

升级错误 - xserver-xorg-core

  • 772

在此处运行最新版本的 antiX 17。

在进行一轮升级并为专有 VPN 客户端安装 32 位软件包后,我在执行例程时遇到依赖项错误apt upgrade。

错误是:

The following packages have been kept back:
  xserver-xorg-core

尝试执行apt-get install xserver-xorg-core返回以下消息:

# apt-get install xserver-xorg-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xserver-xorg-core : Depends: libeudev1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

为了aptitude install xserver-xorg-core进一步调试问题,我得到了这些更有意义的消息:

....
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

      Remove the following packages:                                                        
1)      libudev-dev [220:3.2-4.0nosystemd1 (now)]                                           
2)      libudev1 [220:3.2-4.0nosystemd1 (now)]                                              
3)      udev [220:3.2-4.0nosystemd1 (now)]                                                  

      Install the following packages:                                                       
4)      eudev:i386 [232:3.2.5.3 (stretch)]                                                  
5)      libblkid1:i386 [2.29.2-1+deb9u1 (stable)]                                           
6)      libeudev1 [232:3.2.5.3 (stretch)]                                                   
7)      libeudev1:i386 [232:3.2.5.3 (stretch)]                                              
8)      libkmod2:i386 [23-2 (stable)]                                                       
9)      libpcre3:i386 [2:8.39-3 (stable)]                                                   
10)     libselinux1:i386 [2.6-3+b3 (stable)]                                                

      Keep the following packages at their current version:                                 
11)     libxfont2 [1:2.0.1-3+deb9u1 (now, stable)]                                          

      Upgrade the following packages:                                                       
12)     xserver-xorg-core [2:1.19.2-1.0nosystemd1 (now) -> 2:1.19.2-1.0nosystemd2 (stretch)]

      Downgrade the following packages:                                                     
13)     libblkid1 [2.29.2-1.0nosystemd1 (now, stretch) -> 2.29.2-1+deb9u1 (stable)]       

该怎么办?

debian apt
  • 1 1 个回答
  • 973 Views

1 个回答

  • Voted
  1. Best Answer
    Rui F Ribeiro
    2018-08-02T16:35:41+08:002018-08-02T16:35:41+08:00

    诊断后,我开始调查,似乎在最新的 antiX 版本中,默认值是eudev而不是udev.

    所以我显然把它替换为我安装的其他东西的依赖项而没有注意到。

    做 then an 之后apt-get install eudev,我就可以毫不犹豫地做apt-get upgradean xserver-org-core:

    $ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      xserver-xorg-core
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 3,373 kB of archives.
    After this operation, 4,096 B of additional disk space will be used.
    Do you want to continue? [Y/n] 
    Get:1 http://repo.antixlinux.com/stretch stretch/nosystemd amd64 xserver-xorg-core amd64 2:1.19.2-1.0nosystemd2 [3,373 kB]
    Fetched 3,373 kB in 14s (228 kB/s)                                                                                
    (Reading database ... 141831 files and directories currently installed.)
    Preparing to unpack .../xserver-xorg-core_2%3a1.19.2-1.0nosystemd2_amd64.deb ...
    Unpacking xserver-xorg-core (2:1.19.2-1.0nosystemd2) over (2:1.19.2-1.0nosystemd1) ...
    Setting up xserver-xorg-core (2:1.19.2-1.0nosystemd2) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    
    • 0

相关问题

  • GRUB 配置以识别同一 Linux 发行版的不同桌面环境(安装)

  • astyle 不会更改源文件格式

  • 接收有关全新 Debian 的电子邮件

  • Debian Stretch:libgs_plugin_systemd-updates.so 中的 gnome-software 段错误

  • 如何在拼音输入法中输入ü?

Sidebar

Stats

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

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    ssh 无法协商:“找不到匹配的密码”,正在拒绝 cbc

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    如何卸载内核模块“nvidia-drm”?

    • 13 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Wong Jia Hau ssh-add 返回:“连接代理时出错:没有这样的文件或目录” 2018-08-24 23:28:13 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST
  • Martin Hope
    Bagas Sanjaya 为什么 Linux 使用 LF 作为换行符? 2017-12-20 05:48:21 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve