| Summary: | urpmi reports file conflicts between new packages and older packages which are going to be removed | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Frank Griffin <ftg> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | kde, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | urpmi | CVE: | |
| Status comment: | |||
|
Marja Van Waes
2018-01-07 06:52:27 CET
Assignee:
bugsquad =>
mageiatools
Marja Van Waes
2018-01-07 06:52:47 CET
CC:
(none) =>
kde I don't see any conflicts being reported in the output you pasted. Maybe you redirected standard output to a file but missed standard error and that's where the messages were? Note that you can do "> foo.txt 2>&1" to also redirect standard error. Certainly there shouldn't be conflicts. Note to always remove --keep from your options before reporting bugs. Actually, it was cut-and-paste from the terminal window where I ran urpmi. I thought I had included the conflicts, but apparently not. I'll close this as INVALID and wait for it to reoccur. Resolution:
(none) =>
INVALID |
I've been noticing for a while (and reporting in the ML) that new packages often have file conflicts with older ones, and I figured it was just a packaging error. Now I'm not so sure. On one particular cauldron system (but not on another), an --auto-update --keep spewed out tons of file conflicts, mostly involving KDE packages. So I reran --auto-update --keep to get a list of what hadn't installed: [root@ftgme2 ~]# urpmi --auto-update --keep --split-level=1 --split-length=1 medium "Core Release" is up-to-date medium "Core Release Debug" is up-to-date medium "Core Updates" is up-to-date medium "Nonfree Release" is up-to-date medium "Nonfree Release Debug" is up-to-date medium "Nonfree Updates" is up-to-date medium "Tainted Release" is up-to-date medium "Tainted Updates" is up-to-date medium "Core 32bit Release" is up-to-date medium "Core 32bit Updates" is up-to-date medium "Nonfree 32bit Release" is up-to-date medium "Nonfree 32bit Updates" is up-to-date medium "Tainted 32bit Release" is up-to-date medium "Tainted 32bit Updates" is up-to-date WARNING: --keep option is in use. Some strange problems may happen To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") khelpcenter-handbook 17.12.0 1.mga7 noarch kolf 17.12.0 1.mga7 x86_64 kolf-handbook 17.12.0 1.mga7 noarch ksirk 17.12.0 1.mga7 x86_64 ksirk-handbook 17.12.0 1.mga7 noarch sweeper 17.12.0 1.mga7 x86_64 sweeper-handbook 17.12.0 1.mga7 noarch umbrello 17.12.0 1.mga7 x86_64 9.5MB of additional disk space will be used. 11MB of packages will be retrieved. Proceed with the installation of the 8 packages? (Y/n) n Since the conflicts were all between these and older packages, and I wanted the new ones, I thought "just use --allow-force". But when I did: [root@ftgme2 ~]# urpmi --auto-update --keep --split-level=1 --split-length=1 --allow-force --force medium "Core Release" is up-to-date medium "Core Release Debug" is up-to-date medium "Core Updates" is up-to-date medium "Nonfree Release" is up-to-date medium "Nonfree Release Debug" is up-to-date medium "Nonfree Updates" is up-to-date medium "Tainted Release" is up-to-date medium "Tainted Updates" is up-to-date medium "Core 32bit Release" is up-to-date medium "Core 32bit Updates" is up-to-date medium "Nonfree 32bit Release" is up-to-date medium "Nonfree 32bit Updates" is up-to-date medium "Tainted 32bit Release" is up-to-date medium "Tainted 32bit Updates" is up-to-date WARNING: --allow-force option is in use. Some strange problems may happen WARNING: --keep option is in use. Some strange problems may happen installing sweeper-17.12.0-1.mga7.x86_64.rpm from /mnt/cauldron/x86_64/media/core/release Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 1/8: sweeper ##################################################### 1/1: removing sweeper-17.08.0-1.mga7.x86_64 ##################################################### installing sweeper-handbook-17.12.0-1.mga7.noarch.rpm from /mnt/cauldron/x86_64/media/core/release Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 2/8: sweeper-handbook ##################################################### 1/1: removing sweeper-handbook-17.08.0-1.mga7.noarch ##################################################### installing ksirk-17.12.0-1.mga7.x86_64.rpm from /mnt/cauldron/x86_64/media/core/release Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 3/8: ksirk ##################################################### 1/1: removing ksirk-1:17.08.0-1.mga7.x86_64 ##################################################### installing ksirk-handbook-17.12.0-1.mga7.noarch.rpm from /mnt/cauldron/x86_64/media/core/release Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 4/8: ksirk-handbook ##################################################### 1/1: removing ksirk-handbook-1:17.08.0-1.mga7.noarch ##################################################### installing umbrello-17.12.0-1.mga7.x86_64.rpm from /mnt/cauldron/x86_64/media/core/release Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 5/8: umbrello ##################################################### 1/1: removing umbrello-1:17.08.0-1.mga7.x86_64 ##################################################### installing kolf-17.12.0-1.mga7.x86_64.rpm from /mnt/cauldron/x86_64/media/core/release Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 6/8: kolf ##################################################### 1/1: removing kolf-1:17.08.0-1.mga7.x86_64 ##################################################### installing kolf-handbook-17.12.0-1.mga7.noarch.rpm from /mnt/cauldron/x86_64/media/corerelease Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 7/8: kolf-handbook ##################################################### 1/1: removing kolf-handbook-1:17.08.0-1.mga7.noarch ##################################################### installing khelpcenter-handbook-17.12.0-1.mga7.noarch.rpm from /mnt/cauldron/x86_64/meda/core/release Preparing... ##################################################### Preparing... ##################################################### Preparing... ##################################################### 8/8: khelpcenter-handbook ##################################################### 1/1: removing khelpcenter-handbook-2:17.08.0-1.mga7.noarch ##################################################### [root@ftgme2 ~]# Notice how in each case the install of the new package uninstalls the older conflicting one. 1) Should urpmi even be reporting file conflicts between packages when the installation of one is going to remove the other ? 2) Is this actually a packaging problem ? Clearly the new packages have metadata that says the older package is to be removed, but is this enough to satisfy urpmi in this respect ?