跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[Ubuntu] 求救, Ubuntu22.04 apt 报错无法安装、更新和卸载软件包...

发表于

一台 Ubuntu Server 22.04.2,就正常 docker 跑几个服务,很久也没管,但是今天在 apt upgrade 的时候,报错如下

ubuntu@ubuntu:~$ sudo apt upgrade 
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:
 libc6-dev : Depends: libc6 (= 2.35-0ubuntu3.1) but 2.35-0ubuntu3.6 is installed
 libssl-dev : Depends: libssl3 (= 3.0.2-0ubuntu1.10) but 3.0.2-0ubuntu1.14 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

搜了下应该是 libc6 版本过高,我记得好像上半年也遇到过有服务器出现这个问题,这个是什么情况呢?本机装的环境组件也很少,除了 docker,就装了个 build-essential,实际上这个也用不到,就 docker 里面跑几个程序。但是现在出现这个 libc6 版本过高的问题?关键是现在用 apt 命令也无法升级、安装、卸载,用它提示的 --fix-broken 选项毛用没有。

有大佬知道为什么会出这个问题,怎么解决吗?

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.