You are not logged in.

#1 2022-11-29 04:53:27

w@hello
Member
Registered: 2022-11-29
Posts: 7

Interrupted package assembly process

I was building an application, sudo make command was running for a long time. Then there was a power outage and the installation was interrupted. After a while, when I was able to start the computer to continue, sudo make failed.
I decided to delete all the files, and start over again, but for some reason this does not work.

What should I have done in the beginning?
What should I do now to start the installation again?

Last edited by w@hello (2022-11-29 05:01:47)

Offline

#2 2022-11-29 05:11:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Interrupted package assembly process

The first thing to do is never run sudo make. What are you trying to build, exactly?

Offline

#3 2022-11-29 05:30:08

w@hello
Member
Registered: 2022-11-29
Posts: 7

Re: Interrupted package assembly process

Scimmia wrote:

The first thing to do is never run sudo make. What are you trying to build, exactly?

I wanted to install unreal engine. And this is the first time I built the package, so I did everything according to the "advice" of user manjaro.
Briefly it was like this
git clone
bash Setup.sh
bash Generate.sh
sudo make

After the issue I had, none of the scripts work correctly

Offline

#4 2022-11-29 05:31:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Interrupted package assembly process

user manjaro? Who is that, exactly? Are you on Manjaro?

Offline

#5 2022-11-29 05:35:08

w@hello
Member
Registered: 2022-11-29
Posts: 7

Re: Interrupted package assembly process

Scimmia wrote:

user manjaro? Who is that, exactly? Are you on Manjaro?

No, I have an Arch. And I asked the advice of an friend who uses Manjaro, from the logic that is also Arch. How I *** up.

Last edited by w@hello (2022-11-29 05:35:34)

Offline

#6 2022-11-29 05:36:43

w@hello
Member
Registered: 2022-11-29
Posts: 7

Re: Interrupted package assembly process

Should I explain more about what I did and what happened?

Last edited by w@hello (2022-11-29 05:37:18)

Offline

#7 2022-11-29 05:38:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Interrupted package assembly process

Anyway:
https://aur.archlinux.org/packages?O=0&K=unreal-engine
https://wiki.archlinux.org/title/Arch_User_Repository

And don't listen to that person again. sudo make is terrible, terrible advice.

Last edited by Scimmia (2022-11-29 05:51:36)

Offline

#8 2022-11-29 05:52:17

w@hello
Member
Registered: 2022-11-29
Posts: 7

Re: Interrupted package assembly process

Thank you!

Another question is what to do in the future.
If the installation, update, etc. and the process is stopped. What is the right way to start it from the beginning?

Suppose
1. pacman -S app
2. The system goes down
3. after a while i come back to work
4...what can I do to start the installation again or continue?

I'm concerned about this because in my country right now there are scheduled blackouts and sometimes sudden random

Offline

#9 2022-11-29 06:12:50

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Interrupted package assembly process

I thought you were running *make*. Running *pacman* is very different.

Nothing will happen as a result of make being interrupted. This is certainly the case if you don't use sudo. The same is true for makepkg.

If the system goes down while you are running pacman, recovery will depend on a whole bunch of factors. The first of these is whether the system will boot.

If this happens regularly, it is especially important to keep good backups and it would be wise to ensure you have an alternative means of booting available (e.g. a live ISO).

Certainly avoid running pacman when a blackout is scheduled.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2022-11-29 06:52:09

w@hello
Member
Registered: 2022-11-29
Posts: 7

Re: Interrupted package assembly process

Thank everyone for helpful answers. All the best to you

Offline

Board footer

Powered by FluxBB