Skip to content

deb file upload error #26022

Closed
Closed
@myururdurmaz

Description

@myururdurmaz

Description

Hi!
I can't upload my deb package gitea package registry. Curl request returning "unsupported compression algorithm". Because file names in my deb file ends with slash.

head -100c yonca-scripts_0.0.168_amd64.deb 
!<arch>
debian-binary/  0           0     0     644     4         `
2.0
control.tar.xz/ 0   

I found bellow message on this url https://man7.org/linux/man-pages/man5/deb-split.5.html

   The file is an ar archive with a magic value of !<arch>.  The
   file names might contain a trailing slash (since dpkg 1.15.6). 

Gitea Version

1.20.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

debian linux

How are you running Gitea?

systemd service on linux server

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions