Prey-node-client 1.9.17-1 package error

Hi! When I try to apply the latest update to Prey, this is what I get:

Summary
https://aur.archlinux.org/packages-meta-ext-v1.json.gz: Connection terminated unexpectedly

Preparing...

Synchronizing package databases...

Refreshing AUR...

Cloning prey-node-client build files...

Generating prey-node-client information...

Checking prey-node-client dependencies...

Resolving dependencies...

Checking inter-conflicts...



Building prey-node-client...

==> Making package: prey-node-client 1.9.17-1 (Thu 03 Feb 2022 15:35:58 CET)

==> Checking runtime dependencies...

==> Checking buildtime dependencies...

==> Retrieving sources...

  -> Found prey-node-client.patch

  -> Found prey_project

  -> Found prey-linux-1.9.17-x64.zip

==> Validating source files with sha256sums...

    prey-node-client.patch ... Passed

    prey_project ... Passed

==> Validating source_x86_64 files with sha256sums...

    prey-linux-1.9.17-x64.zip ... Passed

==> Removing existing $srcdir/ directory...

==> Extracting sources...

  -> Extracting prey-linux-1.9.17-x64.zip with bsdtar

==> Removing existing $pkgdir/ directory...

==> Entering fakeroot environment...

==> Starting package()...

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

can't find file to patch at input line 5

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git bin/prey bin/prey

|index 5b5203c..915abd7 100755

|--- bin/prey

|+++ bin/prey

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

1 out of 1 hunk ignored

can't find file to patch at input line 23

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git lib/agent/actions/alert/linux/flash.py lib/agent/actions/alert/linux/flash.py

|index 38a26b2..e7ac631 100755

|--- lib/agent/actions/alert/linux/flash.py

|+++ lib/agent/actions/alert/linux/flash.py

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

1 out of 1 hunk ignored

can't find file to patch at input line 39

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git lib/conf/gui/linux/prey-config.py lib/conf/gui/linux/prey-config.py

|index f9f9eb4..66549ef 100755

|--- lib/conf/gui/linux/prey-config.py

|+++ lib/conf/gui/linux/prey-config.py

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

1 out of 1 hunk ignored

can't find file to patch at input line 49

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git prey.conf.default prey.conf.default

|index 2b2b141..d39a885 100644

|--- prey.conf.default

|+++ prey.conf.default

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

1 out of 1 hunk ignored

can't find file to patch at input line 62

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git lib/conf/gui/linux/prey-config.py lib/conf/gui/linux/prey-config.py

|index 66549ef..a7f4730 100755

|--- lib/conf/gui/linux/prey-config.py

|+++ lib/conf/gui/linux/prey-config.py

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

1 out of 1 hunk ignored

can't find file to patch at input line 76

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|

|diff --git lib/conf/shared/messages.js lib/conf/shared/messages.js

|index 55bc13c..a30ab1a 100644

|--- lib/conf/shared/messages.js

|+++ lib/conf/shared/messages.js

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

2 out of 2 hunks ignored

can't find file to patch at input line 96

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git lib/conf/shared/keys.js lib/conf/shared/keys.js

|index 95a77b9..fdec9d1 100644

|--- lib/conf/shared/keys.js

|+++ lib/conf/shared/keys.js

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

1 out of 1 hunk ignored

can't find file to patch at input line 109

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git lib/agent/plugins/console/index.js lib/agent/plugins/console/index.js

|index 9448533..7f5afb0 100644

|--- lib/agent/plugins/console/index.js

|+++ lib/agent/plugins/console/index.js

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

1 out of 1 hunk ignored

can't find file to patch at input line 127

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|  

| }

| 

| 

| 

|diff --git package.json package.json

|index 8383b5d..697816b 100644

|--- package.json

|+++ package.json

--------------------------

File to patch: 

Skip this patch? [y] 

Skipping patch.

2 out of 2 hunks ignored

==> ERROR: A failure occurred in package().

    Aborting...

Any guidance on how I could fix this?

fakeroot is a part of base-devel package group. Can you install base-devel and try again:

sudo pacman -Syu --needed base-devel
1 Like

I did it and the output says that “there is nothing to do”. I still get the error when trying to update, no change there.

Cannot reproduce. Try installing the package manually:

git clone https://aur.archlinux.org/prey-node-client.git
cd prey-node-client
makepkg -srcif
1 Like

That seems to have done the trick. Must have been a Pamac issue. Thanks for showing how to do it manually. Will try that first in the future if a similar thing happens.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.