* [ISSUE] Error while updating znc
@ 2021-07-24 18:29 kartikynwa
2021-07-29 15:27 ` Duncaen
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: kartikynwa @ 2021-07-24 18:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1656 bytes --]
New issue by kartikynwa on void-packages repository
https://github.com/void-linux/void-packages/issues/32175
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname: `Void 5.12.19_1 x86_64-musl GenuineIntel/VM uptodate hold rFFF`
* package: `znc-1.8.2_6`
### Expected behavior
This happened when I ran an update using `sudo xbps-install -Su`. I think `znc` was being updated from `znc-1.8.2_5` to `znc-1.8.2_6`. I would have expected the update to run smoothly.
### Actual behavior
I received this error:
```
znc-1.8.2_5: updating to 1.8.2_6 ...
znc-1.8.2_6: unpacking ...
ERROR: znc-1.8.2_6: [unpack] failed to extract file `./etc/sv/znc/supervise': Directory not empty
ERROR: znc-1.8.2_6: [unpack] failed to extract files: Directory not empty
ERROR: znc-1.8.2_6: [unpack] failed to unpack files from archive: Directory not empty
Transaction failed! see above for errors.
```
### Steps to reproduce the behavior
I am not sure about this. Maybe try updating znc? I tried updating twice and got the same error.
### Notes
To update anyway, what I did was `sudo sv down znc`, then `sudo rm -r /etc/sv/znc/supervise` and then update. Had to reboot but `znc` worked fine post that.
There is this file in the `znc` folder in `srcpkgs`:
```
void-packages on master
❯ ls -l srcpkgs/znc/files/znc/log/run
lrwxrwxrwx 1 kartik kartik 16 May 29 11:17 srcpkgs/znc/files/znc/log/run -> /usr/bin/vlogger*
```
Maybe this is the culprit? I am not sure.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error while updating znc
2021-07-24 18:29 [ISSUE] Error while updating znc kartikynwa
@ 2021-07-29 15:27 ` Duncaen
2021-07-29 15:27 ` [ISSUE] [CLOSED] " Duncaen
2021-07-29 15:28 ` Duncaen
2 siblings, 0 replies; 4+ messages in thread
From: Duncaen @ 2021-07-29 15:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/issues/32175#issuecomment-889241814
Comment:
This file has always been a symlink, for some reason it was deleted on your system (this has to be done by you, xbps nor runit would do that) and runit created the directory when it started the service and is now unable to change it back to a symlink because it does not delete user data out of directories.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ISSUE] [CLOSED] Error while updating znc
2021-07-24 18:29 [ISSUE] Error while updating znc kartikynwa
2021-07-29 15:27 ` Duncaen
@ 2021-07-29 15:27 ` Duncaen
2021-07-29 15:28 ` Duncaen
2 siblings, 0 replies; 4+ messages in thread
From: Duncaen @ 2021-07-29 15:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]
Closed issue by kartikynwa on void-packages repository
https://github.com/void-linux/void-packages/issues/32175
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname: `Void 5.12.19_1 x86_64-musl GenuineIntel/VM uptodate hold rFFF`
* package: `znc-1.8.2_6`
### Expected behavior
This happened when I ran an update using `sudo xbps-install -Su`. I think `znc` was being updated from `znc-1.8.2_5` to `znc-1.8.2_6`. I would have expected the update to run smoothly.
### Actual behavior
I received this error:
```
znc-1.8.2_5: updating to 1.8.2_6 ...
znc-1.8.2_6: unpacking ...
ERROR: znc-1.8.2_6: [unpack] failed to extract file `./etc/sv/znc/supervise': Directory not empty
ERROR: znc-1.8.2_6: [unpack] failed to extract files: Directory not empty
ERROR: znc-1.8.2_6: [unpack] failed to unpack files from archive: Directory not empty
Transaction failed! see above for errors.
```
### Steps to reproduce the behavior
I am not sure about this. Maybe try updating znc? I tried updating twice and got the same error.
### Notes
To update anyway, what I did was `sudo sv down znc`, then `sudo rm -r /etc/sv/znc/supervise` and then update. Had to reboot but `znc` worked fine post that.
There is this file in the `znc` folder in `srcpkgs`:
```
void-packages on master
❯ ls -l srcpkgs/znc/files/znc/log/run
lrwxrwxrwx 1 kartik kartik 16 May 29 11:17 srcpkgs/znc/files/znc/log/run -> /usr/bin/vlogger*
```
Maybe this is the culprit? I am not sure.
EDIT: Nvm many packages have this file. Seems like it is not relevant to the problem.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error while updating znc
2021-07-24 18:29 [ISSUE] Error while updating znc kartikynwa
2021-07-29 15:27 ` Duncaen
2021-07-29 15:27 ` [ISSUE] [CLOSED] " Duncaen
@ 2021-07-29 15:28 ` Duncaen
2 siblings, 0 replies; 4+ messages in thread
From: Duncaen @ 2021-07-29 15:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/issues/32175#issuecomment-889241814
Comment:
This file has always been a symlink, for some reason it was deleted on your system (this has to be done by you, xbps nor runit would do that) and runit created the directory when it started the service and xbps is now unable to change it back to a symlink because it does not delete user data out of directories.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-29 15:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-24 18:29 [ISSUE] Error while updating znc kartikynwa
2021-07-29 15:27 ` Duncaen
2021-07-29 15:27 ` [ISSUE] [CLOSED] " Duncaen
2021-07-29 15:28 ` Duncaen
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).