Bug 25157

Summary: impossibility to erase the "ghost"package crossover-12.0.0-1.i386
Product: Mageia Reporter: peter lawford <petlaw726>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal    
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description peter lawford 2019-07-20 15:55:10 CEST
Description of problem:
a long time ago, I have installed and after uninstalled, but surely improperly the package crossover-12.0.0-1
now it's impossible to erase it:
[root@magaux alain4]# LC_ALL=C rpm -e crossover-12.0.0-1
/var/tmp/rpm-tmp.qoa9PS: line 55: /opt/cxoffice/bin/cxtie: No such file or directory
error: %preun(crossover-12.0.0-1.i386) scriptlet failed, exit status 1
error: crossover-12.0.0-1.i386: erase failed

furthermore we have:
[root@magaux alain4]# ls /opt
Adobe/  google/  lib/  share/  viber/  vivaldi/

as we can see therei no directory cxoffice in /opt

this detail makes the upgrade from mageia6 to 7 impossible, when typing
urpmi --replacefiles --auto-update --auto --download-all
the process stops at "crossover"



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Jani Välimaa 2019-07-20 19:19:38 CEST
Remove crossover with rpm before upgrading:
rpm -e --nodeps --noscripts crossover

After removing crossover, use urpmi to upgrade, but don't use --replacefiles option or replace it with --force if you don't want to be asked for conflicting pkg removals etc.
Comment 2 peter lawford 2019-07-20 22:43:02 CEST
(In reply to Jani Välimaa from comment #1)
> Remove crossover with rpm before upgrading:
> rpm -e --nodeps --noscripts crossover
> 
> After removing crossover, use urpmi to upgrade, but don't use --replacefiles
> option or replace it with --force if you don't want to be asked for
> conflicting pkg removals etc.

OK thank you very much, it was a concern for me
your command seems to work:

[root@magaux alain4]# rpm -qa |grep crossover
[root@magaux alain4]#
Comment 3 Lewis Smith 2019-07-23 22:05:46 CEST
(In reply to peter lawford from comment #2)
> OK thank you very much, it was a concern for me
> your command seems to work:
I hope you are agreeable to closing this.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 4 peter lawford 2019-07-24 15:25:56 CEST
(In reply to Lewis Smith from comment #3)
> (In reply to peter lawford from comment #2)
> > OK thank you very much, it was a concern for me
> > your command seems to work:
> I hope you are agreeable to closing this.

OK you may close this bug