Details
- 
    Bug 
- 
    Status: Closed (View Workflow)
- 
    Minor 
- 
    Resolution: Fixed
- 
    1.0.5
- 
    None
- 
    None
- 
    CentOS 6
Description
If you upgrade from MaxScale 1.0.4 to 1.0.5, and try to remove the 1.0.5 RPM, you get an error.
[root@max1 skysql]# rpm -i http://downloads.mariadb.com/software/MaxScale/maxscale/RPM/rhel6/maxscale-1.0.4-stable.rpm
[root@max1 skysql]# yum update maxscale
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package maxscale.x86_64 0:1.0.4-1 will be updated
---> Package maxscale.x86_64 0:1.0.5-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================================
 Package                                           Arch                                            Version                                          Repository                                         Size
============================================================================================================================================================================================================
Updating:
 maxscale                                          x86_64                                          1.0.5-1                                          maxscale                                          5.0 M
Transaction Summary
============================================================================================================================================================================================================
Upgrade       1 Package(s)
Total download size: 5.0 M
Is this ok [y/N]: y
Downloading Packages:
maxscale-1.0.5-stable.rpm                                                                                                                                                            | 5.0 MB     00:06
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Updating   : maxscale-1.0.5-1.x86_64                                                                                                                                                                  1/2
  Cleanup    : maxscale-1.0.4-1.x86_64                                                                                                                                                                  2/2
  Verifying  : maxscale-1.0.5-1.x86_64                                                                                                                                                                  1/2
  Verifying  : maxscale-1.0.4-1.x86_64                                                                                                                                                                  2/2
Updated:
  maxscale.x86_64 0:1.0.5-1
Complete!
[root@max1 skysql]# rpm -e maxscale
rm: cannot remove `/etc/init.d/maxscale': No such file or directory
rm: cannot remove `/etc/ld.so.conf.d/maxscale.conf': No such file or directory
warning: %postun(maxscale-1.0.5-1.x86_64) scriptlet failed, exit status 1