Bug 16112 - Can't install nodejs-grunt-cli
Summary: Can't install nodejs-grunt-cli
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: Mageia 5
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-12 15:07 CEST by Kristoffer Grundström
Modified: 2016-10-23 21:45 CEST (History)
3 users (show)

See Also:
Source RPM: nodejs-grunt-cli
CVE:
Status comment:


Attachments

Description Kristoffer Grundström 2015-06-12 15:07:54 CEST
Description of problem: I need to install nodejs-grunt-cli to compile a new version of Popcorn Time and as I login as root in terminal and I type urpmi nodejs-grunt-cli it fails to install.

[root@localhost ~]# urpmi nodejs-grunt-cli --auto


    http://ftp.acc.umu.se/mirror/mageia/distrib/5/x86_64/media/core/release/nodejs-grunt-cli-0.1.13-5.mga5.noarch.rpm
installerar nodejs-grunt-cli-0.1.13-5.mga5.noarch.rpm från /var/cache/urpmi/rpms
Preparing...                     #############################################
      1/1: nodejs-grunt-cli      #############################################
error: unpacking of archive failed at file /usr/lib/node_modules/grunt-cli/node_modules/findup-sync: cpio: rename
ERROR: 'unpack' failed for nodejs-grunt-cli-0.1.13-5.mga5
error: nodejs-grunt-cli-0.1.13-5.mga5.noarch: installation failed

Yes, I did do urpmi.update -a before I tried to install it.

[root@localhost ~]# urpmq --list-media
Core Release
Core Release Debug
Core Updates
Core Updates Debug
Nonfree Release
Nonfree Release Debug
Nonfree Updates
Nonfree Updates Debug
Tainted Release
Tainted Release Debug
Tainted Updates
Tainted Updates Debug
Core 32bit Release
Core 32bit Updates
Nonfree 32bit Release
Nonfree 32bit Updates
Tainted 32bit Release
Tainted 32bit Updates

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

How reproducible: Everytime.

Steps to Reproduce:
1. Login to Mate.
2. Open terminal.
3. Login as root.
4. Type urpmi nodejs-grunt-cli.
5. Voila! urpmi fails to install it.

Reproducible: 

Steps to Reproduce:
Kristoffer Grundström 2015-06-12 15:08:00 CEST

CC: (none) => kristoffer.grundstrom1983

Kristoffer Grundström 2015-06-12 15:08:11 CEST

Target Milestone: --- => Mageia 5

Comment 1 Sander Lepik 2015-06-13 16:47:39 CEST
Works for me..

Status: NEW => UNCONFIRMED
CC: (none) => mageia
Ever confirmed: 1 => 0

Comment 2 David Walser 2015-06-14 02:52:01 CEST
OK, I just had a look into this.  When you and I discussed it on IRC, you ran ls on /usr/lib/node_modules/grunt-cli/node_modules/findup-sync and found that it was a directory.  The package expects it to be a symbolic link, which is why cpio is crapping out.  You need to remove that directory before you can install this package.  If the problem persists, you need to find out what is creating that directory.
Comment 3 Marja Van Waes 2016-10-23 21:45:17 CEST
No action since 16 months ago, and no one confirmed the issue.

Closing

Resolution: (none) => OLD
Status: UNCONFIRMED => RESOLVED
CC: (none) => marja11


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