Wind River Support Network

HomeDefectsLIN7-7617
Fixed

LIN7-7617 : failed to prevent install two same rpm package in system

Created: Mar 8, 2017    Updated: Sep 8, 2018
Resolved Date: Apr 18, 2017
Found In Version: 7.0.0.20
Fix Version: 7.0.0.25
Severity: Severe
Applicable for: Wind River Linux 7
Component/s: Build & Config, Userspace

Description

Normally, when we try to install the same rpm in a system, it should show the following error:

/***************************************************************/
root@qemu1:~# rpm -Uvh ntp-tickadj-4.2.8p4-r0.0.corei7_64.rpm 
hrtimer: interrupt took 3752646 ns
Preparing...                ########################################### [100%]
error: Install/Erase problems:
    package ntp-tickadj-4.2.8p4-r0.0.corei7_64 is already installed
/***************************************************************/

But in WRLinux7/8  project, when I tried to install the same rpm pacakge at the same time via the two console, this pckage can be installed into system twice, and it will show:
root@qemu1:~# rpm -q ntp-tickadj
ntp-tickadj-4.2.8p4-r0.0.corei7_64
ntp-tickadj-4.2.8p4-r0.0.corei7_64


Steps to Reproduce

This issue can be met on WRL7/WRL8, we can reproduce this issue with a qemu project,  start qemu with network enable
make start-target TOPTS="-t -in 1"

and then ssh to qemu via another console

in two console, we install a rpm pckage with the following command at the same time:
rpm -Uvh ntp-tickadj-4.2.8p4-r0.0.corei7_64.rpm


Other Downloads


Live chat
Online