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
    • 最新
    • 标签
主页 / user-1074311

user1785730's questions

Martin Hope
user1785730
Asked: 2021-12-08 15:20:22 +0800 CST

如何在 Ubuntu 20.04 焦点中安装 libc6-i386?

  • 4

复制?

在我发布的链接问题sources.list中,它被认为没有什么不寻常的。那么我的问题怎么可能与 fix 重复sources.list?这对远程有什么帮助?

原始问题:

我从他们的网站安装了蒸汽。Steam 想要安装一堆软件包,并因以下错误而停止:

Steam needs to install these additional packages:
libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-amd64:amd64 steam-libs-i386:i386

Press return to proceed with the installation: 
......
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libegl1 is already the newest version (1.3.2-1~ubuntu0.20.04.1).
libegl1 set to manually installed.
libgbm1 is already the newest version (21.0.3-0ubuntu0.3~20.04.5).
libgbm1 set to manually installed.
libgl1 is already the newest version (1.3.2-1~ubuntu0.20.04.1).
libgl1 set to manually installed.
libgl1-mesa-dri is already the newest version (21.0.3-0ubuntu0.3~20.04.5).
libgl1-mesa-dri set to manually installed.
libc6 is already the newest version (2.31-0ubuntu9.3).
libc6 set to manually installed.
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:
 libc6 : Breaks: libc6:i386 (!= 2.31-0ubuntu9.3) but 2.31-0ubuntu9.2 is to be installed
 libc6:i386 : Breaks: libc6 (!= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed
E: Unable to correct problems, you have held broken packages.

手动安装 libc6-386 也不起作用:

$ sudo apt install libc6-i386
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:
 libc6-i386 : Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed
E: Unable to correct problems, you have held broken packages.

更新:

$ apt policy libc6
libc6:
  Installed: 2.31-0ubuntu9.3
  Candidate: 2.31-0ubuntu9.3
  Version table:
 *** 2.31-0ubuntu9.3 100
        100 /var/lib/dpkg/status
     2.31-0ubuntu9.2 500
        500 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     2.31-0ubuntu9 500
        500 http://mx.archive.ubuntu.com/ubuntu focal/main amd64 Packages
$ apt policy libc6-i386
libc6-i386:
  Installed: (none)
  Candidate: 2.31-0ubuntu9.2
  Version table:
     2.31-0ubuntu9.2 500
        500 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     2.31-0ubuntu9 500
        500 http://mx.archive.ubuntu.com/ubuntu focal/main amd64 Packages
apt
  • 1 个回答
  • 2092 Views
Martin Hope
user1785730
Asked: 2021-12-08 14:20:25 +0800 CST

如何在 20.04 焦点中安装 Steam

  • 5

尝试steam-installer使用 Ubuntu 软件安装,得到这个非常有用的错误:

在此处输入图像描述

然后我尝试了命令行:

$ sudo apt install steam-installer

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:
 steam-installer : Depends: steam (= 1:1.0.0.61-2ubuntu3)
E: Unable to correct problems, you have held broken packages.

所以steam-installer依赖steam,无法解决!什么?Ubuntu Steam 包刚刚坏了吗?

更新:

$ sudo apt update
Hit:1 http://mx.archive.ubuntu.com/ubuntu focal InRelease                                                           
Hit:2 http://mx.archive.ubuntu.com/ubuntu focal-updates InRelease                                                   
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://mx.archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libssl1.1 openssl python3-software-properties software-properties-common software-properties-gtk
  ubuntu-advantage-tools
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2 902 kB of archives.
After this operation, 13.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.10 [1 322 kB]
Get:2 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 openssl amd64 1.1.1f-1ubuntu2.10 [620 kB]
Get:3 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-advantage-tools amd64 27.4.2~20.04.1 [859 kB]
Get:4 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 software-properties-common all 0.99.9.8 [10.6 kB]
Get:5 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 software-properties-gtk all 0.99.9.8 [66.0 kB]
Get:6 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-software-properties all 0.99.9.8 [24.9 kB]
Fetched 2 902 kB in 4s (661 kB/s)                      
Preconfiguring packages ...
(Reading database ... 418427 files and directories currently installed.)
Preparing to unpack .../0-libssl1.1_1.1.1f-1ubuntu2.10_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.10) over (1.1.1f-1ubuntu2.9) ...
Preparing to unpack .../1-openssl_1.1.1f-1ubuntu2.10_amd64.deb ...
Unpacking openssl (1.1.1f-1ubuntu2.10) over (1.1.1f-1ubuntu2.9) ...
Preparing to unpack .../2-ubuntu-advantage-tools_27.4.2~20.04.1_amd64.deb ...
Unpacking ubuntu-advantage-tools (27.4.2~20.04.1) over (27.4.1~20.04.1) ...
Preparing to unpack .../3-software-properties-common_0.99.9.8_all.deb ...
Unpacking software-properties-common (0.99.9.8) over (0.98.9.5) ...
Preparing to unpack .../4-software-properties-gtk_0.99.9.8_all.deb ...
Unpacking software-properties-gtk (0.99.9.8) over (0.98.9.5) ...
Preparing to unpack .../5-python3-software-properties_0.99.9.8_all.deb ...
Unpacking python3-software-properties (0.99.9.8) over (0.98.9.5) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.10) ...
Setting up python3-software-properties (0.99.9.8) ...
Setting up ubuntu-advantage-tools (27.4.2~20.04.1) ...
Setting up openssl (1.1.1f-1ubuntu2.10) ...
Setting up software-properties-common (0.99.9.8) ...
Setting up software-properties-gtk (0.99.9.8) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.3) ...
Processing triggers for man-db (2.9.1-1) ...

