Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION
@ 2024-06-16 11:55 Anachron
  2024-06-16 12:03 ` Anachron
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Anachron @ 2024-06-16 11:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

New issue by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/50847

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.83_1 aarch64 Unknown notuptodate rFFFFFFF

### Package(s) Affected

bash-5.2.21_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

It should be possible to update bash from bash-5.2.21_1 to bash-5.2.21_2.

### Actual behaviour

Errors out with

```
bash-5.2.21_1: updating to 5.2.21_2 ...
ERROR: bash-5.2.21_2: [remove] REMOVE script failed to execute pre ACTION: No such file or directory
ERROR: bash-5.2.21_2: failed to remove package: No such file or directory
ERROR: bash-5.2.21_2: [trans] failed to update package `No such file or directory'
Transaction failed! see above for errors.
```

### Steps to reproduce

1. Run `xbps-install -Su`
2. Receive error

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
@ 2024-06-16 12:03 ` Anachron
  2024-06-16 12:07 ` [ISSUE] [CLOSED] " Anachron
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Anachron @ 2024-06-16 12:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171473955

Comment:
It seems like this issue only happens when running the update from remote, `ssh`ing into the machine and running `xbps-install -Su` works.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ISSUE] [CLOSED] Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
  2024-06-16 12:03 ` Anachron
@ 2024-06-16 12:07 ` Anachron
  2024-06-16 12:07 ` Anachron
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Anachron @ 2024-06-16 12:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

Closed issue by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/50847

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.83_1 aarch64 Unknown notuptodate rFFFFFFF

### Package(s) Affected

bash-5.2.21_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

It should be possible to update bash from bash-5.2.21_1 to bash-5.2.21_2.

### Actual behaviour

Errors out with

```
bash-5.2.21_1: updating to 5.2.21_2 ...
ERROR: bash-5.2.21_2: [remove] REMOVE script failed to execute pre ACTION: No such file or directory
ERROR: bash-5.2.21_2: failed to remove package: No such file or directory
ERROR: bash-5.2.21_2: [trans] failed to update package `No such file or directory'
Transaction failed! see above for errors.
```

### Steps to reproduce

1. Run `xbps-install -Su`
2. Receive error

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
  2024-06-16 12:03 ` Anachron
  2024-06-16 12:07 ` [ISSUE] [CLOSED] " Anachron
@ 2024-06-16 12:07 ` Anachron
  2024-06-16 13:23 ` Duncaen
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Anachron @ 2024-06-16 12:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171482110

Comment:
Closing for now, as a workaround exists. Could be related to https://github.com/void-linux/void-packages/commit/c8e0c3dc98fd051c397d654f2bc05df0e12c5133

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
                   ` (2 preceding siblings ...)
  2024-06-16 12:07 ` Anachron
@ 2024-06-16 13:23 ` Duncaen
  2024-06-16 13:54 ` Anachron
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2024-06-16 13:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171634049

Comment:
Probably related to `$TMPDIR`.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
                   ` (3 preceding siblings ...)
  2024-06-16 13:23 ` Duncaen
@ 2024-06-16 13:54 ` Anachron
  2024-06-16 14:01 ` Duncaen
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Anachron @ 2024-06-16 13:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171673068

Comment:
Oh wow, yes I do set up that variable when `sshing` into the host. 

Thanks!

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
                   ` (4 preceding siblings ...)
  2024-06-16 13:54 ` Anachron
@ 2024-06-16 14:01 ` Duncaen
  2024-06-16 14:01 ` Duncaen
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2024-06-16 14:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171676420

Comment:
It should fallback to some tempdir defined by libc.
```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
                   ` (5 preceding siblings ...)
  2024-06-16 14:01 ` Duncaen
@ 2024-06-16 14:01 ` Duncaen
  2024-06-16 14:11 ` Anachron
  2024-06-16 14:11 ` Anachron
  8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2024-06-16 14:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171676420

Comment:
It should fallback to some tempdir defined by libc.
```
/usr/include/stdio.h:# define P_tmpdir  "/tmp"
```

https://github.com/void-linux/xbps/blob/e82437f1d34facc0744f628938a1b3835dc7d963/lib/package_script.c#L71

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
                   ` (6 preceding siblings ...)
  2024-06-16 14:01 ` Duncaen
@ 2024-06-16 14:11 ` Anachron
  2024-06-16 14:11 ` Anachron
  8 siblings, 0 replies; 10+ messages in thread
From: Anachron @ 2024-06-16 14:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171680384

Comment:
No, my `$TMPDIR` is not empty, thus it will not default to the `libc` defined one.

I did not know XBPS uses the `TMPDIR` env. I am going to rename the var in my scripts to avoid future issues.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Cannot update bash: REMOVE script failed to execute pre ACTION
  2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
                   ` (7 preceding siblings ...)
  2024-06-16 14:11 ` Anachron
@ 2024-06-16 14:11 ` Anachron
  8 siblings, 0 replies; 10+ messages in thread
From: Anachron @ 2024-06-16 14:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/50847#issuecomment-2171680384

Comment:
No, my `$TMPDIR` is not unset, thus it will not default to the `libc` defined one.

I did not know XBPS uses the `TMPDIR` env. I am going to rename the var in my scripts to avoid future issues.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-06-16 14:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-16 11:55 [ISSUE] Cannot update bash: REMOVE script failed to execute pre ACTION Anachron
2024-06-16 12:03 ` Anachron
2024-06-16 12:07 ` [ISSUE] [CLOSED] " Anachron
2024-06-16 12:07 ` Anachron
2024-06-16 13:23 ` Duncaen
2024-06-16 13:54 ` Anachron
2024-06-16 14:01 ` Duncaen
2024-06-16 14:01 ` Duncaen
2024-06-16 14:11 ` Anachron
2024-06-16 14:11 ` Anachron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).