如何卸载某个程序(声称未安装)?

如何卸载某个程序(声称未安装)?

Darktable 似乎在我的计算机上安装了两次,一次(可能)通过软件中心(似乎很慢/不可靠),一次作为 Flatpak(参见https://flathub.org/apps/details/org.darktable.Darktable)。后者安装的也是当前版本(3.8),而前者安装的是旧版本(3.2.1)。

我想删除旧版本 (3.2.1),但似乎有点奇怪:虽然我可以启动它(通过命令行或通过“启动器”),但它似乎没有安装 - 因此似乎无法删除它(无论是在 Synaptic 中还是在命令行中,参见下面的各种尝试)。无论如何,我无法自发地理解它,谷歌博士也没有返回任何有用的信息。

有任何想法吗?

apt-cache policy darktable
darktable:
  **Installed: (none)**
  Candidate: 3.0.1-0ubuntu1
  Version table:
     3.0.1-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

对阵

darktable

(darktable:160379): Gtk-WARNING **: 21:34:10.605: Theme parsing error: gtk.css:1428:23: 'font-feature-settings' is not a valid property name
(...)

对阵

darktable --version
this is darktable 3.2.1
copyright (c) 2009-2020 johannes hanika
[email protected]

compile options:
  bit depth is 64 bit
  normal build
  SSE2 optimized codepath enabled
  OpenMP support enabled
  OpenCL support enabled
  Lua support enabled, API version 6.0.0
  Colord support disabled
  gPhoto2 support disabled
  GraphicsMagick support enabled
  ImageMagick support disabled
  OpenEXR support enabled

对阵

sudo apt-get purge --auto-remove darktable
[sudo] password for user_name: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'darktable' is not installed, so not removed
The following packages will be REMOVED:
  libllvm11* libllvm11:i386* shim*
0 upgraded, 0 newly installed, 3 to remove and 8 not upgraded.
After this operation, 161 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

编辑

which darktable; snap list | grep -i darktable; flatpak list | grep -i darktable
/snap/bin/darktable
darktable                3.2.1snap1                  63     latest/stable    sergiusens    -
darktable   org.darktable.Darktable 3.8.0   stable  system

答案1

所以你必须跑

sudo snap remove darktable

删除 DarkTable 的 Snap 安装。

相关内容