Post Go back to editing

Attempting to update adrv9009-zu11eg with adi_update_tools.sh fails with 'Unable to locate package libserialport-dev'

Category: Software
Product Number: adrv9009-zu11eg
Software Version: linaro 14.04, kernel 4.14.0-g8a57ede

Attempting to update adrv9009-zu11eg fails with 'Unable to locate package libserialport-dev'. Script output is:

root@analog:~/libserialport# sudo adi_update_tools.sh
2022-05-10 10:06:37 URL: github.com/analogdevicesinc 200 OK

 *** Updating linux_image_ADI-scripts BRANCH origin/m*ster ***
HEAD is now at ba69f07... adi_update_tools.sh: add 2021_R1 release

 *** Building linux_image_ADI-scripts ***
./adi_update_tools.sh has been updated, switching to new one
2022-05-10 10:06:38 URL: github.com/analogdevicesinc 200 OK

 *** Updating linux_image_ADI-scripts BRANCH origin/m*ster ***
HEAD is now at ba69f07... adi_update_tools.sh: add 2021_R1 release

 *** Building linux_image_ADI-scripts ***
./adi_update_tools.sh script is the same, continuing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libgtkdatabox-0.9.2-0-dev' instead of 'libgtkdatabox-dev'
Note, selecting 'libncurses5-dev' instead of 'ncurses-dev'
E: Unable to locate package libserialport-dev
Catastrophic error in prerequisite packages, please report error to:
https://ez.analog.com/community/linux-device-drivers/linux-software-drivers

I have tried installing libseriaport-dev without luck:

root@analog:~# sudo apt install libserialport-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libserialport-dev

and also building it myself (sigrok.org/wiki/Libserialport) but the output of the update script does not change!

Help would be appreciated!

  • It looks like you are on an old base image that cannot be upgraded. Please update to the latest: https://wiki.analog.com/resources/tools-software/linux-software/embedded_arm_images

    -Travis

  • Thanks for the reply. I have run the adi_update_boot.sh script, which appeared to complete successfully but running adi_update_tools.sh afterwards still fails as shown above.

    Output of running adi_update_boot.sh again:

    Verifying if ./adi_update_boot.sh is up to date...
    HEAD is now at ba69f07... adi_update_tools.sh: add 2021_R1 release
    ./adi_update_boot.sh is up to date, continuing...

    Check latest available version...
    --2022-05-11 08:09:40--  swdownloads.analog.com/.../
    2019_r2/latest_boot.txt
    Resolving swdownloads.analog.com (swdownloads.analog.com)... 104.84.68.188
    Connecting to swdownloads.analog.com (swdownloads.analog.com)|104.84.68.188|:80.
    .. connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: swdownloads.analog.com/.../latest
    Resolving swdownloads.analog.com (swdownloads.analog.com)... 104.84.68.188
    Connecting to swdownloads.analog.com (swdownloads.analog.com)|104.84.68.188|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: swdownloads.analog.com/.../latest_boot.txt [following]
    --2022-05-11 08:09:41--  swdownloads.analog.com/.../latest_boot.txt
    Connecting to swdownloads.analog.com (swdownloads.analog.com)|104.84.68.188|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 160 [text/plain]
    Saving to: ‘latest_boot.txt’

         0K                                                       100% 18.8M=0s

    2022-05-11 08:09:41 (18.8 MB/s) - ‘latest_boot.txt’ saved [160/160]

    Vim: Warning: Output is not to a terminal
    [?1cESC[24;1H"latest_boot.txt" [noeol][dos] 3L, 160C^M
    "latest_boot.txt" 3L, 159C written^MESC[?25hESC[?0c

    Latest version available: 2021_07_27
    Release: 2019_r2


    Current version detected: 2021_07_27
    Release: 2019_R2

    Already up to date!

  • E: Unable to locate package libserialport-dev

    "libserialport-dev" package is  not installed in Kuiper 2019_R2 (last released version).

    adi_update_tools.sh script can be run with parameters like: "dev", "2019_R1", "2019_R2" etc. 

    Running it with no parameter will use a default value - which was already updated to next release version (see third line from log that says about 2021_R1). We are expecting to publish a prerelease image of 2021_R1 during next days.

    You can follow this wiki page to check whenever the new Kuiper version will be published and update to it.

    Until then you can run:

    adi_update_tools.sh 2019_R2

    that should work fine on a SD card with 2019_R2 image.