Bug 19194 - Upgrading nodejs from Mageia 5 to Cauldron/Mga6 throws some conflicts errors
Summary: Upgrading nodejs from Mageia 5 to Cauldron/Mga6 throws some conflicts errors
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Joseph Wang
QA Contact:
URL: http://www.shlomifish.org/Files/files...
Whiteboard: MGA6TOO
Keywords:
Depends on:
Blocks: 21340
  Show dependency treegraph
 
Reported: 2016-08-13 14:38 CEST by Shlomi Fish
Modified: 2018-07-11 23:39 CEST (History)
4 users (show)

See Also:
Source RPM: nodejs-6.10.3-2.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Shlomi Fish 2016-08-13 14:38:58 CEST
Description of problem:

urpmi is giving me this:

Installation failed:	file /usr/lib/node_modules/npm/node_modules/ansi from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64
	file /usr/lib/node_modules/npm/node_modules/block-stream from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64
	file /usr/lib/node_modules/npm/node_modules/char-spinner from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64
	file /usr/lib/node_modules/npm/node_modules/chmodr from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64
	file /usr/lib/node_modules/npm/node_modules/github-url-from-git from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64
	file /usr/lib/node_modules/npm/node_modules/github-url-from-username-repo from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64
	file /usr/lib/node_modules/npm/node_modules/lru-cache from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64
	file /usr/lib/node_modules/npm/node_modules/minimatch from install of nodejs-1:4.4.4-3.mga6.x86_64 conflicts with file from package nodejs-0.10.42-1.mga5.x86_64

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

mga5 x86-64 to Cauldron.

How reproducible:

Only tried once in a vbox VM.

Steps to Reproduce:
1. install mageia 5 x86-64.
2. install all updates.
3. install nodejs.
4. Set up the Cauldron repositories - see https://wiki.mageia.org/en/Cauldron#How_to_update_to_Mageia_Cauldron
5. urpmi.update -a
6. urpmi nodejs.
Comment 1 Thierry Vignaud 2016-08-13 14:45:16 CEST
I would bet on file-on-directory self conflict on upgrade

CC: (none) => thierry.vignaud

Marja Van Waes 2016-08-17 09:34:56 CEST

CC: (none) => marja11
Assignee: bugsquad => joequant

Comment 2 Marja Van Waes 2017-03-29 07:40:50 CEST
We have nodejs-6.9.1-3.mga6 instead of nodejs-4.4.4-3.mga6 now, and there are no reports about this still happening. Assuming this bug is no longer valid.

Please reopen if it still happens with current nodejs

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

Comment 3 Christian Lohmaier 2017-07-18 18:12:01 CEST
reopen still occurs.

updating from nodejs-0.10.48-1.mga5 to nodejs-6.10.3-2.mga6 (note: epoch 1) failed because of file-conflict:
 /usr/lib/node_modules/npm/node_modules/text-table 
collides with the mga5 one

it's a symlink in the mga6 package (-> ../node_modules.bundled/text-table/ ), but regular directory in mga5 package.

Source RPM: nodejs-4.4.4-3.mga6.src.rpm => nodejs-6.10.3-2.mga6.src.rpm
Resolution: FIXED => (none)
Status: RESOLVED => REOPENED
CC: (none) => lohmaier+mageia

Rémi Verschelde 2017-07-18 18:21:20 CEST

Whiteboard: (none) => MGA6TOO

Rémi Verschelde 2017-07-24 14:33:35 CEST

Blocks: (none) => 21340

Comment 4 Trou Du Cul Merdeux 2017-07-26 20:57:58 CEST
I confirm issue when upgrade to mageia 6. Please fix.

Status: REOPENED => ASSIGNED
Whiteboard: MGA6TOO => MGA6TOO advisory
Severity: normal => critical
Keywords: (none) => validated_backport
CC: (none) => trouducul
Priority: Normal => High

Comment 5 Manuel Hiebel 2017-07-26 21:02:34 CEST
please stop playing with our bugzilla

Whiteboard: MGA6TOO advisory => MGA6TOO
Keywords: validated_backport => (none)

Comment 6 Frédéric "LpSolit" Buclin 2017-07-26 23:11:12 CEST
(reverting changes made by spammer)

Priority: High => Normal
Severity: critical => normal
Status: ASSIGNED => NEW
CC: trouducul => (none)

Comment 7 Dave Hodgins 2018-07-11 23:39:18 CEST
[root@x5v ~]# rpm -qa|grep nodejs
nodejs-0.10.48-1.mga5
[root@x5v ~]# urpmi --test nodejs
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
  Package                        Version      Release       Arch    
(medium "Core Release")
  lib64uv1                       1.9.0        4.mga6        x86_64  
  nodejs                         6.10.3       2.mga6        x86_64  
(medium "Core Updates")
  icu58-data                     58.2         3.2.mga6      noarch  
  lib64icu58                     58.2         3.2.mga6      x86_64  
  libstdc++-devel                5.5.0        1.mga6        x86_64  
  libstdc++6                     5.5.0        1.mga6        x86_64  
38MB of additional disk space will be used.
15MB of packages will be retrieved.
Proceed with the installation of the 6 packages? (Y/n) 


installing lib64icu58-58.2-3.2.mga6.x86_64.rpm libstdc++-devel-5.5.0-1.mga6.x86_64.rpm libstdc++6-5.5.0-1.mga6.x86_64.rpm icu58-data-58.2-3.2.mga6.noarch.rpm lib64uv1-1.9.0-4.mga6.x86_64.rpm nodejs-6.10.3-2.mga6.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #################################################################################################################################
Installation is possible

Closing as fixed.

Resolution: (none) => FIXED
Status: NEW => RESOLVED
CC: (none) => davidwhodgins


Note You need to log in before you can comment on or make changes to this bug.