更新2:

$ sudo apt install steam
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:
 steam:i386 : Depends: libgl1-mesa-dri:i386 (>= 17.3) but it is not going to be installed or
                       libtxc-dxtn0:i386 but it is not installable
              Depends: libgl1-mesa-glx:i386 but it is not going to be installed
              Depends: libgpg-error0:i386 (>= 1.10) but it is not going to be installed
              Depends: libudev1:i386 but it is not going to be installed
              Depends: libxcb-dri3-0:i386 (>= 1.11.1) but it is not going to be installed
              Depends: libxinerama1:i386 (>= 2:1.1.1) but it is not going to be installed
              Depends: libc6:i386 (>= 2.15) but it is not going to be installed
              Depends: libstdc++6:i386 (>= 4.8) but it is not going to be installed
              Depends: libx11-6:i386 but it is not going to be installed
              Recommends: libxss1:i386 but it is not going to be installed
              Recommends: mesa-vulkan-drivers:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

来源.列表:

#deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mx.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal universe
deb http://mx.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mx.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://mx.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mx.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

我想我从来没有摆弄过这个。

steam
  • 1 个回答
  • 946 Views
Martin Hope
user1785730
Asked: 2020-09-11 11:14:43 +0800 CST

如何在 Ubuntu 20.04 中访问键盘首选项/激活 Compose 键/插入德语变音符号?

  • 1

我需要能够使用美式键盘在 Ubuntu 20.04 中编写德语变音符号。在上面找到了大量过时的文档,例如这个问题,我无法将其应用于 Ubuntu 20.04。

键盘偏好?那是哪里?在设置中,唯一与键盘相关的是“键盘快捷键”。

阅读有关“撰写密钥”的信息,这应该可以解决问题。但是文档在很长一段时间内都没有更新。如何在 Ubuntu 20.04 中激活它?

还是“撰写键”本身已过时?那么 2020 年插入德语变音符号的方式是什么?

keyboard special-characters character-set compose-key german
  • 3 个回答
  • 905 Views
Martin Hope
user1785730
Asked: 2020-08-03 14:20:03 +0800 CST

如何在 Ubuntu 20.04 中更改 grub 超时

  • 9

一个非常古老的问题的答案建议编辑

/etc/default/grub

该文件具有以下内容:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

我在引导系统时看到的超时是 10 秒。根据配置文件,它是 0 秒。那么,Ubuntu 20.04 中实际定义的超时在哪里?

grub2 boot dual-boot
  • 5 个回答
  • 23178 Views

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