我如何确认我找到了正确的包名称?

我如何确认我找到了正确的包名称?

我似乎遇到了“备份”错误并希望报告它。要做到这一点, 我必须找到包名称。但是,给定一个可能的选项列表,我怎么知道它是哪一个?

也就是说,我推测在这种情况下是“deja-dup”,但我希望在提交错误报告之前确认一下。我该怎么做?

$ sudo apt-cache search backups
[sudo] password for user: 
backuppc - high-performance, enterprise-grade system for backing up PCs
deja-dup - Back up your files
rsync - fast, versatile, remote (and local) file-copying tool
tar - GNU version of the tar archiving utility
[roughly one hundred other options are listed]

尝试不同的搜索方法:

$ apt search backups | grep installed | cat -b

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

     1  deja-dup/xenial-updates,now 34.2-0ubuntu1.1 amd64 [installed]
     2  rsync/xenial-updates,xenial-security,now 3.1.1-3ubuntu1.1 amd64 [installed]
     3  tar/xenial-updates,xenial-security,now 1.28-2.1ubuntu0.1 amd64 [installed]

我唯一的猜测是尝试执行命令,希望打开相同的“备份”图形用户界面,但在不知道它们会做什么的情况下执行命令似乎是危险或不好的做法。

相关内容