gpt4 book ai didi

mysql - 如何解决 ubuntu 14.04 安装 mysql-server 时未满足的依赖关系

转载 作者:太空宇宙 更新时间:2023-11-04 04:33:55 25 4
gpt4 key购买 nike

在 Ubuntu 14.04 上,我在运行 sudo apt-get install mysql-server 时遇到此错误:

    Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-3.19.0-49-generic : Depends: linux-image-3.19.0-49-generic but it is not going to be installed
linux-image-extra-3.19.0-51-generic : Depends: linux-image-3.19.0-51-generic but it is not going to be installed
linux-image-extra-3.19.0-56-generic : Depends: linux-image-3.19.0-56-generic but it is not going to be installed
linux-image-generic-lts-vivid : Depends: linux-image-3.19.0-56-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

请帮我解决这个问题。

如果我运行df -m,它会显示:

Filesystem                    1M-blocks  Used Available Use% Mounted on
/dev/mapper/sampledomain--vg-root 1811898 15709 1704127 1% /
none 1 0 1 0% /sys/fs/cgroup
udev 32200 1 32200 1% /dev
tmpfs 6443 1 6442 1% /run
none 5 0 5 0% /run/lock
none 32211 0 32211 0% /run/shm
none 100 0 100 0% /run/user
/dev/sda1 236 227 0 100% /boot

最佳答案

我的/boot 分区也满了,只是做了一个普通的旧操作

sudo apt-get upgrade

这篇文章 ( How To Fix A Full /boot Partition on Linux ) 帮助我清除了一些过时的 Linux 镜像。

以下内容可能与您没有直接关系,但经过一些删除后,我做到了

sudo apt-get install -f
sudo apt-get upgrade

输出还建议

sudo apt autoremove

这也将我的/boot 的使用率减少到 35%。

关于mysql - 如何解决 ubuntu 14.04 安装 mysql-server 时未满足的依赖关系,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36040992/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com