使用Flatpak删除MonoDevelop的问题

时间:2019-02-24 09:29:25

标签: mono monodevelop flatpak

A正在尝试卸载我很久以前使用MonoDevelop安装的Flatpak

$ flatpak list --user --app
Description                                                 Application                        Version             Branch           Arch             Origin
MonoDevelop - Integrated Development Environment            com.xamarin.MonoDevelop            7.3.2.12            stable           x86_64           com.xamarin.MonoDevelop-origin

$ flatpak uninstall mono
Found installed ref ‘app/com.xamarin.MonoDevelop/x86_64/stable’ (user). Is this correct? [Y/n]: y

        ID                              Arch          Branch
 1. [✗] com.xamarin.MonoDevelop         x86_64        stable

Error: Error removing file: Permission denied
error: Failed to uninstall com.xamarin.MonoDevelop: Error removing file: Permission denied

然后我尝试以root用户身份运行上一个命令

$ sudo flatpak uninstall mono
Found installed ref ‘app/com.xamarin.MonoDevelop/x86_64/stable’ (user). Is this correct? [Y/n]: y
error: Refusing to operate on a user installation as root! This can lead to incorrect file ownership and permission errors.

我有些困惑,不胜感激任何建议或下一步建议。

0 个答案:

没有答案
相关问题