-1

我是 linux 新手,我需要从 ubuntu 中删除 apache-fop:

所以在这里我做了什么:

dpkg --list | grep fop
ii  fop                                    1:1.0.dfsg2-6                              XML formatter driven by XSL Formatting Objects (XSL-FO.)
ii  libfop-java                            1:1.1.dfsg-2ubuntu1                        XML formatter driven by XSL Formatting Objects (XSL-FO.)

并删除:

amira@amira:~/Downloads$ sudo apt-get remove libfop-java_1.1.dfsg-2ubuntu1_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libfop-java_1.1.dfsg-2ubuntu1_all.deb
E: Couldn't find any package by regex 'libfop-java_1.1.dfsg-2ubuntu1_all.deb'

那么怎么了?

4

1 回答 1

5

您无需提供 .deb 或版本号。试试看嘛

sudo apt-get remove libfop-java 
于 2013-08-30T10:33:47.717 回答