You are not logged in.

#1 2025-07-08 09:01:17

lingye
Member
Registered: 2025-07-08
Posts: 2

I'm having trouble pushing to the aur repository

I encountered the following error:
18 in enumeration object: Done.
100% (18/18) in object count: Done.
Using 8 threads for compression
Compressed objects: 100% (13/13), done.
Written objects: 100% (18/18), 16.68 KiB | 299.00 KiB/s, done.
Total 18 (differences 2),multiplexing 0 (differences 0),Package multiplexing 0 (from 0 packages)
remote: error: The following error occurred when parsing commit
remote: error: 2e2377b33e6c7ee0956a52ff256ed946030c8029:
remote: error: the repository must not contain subdirectories
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/nightnote.git
! [remote rejected] master -> master (hook declined)
Error: Unable to push some references to 'ssh://aur.archlinux.org/nightnote.git'

But there are no extra folders in the folder:
Permissions  Size User Date Modified Name
drwx------@     - root  8 Jul  16:18  .git
.rw-------@   193 root  8 Jul  16:12  .SRCINFO
.rw-r--r--@ 6.5Ki root  8 Jul  16:13  nightnote-25.0708.1-1-aarch64.pkg.tar.xz
.rwx------@  70Ki root  8 Jul  13:19  nnote
.rw-------@   284 root  8 7 月  16:11  PKGBUILD

What should I do? Seeking help from everyone.

Offline

#2 2025-07-08 09:33:20

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,186
Website

Re: I'm having trouble pushing to the aur repository

I guess you have a directory in commit "2e2377b33e6c7ee0956a52ff256ed946030c8029"..?

Offline

#3 2025-07-08 09:35:44

lingye
Member
Registered: 2025-07-08
Posts: 2

Re: I'm having trouble pushing to the aur repository

gromit wrote:

I guess you have a directory in commit "2e2377b33e6c7ee0956a52ff256ed946030c8029"..?

It's because I had a directory in one of my previous commits and solved it, thanks

Offline

Board footer

Powered by FluxBB