You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a workaround. Idk which parts of it are necessary
# If you've run the script before, clean up
rm -rf /tmp/first-gitpack/
# Create the folder which will contain the lock file
sudo mkdir -p /var/lock/gitpack-1000.lock/
# Run the script with sudo
wget -qO- https://raw.githubusercontent.com/dominiksalvet/gitpack/master/.install/initl.sh | sudo sh
My system: Fedora 41 (Gnome) with Linux 6.11.7-666.rog.fc41.x86_64
Hello @danee940 and @adil192, sorry for my late reply -- I was quite busy recently.
However, I can confirm this bug as I also saw it recently. The issue seems to be in the /var/lock permissions of some systems. In some systems, it does not allow non-root users to create files there -- the solution is to use /tmp instead as this seems to be safe for use on all systems even for non-root users.
This fix is already incorporated in GitPack version 1.2.0. So, if you are affected by this issue and already have GitPack installed using the workaround, please uninstall GitPack first. In any case, reboot the system and try installing GitPack again using the same approach.
For everyone else, simple gitpack install github.com/dominiksalvet/gitpack or sudo gitpack install github.com/dominiksalvet/gitpack will update GitPack as expected.
Environment
Fedora Linux 41 (KDE Plasma)
Linux 6.11.0-63.fc41.x86_64
ASUS Zenbook 14 UX3405MA
Steps
I tried removing the mentioned directory, but without any success. Rebooting also didn't help.
The text was updated successfully, but these errors were encountered: