This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA726: Smart update issue

Part Number: DRA726

Tool/software: Linux

I am having some issues with smart update. When I try to do an update it tells me that there is nothing to update.

I can install program if they are not already installed.It cannot reinstal as it says that it is already installed.

Using rpm -q I can see that the program that I want to update is a different version than the one to install.

When I check to see if smart is aware that the program is installed it tells me that it is not installled but when I try to install it it tells me that there would be a conflict and list the program that it just told me was not installed plus conflicts that would occur with virtually every programs that are installed.

root@actia-global-display:~/work/rpm-files-update# smart update
Loading cache...
Updating cache...                                                                   ###################################################################################################################### [100%]

                                                                                                                                                                                                                 

Updating cache...                                                                   ###################################################################################################################### [100%]

Channels have no new packages.

root@actia-global-display:~/work/rpm-files-update# smart fix               
Loading cache...
Updating cache...                                                                   ###################################################################################################################### [100%]

Computing transaction...
No problems to resolve!
root@actia-global-display:~/work/rpm-files-update# smart upgrade activision
Loading cache...
Updating cache...                                                                   ###################################################################################################################### [100%]

warning: 'activision' matches no installed packages                                                                                                                                                              
Computing transaction...
No interesting upgrades available.
root@actia-global-display:~/work/rpm-files-update# rpm -q activision
activision-1.0+r1036-r0.armv7ahf_neon
root@actia-global-display:~/work/rpm-files-update# smart upgrade activision-1.0+r1036-r0.armv7ahf_neon
Loading cache...
Updating cache...                                                                   ###################################################################################################################### [100%]

error: 'activision-1.0+r1036-r0.armv7ahf_neon' matches no packages                                                                                                                                               


root@actia-global-display:~/work/rpm-files-update# smart reinstall activision
Loading cache...
Updating cache...                                                                   ###################################################################################################################### [100%]

warning: 'activision' matches no installed packages                                                                                                                                                              
Computing transaction...

root@actia-global-display:~/work/rpm-files-update# smart install activision
Loading cache...
Updating cache...                                                                   ###################################################################################################################### [100%]

Computing transaction...

Installing packages (78):
  activision                libc6                     libevdev                  libjpeg62                 libstm32-0                pam-plugin-env            pam-plugin-securetty      udev                      
  base-files                libcairo2                 libexpat1                 libkmod2                  libtinfo5                 pam-plugin-faildelay      pam-plugin-shells         update-alternatives-opkg  
  base-passwd               libcan0                   libffi6                   libnmea0183-0             libudev1                  pam-plugin-group          pam-plugin-unix           update-rc.d               
  bash                      libcap2                   libfontconfig1            libpam                    libuuid1                  pam-plugin-lastlog        pam-plugin-warn           util-linux-sulogin        
  ca-certificates           libcrypto1.0.0            libfreetype6              libpam-runtime            libxkbcommon0             pam-plugin-limits         shadow                    wayland                   
  curl                      libcurl4                  libgbm2                   libpcan0                  libz1                     pam-plugin-mail           shadow-base               weston                    
  fontconfig-utils          libdrm-omap1              libgcc-s1                 libpixman-1-0             mtdev                     pam-plugin-motd           shadow-securetty          weston-conf               
  libacl1                   libdrm2                   libgpio0                  libpng16-16               ncurses-terminfo-base     pam-plugin-nologin        ti-ipc                    xkeyboard-config          
  libattr1                  libee0                    libinput                  libssl1.0.0               openssl-conf              pam-plugin-permit         ti-sgx-ddk-um             
  libblkid1                 liberation-fonts          libipu1-0                 libstdc++6                pam-plugin-deny           pam-plugin-rootok         ti-sgx-ddk-um-plugins     

28.8MB of package files are needed. 60.8MB will be used.
Confirm changes? (Y/n): Y

Committing transaction...                                                                                                                                                                                        
Preparing...                                                                        ###################################################################################################################### [  0%]
error: package update-alternatives-opkg-0.1.8+git0+53274f0875-r0.armv7ahf_neon is already installed                                                                                                              
error: package weston-conf-1.9.0-r2.actia_global_display is already installed
error: package shadow-securetty-4.2.1-r3.arago0.actia_global_display is already installed
all 78 packages listed with similar error message

Michel Catudal

ACTIA Corp

  • Hi Michael,

    I am afraid that this question is out of scope of the DRAx forum. Here we support only for the SDK's for DRAx devices.
    For smart update issue you need to check documentation, forums etc. of your distribution.
    Also note that for development platform TI uses and recommends Ubuntu (as stated in Processor SDK Linux Automotive Software Developers Guide).

    Regards,
    Yordan
  • Yordan,

    My code is based on the automotive SDK 3.02 with the patches published by TI. I changed that packaging to rpm since it is better than ipk having good support in the industry on SuSE and Redhat.
    I am not running ubuntu on the DRA726 so I don't see the logic about asking the ubuntu community on this.

    Anyhow when I checked the information on smart update I see that is now obsolete having little to no support for it. I looked into switching to DNF, not an option for the yocto version used by Texas Instruments which is not up to date. Yocto has officially phased out smart update and adopted DNF which is a lot better.

    It looks like, without any input from TI that I have little chance on getting the broken smart update in TI's yocto working correctly. Since it officially no longer exists in yocto, good luck getting any help on line with it.

    I will have to write some code to use rpm directly instead.

    By the way it works fine on ubuntu, centos and redhat, that is the Texas Instruments version that is broken.

    Thanks anyway

    Michel Catudal
    ACTIA Corp