Bug 1091

Summary: RPM in "foreign" repository blocks installer.
Product: Mageia Reporter: Doug Laidlaw <laidlaws>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal Keywords: NEEDINFO
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Doug Laidlaw 2011-05-02 01:02:31 CEST
Description of problem:
I have a RPM of Unknown Horizons by a private maintainer who has created a Mandriva repository.  When trying to upgrade from Mandriva to Mageia, at the step of actually upgrading packages, I get a message "Cannot remove (that package)."  I must remove it manually first.  This is independent of whether the repository is enabled in MCC or not.  Present in Betas 1 and 2.  He has Widelands as well: that requires custom libraries he provides, but which don't support FreeCIV.

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


How reproducible:

Every attempt to upgrade from Mandriva 2010.2 while the RPM is present


Steps to Reproduce:
1.  Have Unknown Horizons installed from repo http://rpm.drehatlas.de/i586/ installed.
2.  Repo enabled or disabled; makes no difference.
3.  Run Mageia installer in normal graphical mode.
4.  Easy fix: remove package first
Comment 1 Ahmad Samir 2011-05-02 01:31:29 CEST
Please provide the output of urpmi when upgrading but add '--debug' to the command line you're using.

FWIW, my initial guess is that there's nothing we can do about upgrading packages from 3rd party repos, but urpmi log should enable us to be sure...
Ahmad Samir 2011-05-02 01:31:41 CEST

Component: Installation => RPM Packages

Comment 2 Ahmad Samir 2011-05-02 01:32:33 CEST
(FWIW, the "Installation" component is only for DVD installer bugs... I wonder if that component name should be changed to make it easier for users when filing bug reports).
Comment 3 Doug Laidlaw 2011-05-02 14:51:58 CEST
(In reply to comment #1)
> Please provide the output of urpmi when upgrading but add '--debug' to the
> command line you're using.
> 
> FWIW, my initial guess is that there's nothing we can do about upgrading
> packages from 3rd party repos, but urpmi log should enable us to be sure...

It happened only during an upgrade with the DVD.  If the installer had said "I can uninstall this but can't put it back" I would have accepted that, although Mandriva RPMS were simply left there.  But the whole upgrade aborted at that point.

Since then, I have removed the package and upgraded without it.  Had issues not related to this bug.
Comment 4 Ahmad Samir 2011-05-02 16:57:19 CEST
Please attach /root/drakx/report.bug.gz from the installed system, it should have the upgrade logs.
Manuel Hiebel 2011-07-27 18:46:07 CEST

Keywords: (none) => NEEDINFO

Comment 5 Doug Laidlaw 2011-08-15 14:23:33 CEST
Sorry, I have reinstalled several times since then.  Might as well close the bug.
Comment 6 Manuel Hiebel 2011-08-16 00:05:35 CEST
ok thanks

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