myriadrf / LimeSuite

Driver and GUI for LMS7002M-based SDR platforms
https://myriadrf.org/projects/lime-suite/
Apache License 2.0
469 stars 185 forks source link

Install from apt fails on fresh Ubuntu 18.04 #231

Closed gasparka closed 5 years ago

gasparka commented 5 years ago

~$ sudo apt-get install limesuite liblimesuite-dev limesuite-udev limesuite-images

Reading package lists... Done
Building dependency tree       
Reading state information... Done
liblimesuite-dev is already the newest version (18.10.0-myriadrf1~bionic).
limesuite-udev is already the newest version (18.10.0-myriadrf1~bionic).
The following additional packages will be installed:
  limesuite-images18.10
The following NEW packages will be installed:
  limesuite limesuite-images limesuite-images18.10
0 upgraded, 3 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2,144 kB of archives.
After this operation, 4,981 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package limesuite.
(Reading database ... 148936 files and directories currently installed.)
Preparing to unpack .../limesuite_18.10.0-myriadrf1~bionic_amd64.deb ...
Unpacking limesuite (18.10.0-myriadrf1~bionic) ...
Selecting previously unselected package limesuite-images18.10:amd64.
Preparing to unpack .../limesuite-images18.10_18.10.0-myriadrf1~bionic_amd64.deb ...
Unpacking limesuite-images18.10:amd64 (18.10.0-myriadrf1~bionic) ...
Selecting previously unselected package limesuite-images:amd64.
Preparing to unpack .../limesuite-images_18.10.0-myriadrf1~bionic_amd64.deb ...
Unpacking limesuite-images:amd64 (18.10.0-myriadrf1~bionic) ...
Setting up limesuite-images18.10:amd64 (18.10.0-myriadrf1~bionic) ...
Downloading http://downloads.myriadrf.org/project/limesuite/18.10/ -> /usr/share/LimeSuite/images/18.10
--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/
Resolving downloads.myriadrf.org (downloads.myriadrf.org)... 213.138.113.29, 2001:41c8:51:71d:fcff:ff:fe00:4203
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|213.138.113.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.SAmBeEdq7N/index.html.tmp’

