Skip to content

[Bug] Cannot rpm install into a specified directory #1075

@gavin1975

Description

@gavin1975

Apache Cloudberry version

cloudberry-db-1.6.0-1.el8.x86_64.rpm

What happened

I want to inistall Cloudberry-db into a specified directory, etc, /home/gpadmin/. But it will prompt error as below.

[root@gp7cdw gpadmin]# rpm -ivh cloudberry-db-1.6.0-1.el8.x86_64.rpm --prefix=/home/gpadmin/
warning: cloudberry-db-1.6.0-1.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID accad176: NOKEY
error: unpacking of archive failed on file /home/gpadmin;680f301b: cpio: File from package already exists as a directory in system
error: cloudberry-db-1.6.0-1.el8.x86_64: install failed

What you think should happen instead

No response

How to reproduce

Just using command line as :
rpm -ivh cloudberry-db-1.6.0-1.el8.x86_64.rpm --prefix=/home/gpadmin/

Operating System

Rocky Linux 8.10

Anything else

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions