从linux bug卸载程序

时间:2013-08-30 10:31:48

标签: linux

我是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'

那有什么不对?

1 个答案:

答案 0 :(得分:5)

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

sudo apt-get remove libfop-java