Error updating repos

16 views
Skip to first unread message

zman

unread,
Apr 20, 2022, 10:43:15 AM4/20/22
to autopkgr-discuss
Hi,

Sorry, I am getting this error trying to update  repos:

ERROR: error: The following untracked working tree files would be overwritten by merge:

   DanRodney/ProperFractionLiteHVScaleInDesignCC2022.munki.recipe

   DanRodney/ProperFractionLiteHVScaleInDesignCC2022.pkg.recipe

Please move or remove them before you merge.

Aborting


ERROR: error: object file .git/objects/aa/0c1894792c4df9edeb4b87daf7831ca11c222f is empty

fatal: loose object aa0c1894792c4df9edeb4b87daf7831ca11c222f (stored in .git/objects/aa/0c1894792c4df9edeb4b87daf7831ca11c222f) is corrupt

error: https://github.com/autopkg/mosen-recipes.git did not send all necessary objects



ERROR: error: object file .git/objects/81/a72bef4d66c81f367d79b2d66b9a6989e7c537 is empty

fatal: SHA1 COLLISION FOUND WITH 81a72bef4d66c81f367d79b2d66b9a6989e7c537 !

fatal: index-pack failed


ERROR: error: object file .git/objects/a7/4d7de35aecc2bb30f117b629c8ffb955d6b3e1 is empty

fatal: loose object a74d7de35aecc2bb30f117b629c8ffb955d6b3e1 (stored in .git/objects/a7/4d7de35aecc2bb30f117b629c8ffb955d6b3e1) is corrupt

fatal: unpack-objects failed


ERROR: Your configuration specifies to merge with the ref 'refs/heads/master'

from the remote, but no such ref was fetched.


ERROR: error: object file .git/objects/20/0315515113ee63d11103d8a16bba4f27277c25 is empty

fatal: loose object 200315515113ee63d11103d8a16bba4f27277c25 (stored in .git/objects/20/0315515113ee63d11103d8a16bba4f27277c25) is corrupt

fatal: unpack-objects failed

More details have been logged to the system.log


Elliot Jordan

unread,
Apr 20, 2022, 1:04:17 PM4/20/22
to zman, autopkgr-discuss
This typically means you've (intentionally or accidentally) made local changes to recipes within Git-updated recipe repos. Unless you want to keep those changes, one solution would be to repo-delete and repo-add the repository in question. (Or uncheck+check the repo's box in AutoPkgr's UI.)

It looks like the two recipes in your error message are in the foigus-recipes repo.

Elliot


Please be advised that under the Public Records LawM.G.L. c.66, any email created or received by an employee of Wellesley Public Schools may be considered a public record and subject to public disclosure. This email may also contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies.

--
You received this message because you are subscribed to the Google Groups "autopkgr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autopkgr-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autopkgr-discuss/134f62f7-645e-48a5-8ceb-66d993303dc2n%40googlegroups.com.

Abdelaziz Darouichi

unread,
Apr 20, 2022, 2:25:09 PM4/20/22
to Elliot Jordan, autopkgr-discuss

Abdelaziz Darouichi

unread,
Apr 20, 2022, 3:25:09 PM4/20/22
to Elliot Jordan, autopkgr-discuss
I am still getting the empty file errors and I can't find these empty files and if I run any git commands, I get   fatal: Not a git repository (or any of the parent directories): .git


Thank you


ERROR: error: object file .git/objects/20/0315515113ee63d11103d8a16bba4f27277c25 is empty

fatal: loose object 200315515113ee63d11103d8a16bba4f27277c25 (stored in .git/objects/20/0315515113ee63d11103d8a16bba4f27277c25) is corrupt

fatal: unpack-objects failed


ERROR: error: object file .git/objects/81/is empty

fatal: SHA1 COLLISION FOUND WITH 81a72bef4d66c81f367d79b2d66b9a6989e7c537 !

fatal: index-pack failed


ERROR: error: object file .git/objects/a7/4d7de35aecc2bb30f117b629c8ffb955d6b3e1 is empty

fatal: loose object a74d7de35aecc2bb30f117b629c8ffb955d6b3e1 (stored in .git/objects/a7/4d7de35aecc2bb30f117b629c8ffb955d6b3e1) is corrupt

fatal: unpack-objects failed


ERROR: Your configuration specifies to merge with the ref 'refs/heads/master'

from the remote, but no such ref was fetched.

On Wed, Apr 20, 2022 at 1:04 PM Elliot Jordan <ell...@elliotjordan.com> wrote:

Elliot Jordan

unread,
Apr 20, 2022, 3:36:33 PM4/20/22
to Abdelaziz Darouichi, autopkgr-discuss
Please try using the autopkg command instead of the AutoPkgr app during troubleshooting, for better visibility into the issue. You shouldn't need to run raw git commands in your autopkg recipe repos. Instead try:

autopkg repo-update all

If this fails, you'll see more details information about what repo is failing to update. If successful, you'll need to update the trust information stored in your overrides after this.

Elliot

Reply all
Reply to author
Forward
0 new messages