今天我收到一个提示,通知我可以升级到 Ubuntu 19.10(我目前正在运行 19.04)。
我开始升级,但遇到了 MySQL 问题,导致升级中断。我等待,升级后尝试通过重新启动mysql-server
相关部分来恢复自身,但再次出现相同的错误。升级最终完成,但显示存在一些问题。
我重启了笔记本电脑,一切似乎都正常。我运行neofetch
后得到了以下输出,显示了新19.10
版本:
然后我收到一个关于mysql-server
安装失败的弹出窗口:
几秒钟后,我又看到了另一个弹出窗口tracker-miner-fs
:
自从写这篇文章以来,尝试抓取上面的屏幕截图,屏幕截图应用程序无法打开,然后应用程序启动器无法搜索任何内容,所以,我等待了一下,然后也得到了以下崩溃错误gnome-control-center
:
我设法通过在终端中运行以下命令来修复 GUI(幸运的是,终端已经从运行中打开neofetch
)
gnome-shell --replace & disown
我明白我可能需要粘贴日志来帮助任何人解决这个问题,但是,如果你能在评论中指定你需要的信息,我会相应地更新问题。如果这对问题没有帮助,我不想粘贴大量不必要的日志信息。
我希望有人能帮我解决这些问题。我对 Linux 并不完全陌生,但我只熟悉基本命令,对 Ubuntu 的了解也相当有限。
编辑(已更新)
apt.log
:https://privatebin.net/?a9d9eae39130c6c0#6uWuPqYHf4CPEUbd4yqVGt8aG6NTxCHaTsCVSwX43mZoapt-term.log
:https://privatebin.net/?6942e15393cc140f#HUshgyaYqMUPmddDB27SMFeSb1fL7FibWiVoTA54JhEBhistory.log
:https://privatebin.net/?cd1c5f34962811fa#2kYU5AuMTD8G16wtkL3rPMmVuQMY6mVvFB4cc18X8c1smain.log
:https://privatebin.net/?e9e1da94e9d12295#7tEcbicXb5QJiQ5EABnZkszHGhbYXpQ7cfwvqUY1ec9z
编辑2
输出sudo apt install --fix-missing
sudo apt install --fix-missing
[sudo] password for matt:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
example-content g++-8 geoclue geoclue-ubuntu-geoip gir1.2-mutter-4 libc++abi1-8 libcrystalhd3 libdouble-conversion1 libgeoclue0 libglade2-0 libigdgmm5 libllvm8
libllvm8:i386 liblvm2app2.2 liblvm2cmd2.02 libmutter-4-0 libmysqlclient20 libnm-glib4 libnm-gtk0 libnm-util2 libpoppler85 libreoffice-avmedia-backend-gstreamer
libstdc++-8-dev libtagc0 libwireshark11 libwiretap8 libwsutil9 libx265-165 linux-headers-5.0.0-36 linux-headers-5.0.0-36-generic linux-image-5.0.0-36-generic
linux-modules-5.0.0-36-generic linux-modules-extra-5.0.0-36-generic mysql-client python-appindicator python-attr python-automat python-cairo python-certifi python-chardet
python-click python-colorama python-constantly python-glade2 python-gobject python-gobject-2 python-gtk2 python-hyperlink python-idna python-incremental python-libtorrent
python-notify python-numpy python-openssl python-pyasn1 python-pyasn1-modules python-pygame python-requests python-service-identity python-twisted-bin python-twisted-core
python-urllib3 python-zope.interface
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.
运行后sudo apt autoremove
然后sudo apt install --fix-missing
:
sudo apt install --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
答案1
经过进一步的谷歌搜索后,我偶然发现了这个 Ask Ubuntu 问题:跟踪器矿工 fs ubuntu 19.10
按照那里发布的答案,删除这两个目录:
~/.cache/tracker
~/.local/share/tracker
我运行了以下两个命令:
rm -rf ~/.cache/tracker
和rm -rf ~/.local/share/tracker
自从重新启动笔记本电脑后,错误弹出窗口就没再出现过。