Opened 7 years ago

Closed 7 years ago

#266 closed defect (no change needed)

Error in update LIBODIN to version 0.9.0

Reported by: Anchieri Owned by:
Priority: Feedback Pending Milestone:
Component: other Version:
Severity: medium Keywords:
Cc:

Description

I want to update my ODIN version 089 to new 090 for testing,
but I receive this message from ANPM:

An error occurred when trying to download or install packages.

Errori nel test di transazione:
il file /@unixroot/usr/lib/rpm/warpin-conflicts.exe
dell'installazione di os2-rpm-0-4.oc00.noarch entra in conflitto con il file del pacchetto
rpm-4.13.0-25.oc00.pentium4
il file /@unixroot/usr/lib/rpm/wps-object.exe
dell'installazione di os2-rpm-0-4.oc00.noarch entra in conflitto con il file del pacchetto
rpm-4.13.0-25.oc00.pentium4

My rpm version is: 4.13.0-25 pentium4

I have tried to install only os2-rpm but this error remain.

G.M. Anchieri

Attachments (2)

2017-yum-qi.txt (3.0 KB ) - added by Anchieri 7 years ago.
2017-yum-IP.txt (1.2 KB ) - added by Anchieri 7 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 by Silvan Scherrer, 7 years ago

Component: yumother
Priority: blockerFeedback Pending
Severity: highmedium

please open a cmdline and do a "set lang=en_US". After that do a "yum update libodin"
And attach the complete output in here.

comment:2 by Yuri Dario, 7 years ago

Please report the output of the following command:

yum list "*rpm-4*"

so we can understand where did you get such rpm version.

comment:3 by Anchieri, 7 years ago

[C:\]set lang=en_US
[C:\]
[C:\]yum update libodin

Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libodin.i386 0:0.8.9-1 will be updated
--> Processing Dependency: libodin = 0.8.9-1 for package: odin-doc-0.8.9-1.noarch
--> Processing Dependency: libodin = 0.8.9-1 for package: odin-exe-tools-0.8.9-1.i386
--> Processing Dependency: libodin = 0.8.9-1 for package: libodin-capi20-0.8.9-1.i386
--> Processing Dependency: libodin = 0.8.9-1 for package: libodin-security-0.8.9-1.i386
---> Package libodin.pentium4 0:0.9.0-1 will be an update
--> Processing Dependency: os2-rpm >= 0-4 for package: libodin-0.9.0-1.pentium4
--> Running transaction check
---> Package libodin-capi20.i386 0:0.8.9-1 will be updated
---> Package libodin-capi20.pentium4 0:0.9.0-1 will be an update
---> Package libodin-security.i386 0:0.8.9-1 will be updated
---> Package libodin-security.pentium4 0:0.9.0-1 will be an update
---> Package odin-doc.noarch 0:0.8.9-1 will be updated
---> Package odin-doc.noarch 0:0.9.0-1 will be an update
---> Package odin-exe-tools.i386 0:0.8.9-1 will be updated
---> Package odin-exe-tools.pentium4 0:0.9.0-1 will be an update
---> Package os2-rpm.noarch 0:0-2.oc00 will be updated
---> Package os2-rpm.noarch 0:0-4.oc00 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package Arch Version Repository Size

================================================================================

Updating:

libodin pentium4 0.9.0-1 netlabs-exp 2.4 M

Updating for dependencies:

libodin-capi20 pentium4 0.9.0-1 netlabs-exp 12 k
libodin-security pentium4 0.9.0-1 netlabs-exp 31 k
odin-doc noarch 0.9.0-1 netlabs-exp 91 k
odin-exe-tools pentium4 0.9.0-1 netlabs-exp 52 k
os2-rpm noarch 0-4.oc00 netlabs-rel 25 k

Transaction Summary
================================================================================

Upgrade 6 Packages

Total size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test

Transaction Check Error:

file /@unixroot/usr/lib/rpm/warpin-conflicts.exe from install of os2-rpm-0-4.o

c00.noarch conflicts with file from package rpm-4.13.0-25.oc00.pentium4

file /@unixroot/usr/lib/rpm/wps-object.exe from install of os2-rpm-0-4.oc00.no

arch conflicts with file from package rpm-4.13.0-25.oc00.pentium4

Error Summary


[C:\]

[C:\]yum list "*.rpm-4*"
arcanoae-rel | 1.9 kB 00:00
arcanoae-rel/primary | 7.7 kB 00:00
netlabs-exp | 2.9 kB 00:00
netlabs-exp/primary_ | 211 kB 00:00 ] 0.0 B/s | 102 kB --:-- ETA
netlabs-rel | 2.9 kB 00:00
Errore: Nessun pacchetto presente in lista

[C:\]
[C:\]yum list rpm
Installed Packages
rpm.pentium4 4.13.0-25.oc00 installed

Available Packages
rpm.i386 4.8.1-25.oc00 netlabs-rel

rpm.i686 4.13.0-17.oc00 netlabs-exp

G.M. Anchieri

comment:4 by Yuri Dario, 7 years ago

I wonder how you got 4.0.13-25 since the latest available is -17. You need to remove this wrong release. Please try:

yum downgrade rpm

and then

yum upgrade rpm

comment:5 by Anchieri, 7 years ago

-1)
[C:\]yum downgrade rpm -> rpmlog.log
Impostazione processo di downgrade
Risoluzione dipendenze
--> Esecuzione del controllo di transazione
---> Package rpm.i686 0:4.13.0-17.oc00 will be a downgrade
--> Elaborazione dipendenza: rpm-libs = 4.13.0-17.oc00 per il pacchetto: rpm-4.13.0-17.oc00.i686
--> Elaborazione dipendenza: rpm7.dll per il pacchetto: rpm-4.13.0-17.oc00.i686
--> Elaborazione dipendenza: rpmio7.dll per il pacchetto: rpm-4.13.0-17.oc00.i686
---> Package rpm.pentium4 0:4.13.0-25.oc00 will be eliminato
--> Risoluzione delle dipendenze completata

Si può provare ad usare --skip-broken per aggirare il problema
Provare ad eseguire: rpm -Va --nofiles --nodigest

-2)
[C:\]yum downgrade rpm --skip-broken -> rpmlog.log
Impostazione processo di downgrade
Risoluzione dipendenze
--> Esecuzione del controllo di transazione
---> Package rpm.i686 0:4.13.0-17.oc00 will be a downgrade
--> Elaborazione dipendenza: rpm-libs = 4.13.0-17.oc00 per il pacchetto: rpm-4.13.0-17.oc00.i686
--> Elaborazione dipendenza: rpm7.dll per il pacchetto: rpm-4.13.0-17.oc00.i686
--> Elaborazione dipendenza: rpmio7.dll per il pacchetto: rpm-4.13.0-17.oc00.i686
---> Package rpm.pentium4 0:4.13.0-25.oc00 will be eliminato

Pacchetti ignorati a causa di problemi di dipendenze:

rpm-4.13.0-17.oc00.i686 da netlabs-exp

G.M. Anchieri

ps: do I can delete rpm and then install it?

comment:6 by Silvan Scherrer, 7 years ago

please always use the set lang=en_US first, as it's hard to see what Italian messages mean, if you are not from Italy.

But still do you have an idea how you got to a 4.13.0-25 rpm on your system?
What does rpm --version say?

comment:7 by Silvan Scherrer, 7 years ago

please also do a rpm -qi --changelog rpm and attach the output here.

comment:8 by Silvan Scherrer, 7 years ago

and one thing you could test is:
install the yum-replace plugin via yum install yum-plugin-replace and enable the use of plugins. See http://trac.netlabs.org/rpm#Enablingtheuseofplugins for how to enable them.

when this is done try to replace rpm with the latest one with:
yum replace rpm --replace-with rpm

good luck with it

by Anchieri, 7 years ago

Attachment: 2017-yum-qi.txt added

comment:9 by Silvan Scherrer, 7 years ago

You had a really bad timing when you installed this rpm package. As this one was completely wrong and only for about 1-2 days in the exp repo. This was one of the first 4.13 releases which might have several bugs. I hope you can exchange it with the above yum replace instruction.

by Anchieri, 7 years ago

Attachment: 2017-yum-IP.txt added

comment:10 by Anchieri, 7 years ago

[C:\]set lang=en_US

[C:\]rpm --version
RPM version 4.13.0-rc1

For the output from the first command: rpm -qi --changelog rpm
I attach the text file: 2017-yum-qi.txt

For the output from the second command: [C:\]yum install yum-plugin-replace
I attach the text file: 2017-yum-IP.txt

Now I have to read how to activate the plugin prior to replace rpm.

Thank you for your aid,
G.M. Anchieri

comment:11 by Anchieri, 7 years ago

I have executed the command:
[C:\]yum replace rpm --replace-with rpm
Loaded plugins: replace
arcanoae-rel | 1.9 kB 00:00
netlabs-exp | 2.9 kB 00:00
netlabs-exp/primary_ | 213 kB 00:00 ] 0.0 B/s | 108 kB --:-- ETA
netlabs-rel | 2.9 kB 00:00
Not using downloaded repomd.xml because it is older than what we have:

Current : Fri Aug 25 14:46:55 2017
Downloaded: Fri Aug 25 06:46:37 2017

Replacing packages takes time, please be patient...
Error: Multiple packages found matching 'rpm'. Please upgrade manually.

G.M. Anchieri

comment:12 by Silvan Scherrer, 7 years ago

you could try:
yum replace rpm-4.13.0-25.oc00.pentium4 --replace-with=rpm-4.13.0-17.oc00.pentium4

comment:13 by Anchieri, 7 years ago

[C:\]yum replace rpm-4.13.0-25.oc00.pentium4 --replace-with=rpm-4.13.0-17.oc00.pentium4
Loaded plugins: replace
Replacing packages takes time, please be patient...
Error: Package 'rpm-4.13.0-25.oc00.pentium4' is not installed.

[C:\]yum replace rpm --replace-with=rpm-4.13.0-17.oc00.pentium4
Loaded plugins: replace
Replacing packages takes time, please be patient...
Error: No Package Matching rpm-4.13.0-17.oc00.pentium4

G.M. Anchieri

comment:14 by Anchieri, 7 years ago

Dear Diver,
you can close this ticket because I've decided to install RPM/YUM package from scratch,
after a BACKUP of original directory I have downloaded the file: rpm-yum-bootstrap-1_5-p4.wpi
and:
1) deleted all directory of RPM/YUM
2) install the file: libc-0_6_6-csd6.wpi (the bootstrap require a libc066 present)
3) install the rpm-yum-bootstrap-1_5-p4.wpi
4) executed the command: yum install yum

after that I have rebooted and use ANPM for populate the directory with all package previously installed.

Now I can update all my package without the problem of this ticket.

Thank you for your effort to resolve this ticket,
your sincerly, G.M. Anchieri

comment:15 by Silvan Scherrer, 7 years ago

Resolution: no change needed
Status: newclosed

closing on the request of the reporter.

Note: See TracTickets for help on using tickets.