Bug 1176792 - Error unpacking rpm package python-ipython-notebook-2.3.0-1.fc21.noarch
Summary: Error unpacking rpm package python-ipython-notebook-2.3.0-1.fc21.noarch
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: ipython
Version: 21
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-23 09:28 UTC by redhat
Modified: 2015-12-02 16:50 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-02 06:23:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description redhat 2014-12-23 09:28:02 UTC
Description of problem:
Trying to update the package python-ipython-notebook via yum update. It keeps failing to unpack because of some rename error.

Version-Release number of selected component (if applicable):
2.3.0-1.fc21.noarch

How reproducible:
Everytime running yum update.

Steps to Reproduce:
1. yum update -y or yum update python-ipython-notebook
2.
3.

Actual results:
Running transaction (shutdown inhibited)
  Updating   : python-ipython-notebook-2.3.0-1.fc21.noarch                  1/2
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/IPython/html/static/components/font-awesome/font: cpio: rename
  Verifying  : python-ipython-notebook-2.3.0-1.fc21.noarch                  1/2
  Verifying  : python-ipython-notebook-0.13.2-4.fc20.noarch                 2/2
 
Failed:
  python-ipython-notebook.noarch 0:0.13.2-4.fc20                                
  python-ipython-notebook.noarch 0:2.3.0-1.fc21                                
 
Complete!

Full log:
http://paste.fedoraproject.org/162356/14193264/

Expected results:
Updated Package.

Additional info:
Upgraded F20 -> F21 via fedup

Comment 1 Orion Poplawski 2014-12-23 16:15:57 UTC
Thomas - did a directory get turned into a link or vice-versa?  rpm cannot handle that on its own.  http://fedoraproject.org/wiki/Packaging:Directory_Replacement

Comment 2 Thomas Spura 2015-01-13 22:41:19 UTC
(In reply to Orion Poplawski from comment #1)
> Thomas - did a directory get turned into a link or vice-versa?  rpm cannot
> handle that on its own. 
> http://fedoraproject.org/wiki/Packaging:Directory_Replacement

Thanks for that pointer.

The font folder is now a symlink indeed.

Yet, I don't find that folder in the 0.13.4 rpm mentioned above:
http://koji.fedoraproject.org/koji/rpminfo?rpmID=5260049

Do I miss here something or do I just don't see that file...?

Comment 3 Zachary Graham 2015-03-04 05:37:06 UTC
Similar happened to me, but I'm installing (not updating) python-ipython-notebook

Version: 2.3.0-1.fc21

Steps to reproduce:
1. su -c 'yum -y install python-ipython-notebook'

Actual Results:
Error unpacking rpm package python-ipython-notebook-2.3.0-1.fc21.noarch
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/IPython/html/static/components/highlight.js/build: cpio: rename
  Verifying  : python-ipython-notebook-2.3.0-1.fc21.noarch               1/1 

Failed:
  python-ipython-notebook.noarch 0:2.3.0-1.fc21

Full Log:
http://paste.fedoraproject.org/193116/raw/

Comment 4 Orion Poplawski 2015-03-04 05:42:41 UTC
Zachary - can you post the output of:

rpm -qf /usr/lib/python2.7/site-packages/IPython/html/static/components/highlight.js/build
ls -l /usr/lib/python2.7/site-packages/IPython/html/static/components/highlight.js/build

Comment 5 Orion Poplawski 2015-03-04 05:56:45 UTC
(In reply to Thomas Spura from comment #2)
> 
> The font folder is now a symlink indeed.
> 
> Yet, I don't find that folder in the 0.13.4 rpm mentioned above:
> http://koji.fedoraproject.org/koji/rpminfo?rpmID=5260049
> 
> Do I miss here something or do I just don't see that file...?

I don't see it either.  Perhaps something previously in the fedup process left something there?

Comment 6 Zachary Graham 2015-03-05 00:59:44 UTC
Output pasted below specified commands:

(In reply to Orion Poplawski from comment #4)
> Zachary - can you post the output of:
> 
> rpm -qf
> /usr/lib/python2.7/site-packages/IPython/html/static/components/highlight.js/
> build

file /usr/lib/python2.7/site-packages/IPython/html/static/components/highlight.js/build is not owned by any package

> ls -l
> /usr/lib/python2.7/site-packages/IPython/html/static/components/highlight.js/
> build

total 96
-rw-r--r--. 1 root root 94848 Jan  8  2014 highlight.pack.js

Comment 7 Orion Poplawski 2015-03-05 02:15:24 UTC
Any chance you had previously installed IPython with pip?

Comment 8 Zachary Graham 2015-03-08 05:15:08 UTC
Why yes, it appears so. Back in August 2013.

output of "/usr/bin/pip2 freeze |grep ipython":

ipython==1.1.0

Should I uninstall via pip and attempt, install with yum, and report back?

Comment 9 Orion Poplawski 2015-03-09 03:05:35 UTC
I'm pretty sure that's the issue.  And I don't think we can really have expectation to support that upgrade path in general.  As for the original report, that's possibly another issue.

Comment 10 Zachary Graham 2015-03-12 18:45:40 UTC
My issues has been resolved, by uninstalling ipython with pip and installing ipython/ipython-notebook with yum.

Thanks, Orion!

Comment 11 Fedora End Of Life 2015-11-04 13:12:43 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2015-12-02 06:23:07 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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