Bug 993421 - Unable to install nodejs-less
Summary: Unable to install nodejs-less
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nodejs-less
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-05 21:42 UTC by jete.okeeffe
Modified: 2013-08-05 21:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-05 21:54:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description jete.okeeffe 2013-08-05 21:42:08 UTC
Description of problem:
Unable to install nodejs-less from EPEL 6 on RHEL 6.4


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


How reproducible:
Everytime for me


Steps to Reproduce:
1. yum install nodejs-less.noarch


Actual results:
Running Transaction
  Installing : nodejs-less-1.4.1-1.el6.noarch                                                                     1/1 
Error unpacking rpm package nodejs-less-1.4.1-1.el6.noarch
error: unpacking of archive failed on file /usr/lib/node_modules/less/node_modules/ycssmin: cpio: rename
  Verifying  : nodejs-less-1.4.1-1.el6.noarch                                                                     1/1 

Failed:
  nodejs-less.noarch 0:1.4.1-1.el6            

Expected results:
Installation of nodejs-less

Additional info:

[root@dev ~]# yum install nodejs-less.noarch
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base: mirrors.cmich.edu
 * epel: www.gtlib.gatech.edu
 * extras: mirrors.cmich.edu
 * updates: centosp4.centos.org
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nodejs-less.noarch 0:1.4.1-1.el6 will be installed
--> Processing Dependency: npm(ycssmin) < 1.1 for package: nodejs-less-1.4.1-1.el6.noarch
--> Processing Dependency: npm(ycssmin) >= 1.0.1 for package: nodejs-less-1.4.1-1.el6.noarch
--> Running transaction check
---> Package ycssmin.noarch 0:1.0.1-4.el6.2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================
 Package                       Arch                     Version                          Repository              Size
======================================================================================================================
Installing:
 nodejs-less                   noarch                   1.4.1-1.el6                      epel                    74 k
Installing for dependencies:
 ycssmin                       noarch                   1.0.1-4.el6.2                    epel                    11 k

Transaction Summary
======================================================================================================================
Install       2 Package(s)

Total download size: 85 k
Installed size: 265 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 85 k
(1/2): nodejs-less-1.4.1-1.el6.noarch.rpm                                                      |  74 kB     00:00     
(2/2): ycssmin-1.0.1-4.el6.2.noarch.rpm                                                        |  11 kB     00:00     
----------------------------------------------------------------------------------------------------------------------
Total                                                                                  69 kB/s |  85 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : ycssmin-1.0.1-4.el6.2.noarch                                                                       1/2 
  Installing : nodejs-less-1.4.1-1.el6.noarch                                                                     2/2 
Error unpacking rpm package nodejs-less-1.4.1-1.el6.noarch
error: unpacking of archive failed on file /usr/lib/node_modules/less/node_modules/ycssmin: cpio: rename
  Verifying  : ycssmin-1.0.1-4.el6.2.noarch                                                                       1/2 
  Verifying  : nodejs-less-1.4.1-1.el6.noarch                                                                     2/2 

Dependency Installed:
  ycssmin.noarch 0:1.0.1-4.el6.2                                                                                      

Failed:
  nodejs-less.noarch 0:1.4.1-1.el6

Comment 1 T.C. Hollingsworth 2013-08-05 21:50:22 UTC
That rpm error usually means that the file/directory it is trying to install already exists.

Did you `npm install -g less` in the past?  If so, you'll need to remove it with `rm -rf /usr/lib/node_modules/less` before you can install it through yum.

Comment 2 jete.okeeffe 2013-08-05 21:54:08 UTC
Yep, you're absolutely right. My bad.


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