You are not logged in.
Pages: 1
Clean new start - no RAID - just sda partitioned ...
https://www.sun2save.com/images/misc1/d … tions1.jpg
After I first saw this nginx error E: nginx-extras: installed nginx-extras package post-installation script subprocess returned error exit status 1 I tried reinstalling nginx from inside Synaptic Package Manager - no joy.
So, I tried this ...
root@devuan1:~# sudo dpkg --configure -a
Setting up nginx-extras (1.18.0-6.1+deb11u3) ...
Starting nginx: nginx failed!
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-extras (--configure):
installed nginx-extras package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nginx-extras
root@devuan1:~# sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Could not get lock /var/cache/apt/archives/lock. It is held by process 2652 (synaptic)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/cache/apt/archives/
root@devuan1:~# sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nginx-extras (1.18.0-6.1+deb11u3) ...
Starting nginx: nginx failed!
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-extras (--configure):
installed nginx-extras package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nginx-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@devuan1:~#
Any notion as to what's busted and how to proceed, please?
Offline
Is port 80 already being used by another application?
ss -nlt 'sport = 80'
The script is supposed to fail more gracefully though
Your disk partitioning is still weird btw but I won't be discussing that in this thread.
EDIT: https://bugs.debian.org/cgi-bin/bugrepo … bug=754407.
Last edited by Head_on_a_Stick (2023-01-19 18:21:10)
Brianna Ghey — Rest In Power
Offline
E: Could not get lock /var/cache/apt/archives/lock. It is held by process 2652
Try killing 2652 - sudo kill -9 2652
https://www.man7.org/linux/man-pages/man1/kill.1.html
Last edited by Camtaf (2023-01-19 18:22:52)
Offline
sudo kill -9 2652
Don't use SIGKILL unless absolutely necessary. Just use SIGTERM instead, which is the default action for kill.
And anyway the OP already killed it.
Brianna Ghey — Rest In Power
Offline
Is port 80 already being used by another application?
ss -nlt 'sport = 80'
The script is supposed to fail more gracefully though
root@devuan1:/etc# ss -nlt 'sport = 80'
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
root@devuan1:/etc#
Offline
What does the log say? Don't ask me where they are though. I don't know.
Brianna Ghey — Rest In Power
Offline
Checked log and found my error. Thanks
Offline
Pages: 1