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-809568

Apogentus's questions

Martin Hope
Apogentus
Asked: 2024-07-01 19:35:10 +0800 CST

未满足的依赖关系。‘apt --fix-broken install’ 不起作用

  • 6

当我尝试安装时(在最近从 Ubuntu 23.10 升级到 Ubuntu 24.04)

sudo apt install npm

我明白了

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 npm : Depends: node-abbrev but it is not going to be installed
       Depends: node-agent-base but it is not going to be installed
       Depends: node-aproba but it is not going to be installed
       Depends: node-archy but it is not going to be installed
       Depends: node-base64-js but it is not going to be installed
       Depends: node-binary-extensions but it is not going to be installed
       Depends: node-cacache (>= 17) but it is not going to be installed
       Depends: node-chalk (>= 5.1.2-2~) but it is not going to be installed
       Depends: node-chownr but it is not going to be installed
       Depends: node-ci-info but it is not going to be installed
       Depends: node-cli-table3
       Depends: node-colors but it is not going to be installed
       Depends: node-columnify but it is not going to be installed
       Depends: node-cssesc
       Depends: node-debug but it is not going to be installed
       Depends: node-depd but it is not going to be installed
       Depends: node-diff but it is not going to be installed
       Depends: node-emoji-regex
       Depends: node-encoding but it is not going to be installed
       Depends: node-events but it is not going to be installed
       Depends: node-glob but it is not going to be installed
       Depends: node-got but it is not going to be installed
       Depends: node-graceful-fs but it is not going to be installed
       Depends: node-gyp but it is not going to be installed
       Depends: node-hosted-git-info (>= 6) but it is not going to be installed
       Depends: node-http-proxy-agent but it is not going to be installed
       Depends: node-https-proxy-agent but it is not going to be installed
       Depends: node-ieee754 but it is not going to be installed
       Depends: node-ini but it is not going to be installed
       Depends: node-ip but it is not going to be installed
       Depends: node-ip-regex but it is not going to be installed
       Depends: node-json-parse-better-errors but it is not going to be installed
       Depends: node-jsonparse but it is not going to be installed
       Depends: node-lru-cache but it is not going to be installed
       Depends: node-minimatch but it is not going to be installed
       Depends: node-minipass but it is not going to be installed
       Depends: node-mkdirp but it is not going to be installed
       Depends: node-ms but it is not going to be installed
       Depends: node-negotiator but it is not going to be installed
       Depends: node-nopt but it is not going to be installed
       Depends: node-normalize-package-data but it is not going to be installed
       Depends: node-npm-bundled but it is not going to be installed
       Depends: node-npm-normalize-package-bin
       Depends: node-npm-package-arg (>= 10) but it is not going to be installed
       Depends: node-npmlog but it is not going to be installed
       Depends: node-once but it is not going to be installed
       Depends: node-p-map but it is not going to be installed
       Depends: node-postcss-selector-parser
       Depends: node-promise-retry but it is not going to be installed
       Depends: node-promzard but it is not going to be installed
       Depends: node-read but it is not going to be installed
       Depends: node-read-package-json but it is not going to be installed
       Depends: node-rimraf but it is not going to be installed
       Depends: node-semver but it is not going to be installed
       Depends: node-ssri but it is not going to be installed
       Depends: node-string-width but it is not going to be installed
       Depends: node-strip-ansi but it is not going to be installed
       Depends: node-tar but it is not going to be installed
       Depends: node-text-table but it is not going to be installed
       Depends: node-validate-npm-package-license but it is not going to be installed
       Depends: node-validate-npm-package-name but it is not going to be installed
       Depends: node-which but it is not going to be installed
       Depends: node-wrappy but it is not going to be installed
       Depends: node-write-file-atomic but it is not going to be installed
       Depends: node-yallist but it is not going to be installed
       Depends: nodejs:any
       Recommends: node-tap but it is not going to be installed
 wine-devel-amd64 : Depends: libasound2-plugins but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

当我跑步时sudo apt --fix-broken install我得到

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  mailcap
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libasound2-plugins
The following NEW packages will be installed:
  libasound2-plugins
0 upgraded, 1 newly installed, 0 to remove and 106 not upgraded.
177 not fully installed or removed.
Need to get 0 B/74.8 kB of archives.
After this operation, 402 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 533433 files and directories currently installed.)
Preparing to unpack .../libasound2-plugins_1.2.7.1-1ubuntu5_amd64.deb ...
Unpacking libasound2-plugins:amd64 (1.2.7.1-1ubuntu5) ...
dpkg: error processing archive /var/cache/apt/archives/libasound2-plugins_1.2.7.1-1ubuntu5_amd64.deb (--unpack):
 trying to overwrite shared '/etc/alsa/conf.d/99-pulseaudio-default.conf.example', which is different from other instances of package libasound2-plugi
ns:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libasound2-plugins_1.2.7.1-1ubuntu5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

如果我尝试删除 wine(我有开发版本):sudo apt remove winehq-devel或者sudo apt-get --purge remove wine我遇到同样的问题:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 wine-devel-amd64 : Depends: libasound2-plugins but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
apt
  • 1 个回答
  • 72 Views
Martin Hope
Apogentus
Asked: 2024-06-30 18:57:47 +0800 CST

在 Ubuntu 22.04 中删除 [super] 键的分配,不显示“活动”

  • 8

我最近从 Ubuntu 23.10 升级到了 Ubuntu 24.04。之前我使用键盘分配 [super]+z 来更改键盘布局(名为“切换到下一个输入源”),效果非常好。

我仍然可以在外部应用程序(如浏览器和 lyx)中切换语言,但是当我在 gedit、本机文本编辑器、libreoffice 或其他默认程序中按下 [super]+z 时,它会显示“活动” - 当我开始按 [super] 而不是更改语言时,所有打开的应用程序的概览(所有打开的窗口的缩略图)。

我怎样才能禁用这个默认的[超级]键行为?

如果重要的话,我使用 wayland 窗口系统、gnome 版本 46、linux 内核 6.8.0-35 通用版。我的其他键盘快捷键如 [super]+[esc]、[super]+[tab]、[super]+1,2,3 都可以使用。只有使用 [super]+z 切换语言时才会出现问题。

更新:我最终使用 [ctrl]+[shift] 来设置输入源的更改,就像在 Windows 中一样。为此,我执行了

gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Control>Shift_L']"
22.04
  • 1 个回答
  • 94 Views
Martin Hope
Apogentus
Asked: 2020-05-25 05:31:45 +0800 CST

Okular 和 GIMP (Ubuntu 18.04) 无法访问来自单独分区的文件

  • 1

在安装 Ubuntu 18.04 期间,我创建了一个单独的分区/store。文件是可访问的,但我无法使用 okular 和 GIMP 打开文件。没有显示确切的错误,okular 只是说Could not open file:///store/1.pdf. GIMP 说:Opening '/store/2.jpg' failed:Could not open '/store/2.jpg' for reading: No such file or directory

然而其他程序,如 chrome、文档查看器、kolourpaint 可以完美地读取 pdf、jpg 文件。

在 okular/GIMP 我单击文件->打开时,/store 不会显示在其他文件夹中。不会显示位于 ~/Desktop 中的指向它的符号链接。

有什么解决办法?

partitioning gimp okular 18.04
  • 2 个回答
  • 122 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