smart upgrade is not working anymore

Mark Hatle mark.hatle at windriver.com
Tue Aug 26 06:41:38 PDT 2014


On 8/26/14, 8:19 AM, Tarek El-Sherbiny wrote:
> Hi All,
>
> I ended up in a situation where my smart upgrade command is not doing anything.
> However smart update is detecting the more recent packages on the repo

This looks like you are using OpenEmbedded or the Yocto Project.  You might get 
more response asking there lists.

However, the first thing you need to do is check that you have the rpm-sys 
loaded, as well as the remote feed.  List your available sources, if rpm-sys is 
missing that is your problem.  It's only able to check the remote feed and not 
the local system.

The other thing to check is that your /etc/rpm/platform file is setup properly. 
  This file is used by RPM5 to explain compatibility with packages.  If it's not 
configured properly you can get into a situation where the smart side tries an 
upgrade and the RPM side determines it's not compatible.

--Mark


> $Updating cache...
>   #################################################################################### [100%]
>
> Channels have 3 new packages:
>      example-0.1-r4.0 at cortexa9hf_vfp_neon
>      example-dbg-0.1-r4.0 at cortexa9hf_vfp_neon
>      example-dev-0.1-r4.0 at cortexa9hf_vfp_neon
>
> Saving cache...
>
> $smart upgrade
> Loading cache...
> Updating cache...
>   #################################################################################### [100%]
>
> Computing transaction...
> No interesting upgrades available.
>
> when I tried to force the installation of the package manually I've got the
> following error:
>
> $smart install example
> Loading cache...
> Updating cache...
>   #################################################################################### [100%]
>
> Computing transaction...
>
> Installing packages (6):
>    bash-4.2-r6 at cortexa9hf_vfp_neon
>   libtinfo5-5.9-r15.1 at cortexa9hf_vfp_neon
>    example-0.1-r4.0 at cortexa9hf_vfp_neon
> ncurses-terminfo-base-5.9-r15.1 at cortexa9hf_vfp_neon
>    libc6-2.18-r0 at cortexa9hf_vfp_neon
>   update-alternatives-cworth-1:0.1.8+svnr653-r13.0 at cortexa9hf_vfp_neon
>
> 1.9MB of package files are needed. 3.7MB will be used.
>
> Confirm changes? (Y/n): Y
>
> Fetching packages...
> ->
> http://192.168.113.70/utilite/rpm/cortexa9hf_vfp_neon/example-0.1-r4.0.cortexa9hf_vfp_neon.rpm
>
> example-0.1-r4.0.cortexa9hf_vfp_neon.rpm
> ####################################################################################
> [100%]
>
> Committing transaction...
> Preparing...
> ####################################################################################
> [  0%]
> error: package libc6-2.18-r0.cortexa9hf_vfp_neon is already installed
> error: package ncurses-terminfo-base-5.9-r15.1.cortexa9hf_vfp_neon is already
> installed
> error: package bash-4.2-r6.cortexa9hf_vfp_neon is already installed
> error: package libtinfo5-5.9-r15.1.cortexa9hf_vfp_neon is already installed
>
>
> How do I fix the upgrade command ?
>
> Thanks
>
> --
> /Tarek/



More information about the Smart mailing list