linutil icon indicating copy to clipboard operation
linutil copied to clipboard

Error on line 198 (running on /linuxdev)

Open michaeldun123 opened this issue 1 year ago • 7 comments

Describe the bug

I was installing archtitus on my mini pc and came up with the error after the essential utilities (network manager etc) Exact error says "/bin/bash: line 198 cd /tmp/linutil_scrips.llPufCmADD9g/system-setup/arch no such file or directory"

To Reproduce

Steps to reproduce the behavior:

  1. Run the dev branch of linutil (christitus.com/linuxdev)
  2. Arch setup
  3. Try and install archtitus
  4. See error

Expected behavior

Not to error/continue with install

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

michaeldun123 avatar Aug 28 '24 16:08 michaeldun123

Screenshotimage

michaeldun123 avatar Aug 28 '24 16:08 michaeldun123

I got the same error but I rebooted into arch server ok ( didn't time all this was in the 2 minute region though) and installed plasma back around to linutil for install other bits after I now have fingers crossed but yes that error was there at install...

Glen-Sumner avatar Aug 28 '24 22:08 Glen-Sumner

I was able to replicate this issue as well. However, if you exit out of linutil and reboot your system you'll see that it did install the server. But the error is dumb and will confuse users.

2024-08-29_10-18_1

avaera8775 avatar Aug 29 '24 08:08 avaera8775

Playing around with the script code locally, if adding a mkdir -p /tmp/ and comment out the cd line inside "Cleaning", seem to resolve this issue.

I'm not sure if its ommit any of the logic around reverting the sudors though.

avaera8775 avatar Aug 29 '24 15:08 avaera8775

I was able to replicate this issue as well. However, if you exit out of linutil and reboot your system you'll see that it did install the server. But the error is dumb and will confuse users.

2024-08-29_10-18_1

And I think that is why it confused me a lot. As the error popped up and didn't even think to test it out if it installed or not

michaeldun123 avatar Aug 30 '24 20:08 michaeldun123

@ChrisTitusTech is there any chance that this could be looked into? I know you mainly look at PRs but. Not sure if this is worth a PR. Plus. Not sure what to mainly fix. As I had a look at the code and line 198 doesn't say anything about it

michaeldun123 avatar Aug 30 '24 21:08 michaeldun123

@ChrisTitusTech is there any chance that this could be looked into? I know you mainly look at PRs but. Not sure if this is worth a PR. Plus. Not sure what to mainly fix. As I had a look at the code and line 198 doesn't say anything about it

I think I fixed this and in the next latest release it will work properly.

ChrisTitusTech avatar Sep 02 '24 04:09 ChrisTitusTech

/close Fixed

adamperkowski avatar Sep 19 '24 15:09 adamperkowski