Bug 156450

Summary: lukemftp and lftp conflict
Product: [openSUSE] SUSE Linux 10.1 Reporter: Lars Marowsky-Bree <lmb>
Component: InstallationAssignee: Petr Ostadal <postadal>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Major    
Priority: P5 - None CC: dmueller, eich, lnussel, meissner
Version: Beta 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lars Marowsky-Bree 2006-03-09 13:36:21 UTC
Upgrading from SL10.0 to SL10.1b7 (i386), Default KDE Selection, I had to resolve a conflict between lukemftp and lftp manually: it wanted to install both, but the packages conflict.

Please resolve.
Comment 1 Lars Marowsky-Bree 2006-03-09 13:49:14 UTC
Re-assigning to package maintainer
Comment 2 Michael Gross 2006-03-09 13:50:21 UTC
Just wanted to do that. AFAIK this is a wanted dependency however I don't know why.
Comment 3 Dirk Mueller 2006-03-09 14:19:06 UTC
lftp has a lukemftp compat mode and therefore conflicts with lukemftp now. I guess we should handle this conflict during upgrade. 

it also happens during SL9.3 -> SL10.1B7 update. 

Comment 4 Marcus Meissner 2006-03-09 14:38:55 UTC
i have seen that too.
Comment 5 Petr Ostadal 2006-03-09 14:58:02 UTC
Hm, #154349 was correct fix I have to remove lukemftp from Conflicts and add lftp to lukemftp Obsoletes according to session "alternative package" from following document
http://w3.suse.de/~kkaempf/specifications/how-to-specify-dependencies/dep.html
Comment 6 Petr Ostadal 2006-03-09 15:00:06 UTC
s/was/wasn't in comment #5
Comment 7 Petr Ostadal 2006-03-09 15:06:18 UTC
lftp and lukemftp with changes from comment #5 was submited to STABLE
Comment 8 Ludwig Nussel 2006-03-10 10:05:30 UTC
you cannot have two packages that obsolete each other. That's completely broken semantic. The mentioned document of course doesn't suggest adding mutual obsoletes anywhere. You have three options:

- leave the offending file in both packages => packages must conflict with each other. Bad due to update problem.
- remove the file from one package
- remove the file from both and use update-alternatives to install a symlink

Choose your poison.
Comment 9 Petr Ostadal 2006-03-10 14:36:34 UTC
Ok I am preparing update-alternatives for both packages
Comment 10 Christian Boltz 2006-03-11 00:17:13 UTC
*** Bug 157314 has been marked as a duplicate of this bug. ***
Comment 11 Petr Ostadal 2006-03-11 17:30:13 UTC
added alternatives system to lftp and lukemftp a submited to STABLE
Comment 12 Andreas Schwab 2006-03-12 15:15:43 UTC
lftp still obsoletes lukemftp and vice versa.
Comment 13 Petr Ostadal 2006-03-13 08:46:50 UTC
I know it, this is what I want it. You have another idea?
Comment 14 Andreas Schwab 2006-03-13 09:53:20 UTC
Why don't you read your bug reports???
Comment 15 Petr Ostadal 2006-03-13 11:23:19 UTC
I read again document how-to-specify-dependencies/dep.html, I forgot read last sentence which notify about 'silent conflict', you are right. I removed Obsoleted from both packages. I hope, that it is now really fixed ;)