我试图从 Ubuntu 23.04 中删除 thunderbird,但无济于事。尝试清除它时也遇到了同样的问题。在这两种情况下,我都收到以下消息
Package 'thunderbird' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我还去了 snap 商店尝试卸载它,但我只看到一个安装选项。尝试locate thunderbird
返回一个相当长的列表(附加在末尾,由于字数限制而减去缓存条目),我仍然可以启动 thunderbird,所以显然它已经安装。除了手动从指向我的所有地方删除它之外,我还有其他选择吗locate
?我是否应该这样做?
/home/username/.thunderbird
/home/username/.thunderbird/830eebcx.default-release
/home/username/.thunderbird/830eebcx.default-release/.parentlock
/home/username/.thunderbird/830eebcx.default-release/AlternateServices.txt
/home/username/.thunderbird/830eebcx.default-release/SiteSecurityServiceState.txt
/home/username/.thunderbird/830eebcx.default-release/abook.sqlite
/home/username/.thunderbird/830eebcx.default-release/addonStartup.json.lz4
/home/username/.thunderbird/830eebcx.default-release/addons.json
/home/username/.thunderbird/830eebcx.default-release/blist.sqlite
/home/username/.thunderbird/830eebcx.default-release/calendar-data
/home/username/.thunderbird/830eebcx.default-release/calendar-data/local.sqlite
/home/username/.thunderbird/830eebcx.default-release/cert9.db
/home/username/.thunderbird/830eebcx.default-release/compatibility.ini
/home/username/.thunderbird/830eebcx.default-release/cookies.sqlite
/home/username/.thunderbird/830eebcx.default-release/crashes
/home/username/.thunderbird/830eebcx.default-release/crashes/events
/home/username/.thunderbird/830eebcx.default-release/datareporting
/home/username/.thunderbird/830eebcx.default-release/datareporting/archived
/home/username/.thunderbird/830eebcx.default-release/datareporting/archived/2023-04
/home/username/.thunderbird/830eebcx.default-release/datareporting/archived/2023-04/1680717316251.86ba53c8-50e7-440a-91ba-cb513140c858.new-profile.jsonlz4
/home/username/.thunderbird/830eebcx.default-release/datareporting/archived/2023-04/1680717316258.945a698a-253b-44d2-a714-b3095ddca811.main.jsonlz4
/home/username/.thunderbird/830eebcx.default-release/datareporting/archived/2023-04/1680717316259.28788b43-8a2e-4ef2-8318-80ec3c95bf3f.first-shutdown.jsonlz4
/home/username/.thunderbird/830eebcx.default-release/datareporting/session-state.json
/home/username/.thunderbird/830eebcx.default-release/directoryTree.json
/home/username/.thunderbird/830eebcx.default-release/encrypted-openpgp-passphrase.txt
/home/username/.thunderbird/830eebcx.default-release/extension-preferences.json
/home/username/.thunderbird/830eebcx.default-release/extensions.json
/home/username/.thunderbird/830eebcx.default-release/favicons.sqlite
/home/username/.thunderbird/830eebcx.default-release/global-messages-db.sqlite
/home/username/.thunderbird/830eebcx.default-release/history.sqlite
/home/username/.thunderbird/830eebcx.default-release/key4.db
/home/username/.thunderbird/830eebcx.default-release/lock
/home/username/.thunderbird/830eebcx.default-release/mailViews.dat
/home/username/.thunderbird/830eebcx.default-release/minidumps
/home/username/.thunderbird/830eebcx.default-release/openpgp.sqlite
/home/username/.thunderbird/830eebcx.default-release/permissions.sqlite
/home/username/.thunderbird/830eebcx.default-release/pkcs11.txt
/home/username/.thunderbird/830eebcx.default-release/places.sqlite
/home/username/.thunderbird/830eebcx.default-release/prefs.js
/home/username/.thunderbird/830eebcx.default-release/saved-telemetry-pings
/home/username/.thunderbird/830eebcx.default-release/saved-telemetry-pings/28788b43-8a2e-4ef2-8318-80ec3c95bf3f
/home/username/.thunderbird/830eebcx.default-release/saved-telemetry-pings/86ba53c8-50e7-440a-91ba-cb513140c858
/home/username/.thunderbird/830eebcx.default-release/saved-telemetry-pings/945a698a-253b-44d2-a714-b3095ddca811
/home/username/.thunderbird/830eebcx.default-release/search.json.mozlz4
/home/username/.thunderbird/830eebcx.default-release/security_state
/home/username/.thunderbird/830eebcx.default-release/sessionCheckpoints.json
/home/username/.thunderbird/830eebcx.default-release/storage
/home/username/.thunderbird/830eebcx.default-release/storage.sqlite
/home/username/.thunderbird/830eebcx.default-release/storage/ls-archive.sqlite
/home/username/.thunderbird/830eebcx.default-release/storage/permanent
/home/username/.thunderbird/830eebcx.default-release/storage/permanent/chrome
/home/username/.thunderbird/830eebcx.default-release/storage/permanent/chrome/.metadata-v2
/home/username/.thunderbird/830eebcx.default-release/storage/permanent/chrome/idb
/home/username/.thunderbird/830eebcx.default-release/storage/permanent/chrome/idb/3870112724rsegmnoittet-es.files
/home/username/.thunderbird/830eebcx.default-release/storage/permanent/chrome/idb/3870112724rsegmnoittet-es.sqlite
/home/username/.thunderbird/830eebcx.default-release/times.json
/home/username/.thunderbird/830eebcx.default-release/xulstore.json
/home/username/.thunderbird/Crash Reports
/home/username/.thunderbird/Crash Reports/InstallTime20230328155238
/home/username/.thunderbird/Crash Reports/events
/home/username/.thunderbird/Pending Pings
/home/username/.thunderbird/bo50c7ws.default-release-1
/home/username/.thunderbird/bo50c7ws.default-release-1/.parentlock
/home/username/.thunderbird/bo50c7ws.default-release-1/AlternateServices.txt
/home/username/.thunderbird/bo50c7ws.default-release-1/SiteSecurityServiceState.txt
/home/username/.thunderbird/bo50c7ws.default-release-1/abook.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/addonStartup.json.lz4
/home/username/.thunderbird/bo50c7ws.default-release-1/addons.json
/home/username/.thunderbird/bo50c7ws.default-release-1/blist.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/calendar-data
/home/username/.thunderbird/bo50c7ws.default-release-1/calendar-data/local.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/cert9.db
/home/username/.thunderbird/bo50c7ws.default-release-1/compatibility.ini
/home/username/.thunderbird/bo50c7ws.default-release-1/content-prefs.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/cookies.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/crashes
/home/username/.thunderbird/bo50c7ws.default-release-1/crashes/events
/home/username/.thunderbird/bo50c7ws.default-release-1/crashes/store.json.mozlz4
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/archived
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/archived/2023-10
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/archived/2023-10/1698731335511.5a260879-8e7c-422f-a2cd-8fe174207caf.health.jsonlz4
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/archived/2023-10/1698731335698.d8975c2b-4159-4962-85f4-a93181e9b30b.health.jsonlz4
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/archived/2023-10/1698731335758.dcbf704d-78ef-4194-a624-d1a208f4627a.main.jsonlz4
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/archived/2023-10/1698731335764.602ca0b6-1e76-45d4-847f-614c3d50a723.first-shutdown.jsonlz4
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/session-state.json
/home/username/.thunderbird/bo50c7ws.default-release-1/datareporting/state.json
/home/username/.thunderbird/bo50c7ws.default-release-1/directoryTree.json
/home/username/.thunderbird/bo50c7ws.default-release-1/encrypted-openpgp-passphrase.txt
/home/username/.thunderbird/bo50c7ws.default-release-1/extension-preferences.json
/home/username/.thunderbird/bo50c7ws.default-release-1/extensions.json
/home/username/.thunderbird/bo50c7ws.default-release-1/favicons.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/formhistory.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/global-messages-db.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/handlers.json
/home/username/.thunderbird/bo50c7ws.default-release-1/history.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/key4.db
/home/username/.thunderbird/bo50c7ws.default-release-1/lock
/home/username/.thunderbird/bo50c7ws.default-release-1/mailViews.dat
/home/username/.thunderbird/bo50c7ws.default-release-1/minidumps
/home/username/.thunderbird/bo50c7ws.default-release-1/openpgp.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/permissions.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/pkcs11.txt
/home/username/.thunderbird/bo50c7ws.default-release-1/places.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/prefs.js
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/587ab3cb-609a-4dc7-b867-a82f468eb23e
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/5a260879-8e7c-422f-a2cd-8fe174207caf
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/602ca0b6-1e76-45d4-847f-614c3d50a723
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/605ad14d-d8e1-4bbe-a1a5-2f72ad62a3b4
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/81490153-f28e-47f2-927b-b0d4405c6b98
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/a46dbe81-82c8-417f-a59b-6cb0cbb0f647
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/a5df3d76-bf3a-48ec-919e-0ffab2627e9b
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/b0b8d3c0-8485-40e0-a56f-515dea242d45
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/c63fc90e-6db1-4971-a54a-b26554202351
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/d8975c2b-4159-4962-85f4-a93181e9b30b
/home/username/.thunderbird/bo50c7ws.default-release-1/saved-telemetry-pings/dcbf704d-78ef-4194-a624-d1a208f4627a
/home/username/.thunderbird/bo50c7ws.default-release-1/search.json.mozlz4
/home/username/.thunderbird/bo50c7ws.default-release-1/security_state
/home/username/.thunderbird/bo50c7ws.default-release-1/sessionCheckpoints.json
/home/username/.thunderbird/bo50c7ws.default-release-1/settings
/home/username/.thunderbird/bo50c7ws.default-release-1/settings/data.safe.bin
/home/username/.thunderbird/bo50c7ws.default-release-1/storage
/home/username/.thunderbird/bo50c7ws.default-release-1/storage.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++addons.thunderbird.net
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++addons.thunderbird.net/.metadata-v2
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++addons.thunderbird.net/ls
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++addons.thunderbird.net/ls/data.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++addons.thunderbird.net/ls/usage
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++www.google.com
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++www.google.com/.metadata-v2
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++www.google.com/ls
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++www.google.com/ls/data.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/default/https+++www.google.com/ls/usage
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/ls-archive.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/permanent
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/permanent/chrome
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/permanent/chrome/.metadata-v2
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/permanent/chrome/idb
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/permanent/chrome/idb/3870112724rsegmnoittet-es.files
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/permanent/chrome/idb/3870112724rsegmnoittet-es.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/storage/temporary
/home/username/.thunderbird/bo50c7ws.default-release-1/times.json
/home/username/.thunderbird/bo50c7ws.default-release-1/webappsstore.sqlite
/home/username/.thunderbird/bo50c7ws.default-release-1/xulstore.json
/home/username/.thunderbird/gg59b6rw.default
/home/username/.thunderbird/gg59b6rw.default/times.json
/home/username/.thunderbird/installs.ini
/home/username/.thunderbird/profiles.ini
/home/username/snap/snap-store/common/.cache/gnome-software/icons/56b810e86e55b9202f2bfdeabed9fa67c8a87aa8-thunderbird.png
/home/username/snap/snap-store/common/.cache/gnome-software/icons/769cc5b0f634c85ab4bcfade854f1984b4c28e93-thunderbird.png
/home/username/snap/snap-store/common/.cache/gnome-software/odrs/io.snapcraft.thunderbird-k1Ml1O9GzSO2QftV0ZlWSbUfQ78nN460.json
/home/username/snap/snap-store/common/.cache/gnome-software/screenshots/112x63/0f8b5d2b2ad6d7fbfa03e44dca59d3ca1f4c7937b19eb19cd1dcbf7f89d32f15-thunderbird.png
/home/username/snap/snap-store/common/.cache/gnome-software/screenshots/624x351/0f8b5d2b2ad6d7fbfa03e44dca59d3ca1f4c7937b19eb19cd1dcbf7f89d32f15-thunderbird.png
/opt/thunderbird
/opt/thunderbird/Throbber-small.gif
/opt/thunderbird/application.ini
/opt/thunderbird/chrome
/opt/thunderbird/chrome/icons
/opt/thunderbird/chrome/icons/default
/opt/thunderbird/chrome/icons/default/default128.png
/opt/thunderbird/chrome/icons/default/default16.png
/opt/thunderbird/chrome/icons/default/default22.png
/opt/thunderbird/chrome/icons/default/default24.png
/opt/thunderbird/chrome/icons/default/default256.png
/opt/thunderbird/chrome/icons/default/default32.png
/opt/thunderbird/chrome/icons/default/default48.png
/opt/thunderbird/chrome/icons/default/default64.png
/opt/thunderbird/crashreporter
/opt/thunderbird/crashreporter.ini
/opt/thunderbird/defaults
/opt/thunderbird/defaults/messenger
/opt/thunderbird/defaults/messenger/mailViews.dat
/opt/thunderbird/defaults/pref
/opt/thunderbird/defaults/pref/channel-prefs.js
/opt/thunderbird/dependentlibs.list
/opt/thunderbird/fonts
/opt/thunderbird/fonts/.uuid
/opt/thunderbird/fonts/TwemojiMozilla.ttf
/opt/thunderbird/icons
/opt/thunderbird/icons/updater.png
/opt/thunderbird/isp
/opt/thunderbird/isp/Bogofilter.sfd
/opt/thunderbird/isp/DSPAM.sfd
/opt/thunderbird/isp/POPFile.sfd
/opt/thunderbird/isp/SpamAssassin.sfd
/opt/thunderbird/isp/SpamPal.sfd
/opt/thunderbird/libfreeblpriv3.so
/opt/thunderbird/liblgpllibs.so
/opt/thunderbird/libmozgtk.so
/opt/thunderbird/libmozsandbox.so
/opt/thunderbird/libmozsqlite3.so
/opt/thunderbird/libmozwayland.so
/opt/thunderbird/libnspr4.so
/opt/thunderbird/libnss3.so
/opt/thunderbird/libnssckbi.so
/opt/thunderbird/libnssutil3.so
/opt/thunderbird/libotr.so
/opt/thunderbird/libplc4.so
/opt/thunderbird/libplds4.so
/opt/thunderbird/librnp.so
/opt/thunderbird/libsmime3.so
/opt/thunderbird/libsoftokn3.so
/opt/thunderbird/libssl3.so
/opt/thunderbird/libxul.so
/opt/thunderbird/minidump-analyzer
/opt/thunderbird/omni.ja
/opt/thunderbird/pingsender
/opt/thunderbird/platform.ini
/opt/thunderbird/plugin-container
/opt/thunderbird/precomplete
/opt/thunderbird/removed-files
/opt/thunderbird/rnp-cli
/opt/thunderbird/rnpkeys
/opt/thunderbird/thunderbird
/opt/thunderbird/thunderbird-bin
/opt/thunderbird/update-settings.ini
/opt/thunderbird/updater
/opt/thunderbird/updater.ini
/snap/gtk-common-themes/1535/share/icons/HighContrast/scalable/apps-extra/thunderbird-icon.svg
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/128/thunderbird.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/16/thunderbird.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/22/thunderbird.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/24/thunderbird.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/32/thunderbird.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/48/thunderbird.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/64/thunderbird.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/96/thunderbird.png
/usr/local/bin/thunderbird
/usr/local/share/applications/thunderbird.desktop
/usr/share/doc/git/contrib/thunderbird-patch-inline
/usr/share/doc/git/contrib/thunderbird-patch-inline/README
/usr/share/doc/git/contrib/thunderbird-patch-inline/appp.sh
/usr/share/icons/HighContrast/scalable/apps-extra/thunderbird-icon.svg
/var/lib/swcatalog/icons/ubuntu-kinetic-main/48x48/thunderbird_thunderbird.png
/var/lib/swcatalog/icons/ubuntu-kinetic-main/64x64/thunderbird_thunderbird.png
/var/lib/swcatalog/icons/ubuntu-kinetic-security-main/48x48/thunderbird_thunderbird.png
/var/lib/swcatalog/icons/ubuntu-kinetic-security-main/64x64/thunderbird_thunderbird.png
/var/lib/swcatalog/icons/ubuntu-kinetic-updates-main/48x48/thunderbird_thunderbird.png
/var/lib/swcatalog/icons/ubuntu-kinetic-updates-main/64x64/thunderbird_thunderbird.png
答案1
更新
由于您现在提供了(大概是)命令 的输出locate thunderbird
,因此很明显这涉及 APT 或 SNAP 之外的自定义安装。对于自定义安装,将二进制文件放在 下是一种惯例/opt
。执行安装的人员或程序(可能是 Mozilla 的安装程序)正确遵守了此惯例。
因此要卸载您的 thunderbird 版本(您需要有sudo
权限才能执行此操作)
删除桌面启动器
/usr/local/share/applications/thunderbird.desktop
。删除可执行文件
/usr/local/bin/thunderbird
现在,您将不再“看到”Thunderbird,即无法以通常的方式启动它。剩余的磁盘空间将被清除。
- 通过删除目录来删除应用程序二进制文件
/opt/thunderbird
。
位于下面的所有内容/home/username
都是用户配置数据。任何安装程序都不会删除这些数据,如果需要,必须由用户删除。
以下所有内容snap
均来自 SNAP 安装,可能来自安装基本主题的 SNAP。
** 原始答案 ** 在 Ubuntu 中,使用软件中心安装应用程序将以两种方式之一安装它们,要么 1).deb
使用 APT 包管理系统以包形式安装,要么 2) 使用 SNAP 包管理系统以 snap 形式安装。
如果您尝试使用软件中心或使用sudo apt remove …
或删除 Thunderbird 后它仍然存在snap remove …
,那么显然您的应用程序不是使用任何这些包管理系统安装的。
那么,您或您的系统管理员是世界上唯一知道您如何安装该应用程序的人。对于所有其他人来说,这仍然是猜测,特别是如果您没有在问题中提供具体信息(没有关于您用于卸载的命令的信息,没有关于locate
返回结果的信息等)。因此,任何答案都必须保持通用性:您需要确定您如何安装该软件包,然后相应地卸载。在最坏的情况下,这可能确实需要手动删除已安装的文件。