I am trying to uninstall detach-database plugin from fuel master but it is showing error "Error in PREUN scriptlet in rpm package detach-database-1.1-1.1.0-1.noarch". To remove this plugin and make it re-install, have to delete the rpm with rpm -e option.
Hi,
I am trying to uninstall detach-database plugin from fuel master but it is showing error "Error in PREUN scriptlet in rpm package detach- database- 1.1-1.1. 0-1.noarch" . To remove this plugin and make it re-install, have to delete the rpm with rpm -e option.
Please find all execution below.
Plugin List -
[root@fuel ~]# fuel plugins --list ------- ------- ------- -----+- ------- -+----- ------- -----+- ------- ------- ------- ------- ------- ------- --- kibana | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0) ure_alerting | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
id | name | version | package_version | releases
---+---
1 | elasticsearch_
2 | influxdb_grafana | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
3 | lma_collector | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
4 | lma_infrastruct
6 | detach-database | 1.1.0 | 4.0.0 | ubuntu (mitaka-9.0, newton-10.0)
[root@fuel ~]#
[root@fuel ~]#
[root@fuel ~]#
[root@fuel ~]#
Removing plugin:-
[root@fuel ~]# fuel plugins --remove detach- database= =1.1.0 database- 1.1.noarch 0:1.1.0-1 will be erased
Loaded plugins: fastestmirror, priorities
Resolving Dependencies
--> Running transaction check
---> Package detach-
--> Finished Dependency Resolution
Dependencies Resolved
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == database- 1.1 noarch 1.1.0-1 @/detach- database- 1.1-1.1. 0-1.noarch 23 k
Package Arch Version Repository Size
=======
Removing:
detach-
Transaction Summary ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
Remove 1 Package
Installed size: 23 k rpm-tmp. xhtiHI: line 9: syntax error near unexpected token `fi' rpm-tmp. xhtiHI: line 9: `fi' detach- database- 1.1-1.1. 0-1.noarch) scriptlet failed, exit status 2 database- 1.1-1.1. 0-1.noarch database- 1.1-1.1. 0-1.noarch 1/1
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
/var/tmp/
/var/tmp/
error: %preun(
Error in PREUN scriptlet in rpm package detach-
Verifying : detach-
Failed: database- 1.1.noarch 0:1.1.0-1
detach-
Complete!
Shell command executed with "1" exit code: yum -y remove detach-database-1.1
[root@fuel ~]#
[root@fuel ~]# fuel plugins --list ------- ------- ------- -----+- ------- -+----- ------- -----+- ------- ------- ------- ------- ------- ------- --- kibana | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0) ure_alerting | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0) database- 1.1-1.1. 0-1.noarch database- 1.1.noarch rpm-tmp. OLpuSY: line 9: syntax error near unexpected token `fi' rpm-tmp. OLpuSY: line 9: `fi' detach- database- 1.1-1.1. 0-1.noarch) scriptlet failed, exit status 2 database- 1.1-1.1. 0-1.noarch: erase failed database- 1.1-1.1. 0-1.noarch database- 1.1.noarch --noscripts
id | name | version | package_version | releases
---+---
1 | elasticsearch_
2 | influxdb_grafana | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
3 | lma_collector | 0.10.0 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
4 | lma_infrastruct
[root@fuel ~]#
[root@fuel ~]# rpm -qa | grep detach
detach-
[root@fuel ~]#
[root@fuel ~]#
[root@fuel ~]# rpm -e detach-
/var/tmp/
/var/tmp/
error: %preun(
error: detach-
[root@fuel ~]#
[root@fuel ~]# rpm -qa | grep detach
detach-
[root@fuel ~]#
[root@fuel ~]#
[root@fuel ~]# rpm -e detach-
[root@fuel ~]#
[root@fuel ~]#
[root@fuel ~]#
[root@fuel ~]# rpm -qa | grep detach
[root@fuel ~]#
[root@fuel ~]#