index.html.tmp                                     100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:13 (153 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/index.html.tmp’ saved [2883/2883]

Loading robots.txt; please ignore errors.
--2018-10-18 09:28:13--  http://downloads.myriadrf.org/robots.txt
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 404 Not Found
2018-10-18 09:28:13 ERROR 404: Not Found.

Removing /tmp/tmp.SAmBeEdq7N/index.html.tmp since it should be rejected.

--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/?C=N;O=D
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.SAmBeEdq7N/index.html?C=N;O=D.tmp’

index.html?C=N;O=D.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:13 (226 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/index.html?C=N;O=D.tmp’ saved [2883/2883]

Removing /tmp/tmp.SAmBeEdq7N/index.html?C=N;O=D.tmp since it should be rejected.

--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/?C=M;O=A
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.SAmBeEdq7N/index.html?C=M;O=A.tmp’

index.html?C=M;O=A.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:13 (194 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/index.html?C=M;O=A.tmp’ saved [2883/2883]

Removing /tmp/tmp.SAmBeEdq7N/index.html?C=M;O=A.tmp since it should be rejected.

--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/?C=S;O=A
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.SAmBeEdq7N/index.html?C=S;O=A.tmp’

index.html?C=S;O=A.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:13 (180 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/index.html?C=S;O=A.tmp’ saved [2883/2883]

Removing /tmp/tmp.SAmBeEdq7N/index.html?C=S;O=A.tmp since it should be rejected.

--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/?C=D;O=A
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.SAmBeEdq7N/index.html?C=D;O=A.tmp’

index.html?C=D;O=A.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:13 (192 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/index.html?C=D;O=A.tmp’ saved [2883/2883]

Removing /tmp/tmp.SAmBeEdq7N/index.html?C=D;O=A.tmp since it should be rejected.

--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/ExtIO_LimeSDR_1.04.dll
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 403 Forbidden: body content-type denied
2018-10-18 09:28:13 ERROR 403: Forbidden: body content-type denied.

--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/ExtIO_LimeSDR_1.05.dll
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|213.138.113.29|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden: body content-type denied
2018-10-18 09:28:13 ERROR 403: Forbidden: body content-type denied.

--2018-10-18 09:28:13--  http://downloads.myriadrf.org/project/limesuite/18.10/LimeSDR-Mini_HW_1.1_r1.27.rpd
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|213.138.113.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 577536 (564K)
Saving to: ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-Mini_HW_1.1_r1.27.rpd’

LimeSDR-Mini_HW_1.1_r1.27.rpd                      100%[================================================================================================================>] 564.00K   882KB/s    in 0.6s    

2018-10-18 09:28:14 (882 KB/s) - ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-Mini_HW_1.1_r1.27.rpd’ saved [577536/577536]

--2018-10-18 09:28:14--  http://downloads.myriadrf.org/project/limesuite/18.10/LimeSDR-USB_HW_1.1_r1.20.rbf
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 557445 (544K)
Saving to: ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.1_r1.20.rbf’

LimeSDR-USB_HW_1.1_r1.20.rbf                       100%[================================================================================================================>] 544.38K  1.98MB/s    in 0.3s    

2018-10-18 09:28:14 (1.98 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.1_r1.20.rbf’ saved [557445/557445]

--2018-10-18 09:28:14--  http://downloads.myriadrf.org/project/limesuite/18.10/LimeSDR-USB_HW_1.1_r7.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 189720 (185K)
Saving to: ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.1_r7.0.img’

LimeSDR-USB_HW_1.1_r7.0.img                        100%[================================================================================================================>] 185.27K  --.-KB/s    in 0.05s   

2018-10-18 09:28:14 (3.68 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.1_r7.0.img’ saved [189720/189720]

--2018-10-18 09:28:14--  http://downloads.myriadrf.org/project/limesuite/18.10/LimeSDR-USB_HW_1.2_r3.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 189848 (185K)
Saving to: ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.2_r3.0.img’

LimeSDR-USB_HW_1.2_r3.0.img                        100%[================================================================================================================>] 185.40K  --.-KB/s    in 0.05s   

2018-10-18 09:28:14 (3.71 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.2_r3.0.img’ saved [189848/189848]

--2018-10-18 09:28:14--  http://downloads.myriadrf.org/project/limesuite/18.10/LimeSDR-USB_HW_1.3_r3.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 186040 (182K)
Saving to: ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.3_r3.0.img’

LimeSDR-USB_HW_1.3_r3.0.img                        100%[================================================================================================================>] 181.68K  --.-KB/s    in 0.05s   

2018-10-18 09:28:14 (3.68 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.3_r3.0.img’ saved [186040/186040]

--2018-10-18 09:28:14--  http://downloads.myriadrf.org/project/limesuite/18.10/LimeSDR-USB_HW_1.4_r2.18.rbf
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 577594 (564K)
Saving to: ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.4_r2.18.rbf’

LimeSDR-USB_HW_1.4_r2.18.rbf                       100%[================================================================================================================>] 564.06K  2.47MB/s    in 0.2s    

2018-10-18 09:28:15 (2.47 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.4_r2.18.rbf’ saved [577594/577594]

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.10/LimeSDR-USB_HW_1.4_r4.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 185976 (182K)
Saving to: ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.4_r4.0.img’

LimeSDR-USB_HW_1.4_r4.0.img                        100%[================================================================================================================>] 181.62K  --.-KB/s    in 0.05s   

2018-10-18 09:28:15 (3.70 MB/s) - ‘/tmp/tmp.SAmBeEdq7N/LimeSDR-USB_HW_1.4_r4.0.img’ saved [185976/185976]

FINISHED --2018-10-18 09:28:15--
Total wall clock time: 2.2s
Downloaded: 12 files, 2.4M in 1.3s (1.78 MB/s)
dpkg: error processing package limesuite-images18.10:amd64 (--configure):
 installed limesuite-images18.10:amd64 package post-installation script subprocess returned error exit status 8
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of limesuite-images:amd64:
 limesuite-images:amd64 depends on limesuite-images18.10; however:
  Package limesuite-images18.10:amd64 is not configured yet.

dpkg: error processing package limesuite-images:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up limesuite-images18.04:amd64 (18.04.1-myriadrf1~bionic) ...
Downloading http://downloads.myriadrf.org/project/limesuite/18.04/ -> /usr/share/LimeSuite/images/18.04
--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/
Resolving downloads.myriadrf.org (downloads.myriadrf.org)... 213.138.113.29, 2001:41c8:51:71d:fcff:ff:fe00:4203
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|213.138.113.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.uLNhOQRXDM/index.html.tmp’

index.html.tmp                                     100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:15 (144 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/index.html.tmp’ saved [2883/2883]

Loading robots.txt; please ignore errors.
--2018-10-18 09:28:15--  http://downloads.myriadrf.org/robots.txt
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 404 Not Found
2018-10-18 09:28:15 ERROR 404: Not Found.

Removing /tmp/tmp.uLNhOQRXDM/index.html.tmp since it should be rejected.

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/?C=N;O=D
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.uLNhOQRXDM/index.html?C=N;O=D.tmp’

index.html?C=N;O=D.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:15 (202 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/index.html?C=N;O=D.tmp’ saved [2883/2883]

Removing /tmp/tmp.uLNhOQRXDM/index.html?C=N;O=D.tmp since it should be rejected.

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/?C=M;O=A
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.uLNhOQRXDM/index.html?C=M;O=A.tmp’

index.html?C=M;O=A.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:15 (218 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/index.html?C=M;O=A.tmp’ saved [2883/2883]

Removing /tmp/tmp.uLNhOQRXDM/index.html?C=M;O=A.tmp since it should be rejected.

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/?C=S;O=A
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.uLNhOQRXDM/index.html?C=S;O=A.tmp’

index.html?C=S;O=A.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:15 (209 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/index.html?C=S;O=A.tmp’ saved [2883/2883]

Removing /tmp/tmp.uLNhOQRXDM/index.html?C=S;O=A.tmp since it should be rejected.

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/?C=D;O=A
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2883 (2.8K) [text/html]
Saving to: ‘/tmp/tmp.uLNhOQRXDM/index.html?C=D;O=A.tmp’

index.html?C=D;O=A.tmp                             100%[================================================================================================================>]   2.82K  --.-KB/s    in 0s      

2018-10-18 09:28:15 (199 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/index.html?C=D;O=A.tmp’ saved [2883/2883]

Removing /tmp/tmp.uLNhOQRXDM/index.html?C=D;O=A.tmp since it should be rejected.

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/ExtIO_LimeSDR_1.04.dll
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 403 Forbidden: body content-type denied
2018-10-18 09:28:15 ERROR 403: Forbidden: body content-type denied.

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/ExtIO_LimeSDR_1.05.dll
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|213.138.113.29|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden: body content-type denied
2018-10-18 09:28:15 ERROR 403: Forbidden: body content-type denied.

--2018-10-18 09:28:15--  http://downloads.myriadrf.org/project/limesuite/18.04/LimeSDR-Mini_HW_1.1_r1.24.rpd
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|213.138.113.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 577536 (564K)
Saving to: ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-Mini_HW_1.1_r1.24.rpd’

LimeSDR-Mini_HW_1.1_r1.24.rpd                      100%[================================================================================================================>] 564.00K   875KB/s    in 0.6s    

2018-10-18 09:28:16 (875 KB/s) - ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-Mini_HW_1.1_r1.24.rpd’ saved [577536/577536]

--2018-10-18 09:28:16--  http://downloads.myriadrf.org/project/limesuite/18.04/LimeSDR-USB_HW_1.1_r1.20.rbf
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 557445 (544K)
Saving to: ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.1_r1.20.rbf’

LimeSDR-USB_HW_1.1_r1.20.rbf                       100%[================================================================================================================>] 544.38K  1.99MB/s    in 0.3s    

2018-10-18 09:28:16 (1.99 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.1_r1.20.rbf’ saved [557445/557445]

--2018-10-18 09:28:16--  http://downloads.myriadrf.org/project/limesuite/18.04/LimeSDR-USB_HW_1.1_r7.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 189720 (185K)
Saving to: ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.1_r7.0.img’

LimeSDR-USB_HW_1.1_r7.0.img                        100%[================================================================================================================>] 185.27K  --.-KB/s    in 0.05s   

2018-10-18 09:28:16 (3.84 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.1_r7.0.img’ saved [189720/189720]

--2018-10-18 09:28:16--  http://downloads.myriadrf.org/project/limesuite/18.04/LimeSDR-USB_HW_1.2_r3.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 189848 (185K)
Saving to: ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.2_r3.0.img’

LimeSDR-USB_HW_1.2_r3.0.img                        100%[================================================================================================================>] 185.40K  --.-KB/s    in 0.05s   

2018-10-18 09:28:17 (3.86 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.2_r3.0.img’ saved [189848/189848]

--2018-10-18 09:28:17--  http://downloads.myriadrf.org/project/limesuite/18.04/LimeSDR-USB_HW_1.3_r3.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 186040 (182K)
Saving to: ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.3_r3.0.img’

LimeSDR-USB_HW_1.3_r3.0.img                        100%[================================================================================================================>] 181.68K  --.-KB/s    in 0.05s   

2018-10-18 09:28:17 (3.62 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.3_r3.0.img’ saved [186040/186040]

--2018-10-18 09:28:17--  http://downloads.myriadrf.org/project/limesuite/18.04/LimeSDR-USB_HW_1.4_r2.16.rbf
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 571946 (559K)
Saving to: ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.4_r2.16.rbf’

LimeSDR-USB_HW_1.4_r2.16.rbf                       100%[================================================================================================================>] 558.54K  2.93MB/s    in 0.2s    

2018-10-18 09:28:17 (2.93 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.4_r2.16.rbf’ saved [571946/571946]

--2018-10-18 09:28:17--  http://downloads.myriadrf.org/project/limesuite/18.04/LimeSDR-USB_HW_1.4_r4.0.img
Reusing existing connection to downloads.myriadrf.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 185976 (182K)
Saving to: ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.4_r4.0.img’

LimeSDR-USB_HW_1.4_r4.0.img                        100%[================================================================================================================>] 181.62K  --.-KB/s    in 0.05s   

2018-10-18 09:28:17 (3.78 MB/s) - ‘/tmp/tmp.uLNhOQRXDM/LimeSDR-USB_HW_1.4_r4.0.img’ saved [185976/185976]

FINISHED --2018-10-18 09:28:17--
Total wall clock time: 2.1s
Downloaded: 12 files, 2.4M in 1.3s (1.83 MB/s)
dpkg: error processing package limesuite-images18.04:amd64 (--configure):
 installed limesuite-images18.04:amd64 package post-installation script subprocess returned error exit status 8
Setting up limesuite (18.10.0-myriadrf1~bionic) ...
Install Lime Suite icon resources...    OK
Install Lime Suite menu launcher... OK
Errors were encountered while processing:
 limesuite-images18.10:amd64
 limesuite-images:amd64
 limesuite-images18.04:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
gasparka commented 5 years ago

In fact it leaves APT in a broken state, it tries to execute post-install scripts for anything you install/remove and always fails.

I had to manually remove the postsctipts in /var/lib/dpkg/info:

sudo rm limesuite-images18.04:amd64.postinst
gasparka commented 5 years ago

Installing on Ubuntu is a total nightmare. I took next line from the guide at https://wiki.myriadrf.org/Lime_Suite, and:

$ sudo apt-get install soapysdr soapysdr-module-lms7
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package soapysdr

soapysdr is renamed to soapysdr-tools.

gasparka commented 5 years ago

I now have LimeSuite installed and can open device in the GUI. SoapySDR --probe does not see it, even thought the module reports as being installed:

~$ SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Lib Version: v0.6.1-2
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr
Search path: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6
Search path: /usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.6
Search path: /usr/local/lib/SoapySDR/modules0.6
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libHackRFSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libLMS7Support.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libRedPitaya.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libairspySupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libaudioSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libbladeRFSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libosmosdrSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libremoteSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/librtlsdrSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libuhdSupport.so
Loading modules... linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

done
Available factories...airspy, audio, bladerf, hackrf, lime, null, osmosdr, redpitaya, remote, rtlsdr, uhd, 

Also tried to use Gqrx:

gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.11
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
[INFO] Make connection: 'LimeSDR-USB [USB 3.0] 9060B00473821'
[INFO] Reference clock 30.72 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] LMS7002M calibration values caching Disable

FATAL: destination port 1 out of range for source_impl(47)

Trying to fill up 18446744073709551615 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.

terminate called after throwing an instance of 'std::invalid_argument'
  what():  destination port 2 out of range for source_impl(47)
Aborted (core dumped)
guruofquality commented 5 years ago

In fact it leaves APT in a broken state, it tries to execute post-install scripts for anything you install/remove and always fails. I had to manually remove the postsctipts in /var/lib/dpkg/info:

--2018-10-18 09:28:15-- http://downloads.myriadrf.org/project/limesuite/18.04/ExtIO_LimeSDR_1.04.dll Reusing existing connection to downloads.myriadrf.org:80. HTTP request sent, awaiting response... 403 Forbidden: body content-type denied 2018-10-18 09:28:15 ERROR 403: Forbidden: body content-type denied.

It just seems like a random occurrence for some of the files, are you able to try the install again?

Trying to fill up 18446744073709551615 missing channel(s) with null source(s). This is being done to prevent the application from crashing due to gnuradio bug #528.

The osmosdr blocks may be pretty weird when they dont find any devices. Do you see the limesdr with the various tools mentioned? Or if not, does it work with sudo?

https://wiki.myriadrf.org/Lime_Suite#Device_enumeration

gasparka commented 5 years ago

In fact it leaves APT in a broken state, it tries to execute post-install scripts for anything you install/remove and always fails. I had to manually remove the postsctipts in /var/lib/dpkg/info: --2018-10-18 09:28:15-- http://downloads.myriadrf.org/project/limesuite/18.04/ExtIO_LimeSDR_1.04.dll Reusing existing connection to downloads.myriadrf.org:80. HTTP request sent, awaiting response... 403 Forbidden: body content-type denied 2018-10-18 09:28:15 ERROR 403: Forbidden: body content-type denied.

It just seems like a random occurrence for some of the files, are you able to try the install again?

Everything went to normal after i deleted the post-install scripts, now i can remove/install the package without problems.

Trying to fill up 18446744073709551615 missing channel(s) with null source(s). This is being done to prevent the application from crashing due to gnuradio bug #528.

The osmosdr blocks may be pretty weird when they dont find any devices. Do you see the limesdr with the various tools mentioned? Or if not, does it work with sudo?

https://wiki.myriadrf.org/Lime_Suite#Device_enumeration

SoapySDRUtil --find="driver=lime" finds the device. I was confused by the output of the --probe command, which only opens the audio device. Is this expected behavior to only print info for the first device?

Also did some testing with gr-limesdr, which worked great! So i guess the Gqrx problem is Gqrx problem.

What we should do:

  1. Rename soapysdr to soapysdr-tools (what about older Ubuntu releases?)
  2. Test fresh install again (ill do that tomorrow)
  3. Something should be done differently when the post-script fails, currently it tries to execute again on every APT install/remove - essentially locks up the whole APT system.
guruofquality commented 5 years ago

SoapySDRUtil --find="driver=lime" finds the device. I was confused by the output of the --probe command, which only opens the audio device. Is this expected behavior to only print info for the first device?

Its a lot of info, so it only prints the first one found. So you just need more specific arguments if you want to see a particular device, ex driver, serial number, ip address, etc

Also did some testing with gr-limesdr, which worked great! So i guess the Gqrx problem is Gqrx problem.

gqrx uses gr-osmosdr, which is different than gr-limesdr. So its probably gr-osmosdr

I dont know if the package is funny or its just an issue of command line arguments. There isnt a good command line osmo util to see what the libosmosdr sees interms of device discovery. What happens if you are explcit with the args. does "driver=lime,soapy=0" work?

Rename soapysdr to soapysdr-tools (what about older Ubuntu releases?)

I did update that on the wiki. This is rename on upstream ubuntu, so its going to be that name going forward, even when I upload new soapysdr ppa packages. Why fight it?

Something should be done differently when the post-script fails, currently it tries to execute again on every APT install/remove - essentially locks up the whole APT system.

There might be something better that can be done on error for that download script to keep apt in good shape. Presumably someones internet connection could go down, and I think there is a proper debian way to handle failure in these scripts. Maybe

https://github.com/myriadrf/LimeSuite/blob/master/debian/limesuite-images.postinst.in

gasparka commented 5 years ago

Tried the install process again - works as expected. Guess i was just unlucky yesterday.

About GQRX: The default device string(below), suggested by GQRX, wont work due to the osmosdr issue.

addr=1d50:6108,driver=lime,media='USB 3.0',module=FX3,name=LimeSDR-USB,serial=0009060B00473821,soapy=2

driver=lime,soapy=0 - wont work either - device 0 is the audio driver? driver=lime,soapy=2 - works!

Removing the 'module' and 'media' values from the default GQRX string fixes the problem:

addr=1d50:6108,driver=lime,name=LimeSDR-USB,serial=0009060B00473821,soapy=2

@csete. thoughts?

csete commented 5 years ago

Gqrx is just a GUI and has no awareness of the hardware device. The device string is something returned by the backend.

gasparka commented 5 years ago

Thanks, so it is a problem in OsmoSDR. Wondering if Lime is interested in maintaining the OsmoSDR support, now that the gr-limesdr is out?

guruofquality commented 5 years ago

Wondering if Lime is interested in maintaining the OsmoSDR support, now that the gr-limesdr is out?

It would certainly be possible to wrap gr-limesdr in osmosdr source/sink much like a few of the others like fun cube works this way, and uhd too.

The soapy stuff is just there for free and will support anything wrapped in soapysdr.

I dont get the soapy=index issue, the number doesn't actually matter, its just to fill in the value with something. If osmosdr source sees soapy=anything, it passes that whole string to the make_soapy_sink/source_c, which goes strait to the SoapySDR::Device::make() factory function, the same one used in the command line utility. This is the code if you see what I mean: https://github.com/osmocom/gr-osmosdr/blob/master/lib/source_impl.cc#L358

A few other device support sources/sinks is osmo will use this "support_key=number" paradigm to identify the device among multiple ones, but I never liked that since its not consistent. Serials are :-)

IgnasJarusevicius commented 5 years ago

I have just tried installing on Ubuntu 18.04 VM, following instructions on https://wiki.myriadrf.org/Lime_Suite#Ubuntu_PPA and it installed without errors. I can see that Soapy package is now named 'soapysdr-tools' in the instruction so the instructions has been updated. For me it looks like this issue is no longer relevant. Closing.