Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-get Errors were encountered while processing: soapysdr-server #81

Open
MountainLogic opened this issue Jul 16, 2020 · 1 comment
Open

Comments

@MountainLogic
Copy link

MountainLogic commented Jul 16, 2020

I installed pothos and some of the other tools without keeping track of order under the windows Linux subsystem of win10. I keep getting apt-get errors that were encountered since trying to install soapysdr-server.

I've followed this page step by step to try and resolve it. Seemed like no matter that I did I would still get jammed-up with a 'apt-get Errors were encountered while processing: soapysdr-server' message for installing any other packages. I finally had to go in and wack the soapysdr-server entry in /var/lib/dpkg. Wacking the enty did fix things and I am now functional. (See link above) I have no idea how to repo this. Mostly, entering this report for reference.
Examples of the failures follow (strike-throughs are caused by a tilde in the output) :

foo@bar:~/wip/daemon$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up soapysdr-server (0.5.1-myriadrf1ubuntu18.04) ...
sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory
sysctl: cannot stat /proc/sys/net/core/wmem_max: No such file or directory
dpkg: error processing package soapysdr-server (--configure):
installed soapysdr-server package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
soapysdr-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
foo@bar:
/wip/daemon$ sudo apt-get install soapysdr-server -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
soapysdr-server is already the newest version (0.5.1-myriadrf1ubuntu18.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up soapysdr-server (0.5.1-myriadrf1
ubuntu18.04) ...
sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory
sysctl: cannot stat /proc/sys/net/core/wmem_max: No such file or directory
dpkg: error processing package soapysdr-server (--configure):
installed soapysdr-server package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
soapysdr-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
foo@bar:/wip/daemon$ sudo apt-get install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up soapysdr-server (0.5.1-myriadrf1
ubuntu18.04) ...
sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory
sysctl: cannot stat /proc/sys/net/core/wmem_max: No such file or directory
dpkg: error processing package soapysdr-server (--configure):
installed soapysdr-server package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
soapysdr-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
foo@bar:/wip/daemon$ sudo dpkg -r soapysdr-server
(Reading database ... 78849 files and directories currently installed.)
Removing soapysdr-server (0.5.1-myriadrf1
ubuntu18.04) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
dpkg: error processing package soapysdr-server (--remove):
installed soapysdr-server package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
soapysdr-server
`

@guruofquality
Copy link
Contributor

This is probably the script that causes this: https://github.com/pothosware/SoapyRemote/blob/master/debian/soapysdr-server.postinst

It does check for sysctl before using it. So its unfortunate that there is a sysctl executable present, but not really any of the kernel filesystem stuff that supports it.

I'm not really familiar with the windows hybrid environment. I can always shove a true at the end to quiet the errors: sysctl --load /usr/lib/sysctl.d/SoapySDRServer.conf || true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants