Skip to content

Uninstall from amazon linux 2023 #5335

@matt-horwood-mayden

Description

@matt-horwood-mayden

This is the place to report a reproducible bug, documentation error or feature request for ProxySQL.

Support questions will not be answered here. For community support, use the Google forum: https://groups.google.com/forum/#!forum/proxysql

If you are submitting a reproducible bug report, please provide:

  • A clear description of the issue
  • ProxySQL version
  • OS version
  • The steps to reproduce the issue
  • The full ProxySQL error log (default location: /var/lib/proxysql/proxysql.log)

If this is a crashing bug, please also include:

  • The package used to install ProxySQL
  • The compressed proxysql binary
  • The compressed core dump (Note: if you're worried it may contain sensitive data, please contact us for information on sharing it securely: https://proxysql.com/contact-us/)

If the above information is not provided, this issue is likely to be closed.

Please use markdown to format any code or SQL: https://guides.github.com/features/mastering-markdown/

Thank you!


When uninstalling proxysql from RPM package proxysql-3.0.5-1.aarch64 and error happens and the uninstall fails

  • 3.0.5
  • amazon linux 2023, up to date

  • install proxysql from RPM dnf install proxysql
  • unistall proxysql dns remove proxysql

[root@ip-10-32-35-73 ~]# dnf remove proxysql
Dependencies resolved.
=============================================================================================================================================================================================================================================
 Package                                                  Architecture                                            Version                                                    Repository                                                 Size
=============================================================================================================================================================================================================================================
Removing:
 proxysql                                                 aarch64                                                 3.0.5-1                                                    @proxysql                                                 139 M

Transaction Summary
=============================================================================================================================================================================================================================================
Remove  1 Package

Freed space: 139 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                     1/1
  Running scriptlet: proxysql-3.0.5-1.aarch64                                                                                                                                                                                            1/1
/var/tmp/rpm-tmp.YmLxQl: line 2: fg: no job control
error: %preun(proxysql-3.0.5-1.aarch64) scriptlet failed, exit status 1

Error in PREUN scriptlet in rpm package proxysql
  Verifying        : proxysql-3.0.5-1.aarch64                                                                                                                                                                                            1/1

Failed:
  proxysql-3.0.5-1.aarch64

Error: Transaction failed

Investigations show that the BuildRequires line in docker/images/proxysql/rhel-compliant/rpmmacros/rpmbuild/SPECS/proxysql.spec should be un-commented, but for that to work the build images would also need systemd-rpm-macros insatlled

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions