You are not logged in.

#1 2021-04-10 08:50:41

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Weird error with archiso

i need a small clarification
as per the archiso documentation:-
as superuser running
`mkarchiso -v -w /path/to/work_dir -o /path/to/out_dir /path/to/profile/`

makes the iso ...
but when i run the same command as:-

`mkarchiso -v -w ./work -o ./out ./releng/`

it dosen't work but throws me an error

`[mkarchiso] ERROR: Invalid command name './releng/'
`


Whar can be done to resolve it

Offline

#2 2021-04-10 10:11:25

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 592

Re: Weird error with archiso

Works for me™.
Are you perhaps using an old archiso version? Make sure your system is fully up to date.

Offline

#3 2021-04-10 11:23:18

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

nl6720 wrote:

Works for me™.
Are you perhaps using an old archiso version? Make sure your system is fully up to date.

still i get the same issue? my system is up to date

Offline

#4 2021-04-10 11:38:55

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 592

Re: Weird error with archiso

The "Invalid command name" message was removed in https://gitlab.archlinux.org/archlinux/ … 1abfdca2fd which was released in archiso 47 on 2020-08-25.

Post the output:

$ pacman -Q archiso
$ type mkarchiso

Offline

#5 2021-04-10 11:53:30

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

nl6720 wrote:

The "Invalid command name" message was removed in https://gitlab.archlinux.org/archlinux/ … 1abfdca2fd which was released in archiso 47 on 2020-08-25.

Post the output:

$ pacman -Q archiso
$ type mkarchiso
archiso-git 52.r3.g1a97109-1
mkarchiso is /usr/bin/mkarchiso

Offline

#6 2021-04-10 12:05:07

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Weird error with archiso

`mkarchiso -v -w /path/to/work_dir -o /path/to/out_dir /path/to/profile/`

makes the iso ...
but when i run the same command as:-

Basically this should always work using the new archiso and a new profile!

`mkarchiso -v -w ./work -o ./out ./releng/`

This would only work depending on where you are in the 'dir tree'!

Offline

#7 2021-04-10 12:10:52

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

qinohe wrote:

`mkarchiso -v -w /path/to/work_dir -o /path/to/out_dir /path/to/profile/`

makes the iso ...
but when i run the same command as:-

Basically this should always work using the new archiso and a new profile!

`mkarchiso -v -w ./work -o ./out ./releng/`

This would only work depending on where you are in the 'dir tree'!

might be better if u explain further?

Offline

#8 2021-04-10 12:19:58

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Weird error with archiso

With the first command you are giving full paths.
If you used the newest archiso - which you do - and a new profile - which you probably also do otherwise the build would most likely have failed!
Build will succeed here.

The second command is not that forgiven, it depends in which dir you are to successful run the command.
So if you would perform 'ls' you need to see the 'releng' dir as output.
If not build will fail, that's it :-)

Offline

#9 2021-04-10 12:32:40

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 592

Re: Weird error with archiso

If the profile directory is wrong, it would fail with "ERROR: Profile '/the/invalid/path' does not exist!". Nothing should produce "ERROR: Invalid command name", there is no such message in mkarchiso anymore.

Run:

$ pacman -Qkk archiso
# type mkarchiso

(run the second command in a root shell)

Last edited by nl6720 (2021-04-10 12:37:44)

Offline

#10 2021-04-10 12:40:41

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Weird error with archiso

True, but if his first build succeeded, the analyzes could only be OP was in the wrong dir.
Output of the commands he gave shows 'archiso-git 52.r3.g1a97109-1' he could update to 'archiso-git 51.r9.ge43017c-1'
I looked again I saw pasted the wrong version, sorry, he is using the latest git version.

Last edited by qinohe (2021-04-10 12:45:54)

Offline

#11 2021-04-10 12:58:54

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

nl6720 wrote:

If the profile directory is wrong, it would fail with "ERROR: Profile '/the/invalid/path' does not exist!". Nothing should produce "ERROR: Invalid command name", there is no such message in mkarchiso anymore.

Run:

$ pacman -Qkk archiso
# type mkarchiso

(run the second command in a root shell)

As root:-
mkarchiso is /usr/bin/mkarchiso
archiso-git: 158 total files, 0 altered files

Offline

#12 2021-04-10 12:59:42

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

qinohe wrote:

True, but if his first build succeeded, the analyzes could only be OP was in the wrong dir.
Output of the commands he gave shows 'archiso-git 52.r3.g1a97109-1' he could update to 'archiso-git 51.r9.ge43017c-1'
I looked again I saw pasted the wrong version, sorry, he is using the latest git version.

i am using the latest git version i guess

Offline

#13 2021-04-10 13:01:04

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

someone please help me. thanks in advance

Offline

#14 2021-04-10 13:10:43

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Weird error with archiso

mychatbot wrote:

someone please help me. thanks in advance

Please don't bump with a useless plea for help (see) https://gitlab.archlinux.org/archlinux/ … no#bumping
If someone has an answer for you they will try and help you!

I do agree with nl6720 you shouldn't see that message you posted, but the one he posted, that should be clear.
Have you tried to remove archiso, also the cached version?
Rebuild and reinstall it!

edit: first try nl6720's post below mine, good call

Last edited by qinohe (2021-04-10 13:18:58)

Offline

#15 2021-04-10 13:14:32

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 592

Re: Weird error with archiso

The only thing that comes to mind is trying to find where it fails using set -x.

Edit /usr/bin/mkarchiso as root and change the fifth line from

set -e -u

to

set -e -u -x

Then run your mkarchiso command again and post the ouput (use code tags please).

Offline

#16 2021-04-10 15:53:56

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

nl6720 wrote:

The only thing that comes to mind is trying to find where it fails using set -x.

Edit /usr/bin/mkarchiso as root and change the fifth line from

set -e -u

to

set -e -u -x

Then run your mkarchiso command again and post the ouput (use code tags please).

ya this is the output for that

./steps.sh: Error on line 243: mkarchiso -v -w ./work -o ./out ./releng/

Offline

#17 2021-04-10 15:54:48

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

qinohe wrote:
mychatbot wrote:

someone please help me. thanks in advance

Please don't bump with a useless plea for help (see) https://gitlab.archlinux.org/archlinux/ … no#bumping
If someone has an answer for you they will try and help you!

I do agree with nl6720 you shouldn't see that message you posted, but the one he posted, that should be clear.
Have you tried to remove archiso, also the cached version?
Rebuild and reinstall it!

edit: first try nl6720's post below mine, good call

thanks for letting me know, i won't do that again, sorry for that one though

Offline

#18 2021-04-10 16:52:52

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 592

Re: Weird error with archiso

I have no idea what's this "steps.sh" that you're using.

Please edit /usr/bin/mkarchiso as I instructed above and post the full output of the mkarchiso command.

Offline

#19 2021-04-11 15:48:01

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

ok good news, i reinstalled arch linux, and did the same thing and it worked,

Offline

#20 2021-04-11 16:01:51

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Weird error with archiso

That's not good news, that's work without learning anything besides installing arch.
There were no reasons to reinstall arch, issues are almost always solvable without reinstalling.

Of course I'm happy for you it's working now but you would have learned a lot more if you would have identified the problem.

Offline

#21 2021-04-11 16:36:20

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

now that it is working i am celebrating, i don't care about anything else right now lol, maybe later i will diagonise the issue . ps:- i hate archinstall, why simplyify it ? let ppl learn by doing it the hard way

Offline

#22 2021-04-15 17:54:13

mychatbot
Member
Registered: 2021-04-10
Posts: 12

Re: Weird error with archiso

qinohe wrote:

That's not good news, that's work without learning anything besides installing arch.
There were no reasons to reinstall arch, issues are almost always solvable without reinstalling.

Of course I'm happy for you it's working now but you would have learned a lot more if you would have identified the problem.

i have another bad news, i built my iso with kde plasma and want to remove arch branding but if i place a custom os-release and lsb-release files

lsb-release exists in filesystem

i get this issue so please help me someone and for no reason am able to make a new post and idk y

Offline

#23 2021-04-15 19:09:55

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Weird error with archiso

mychatbot wrote:

I ... and want to remove arch branding

These are questions you shouldn't ask here, branding is there for a reason!

It's about the same as buying a car and telling the factory to put your own logo & name on it!

Read this before posting: https://wiki.archlinux.org/index.php/Code_of_conduct

This thread is done.

Offline

Board footer

Powered by FluxBB