Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Update error help needed please.

  1. #1

    Default Update error help needed please.

    Not sure if the error is as a result of temporarily using Saurerland's repo or HP installation but Please could somebody advise how I delete offending material:-

    Code:
    Checking for file conflicts: ..................................................................................[done]
    (1/5) Installing: hplip-hpijs-3.19.6-2.1.x86_64 ...............................................................[done]
    (2/5) Installing: python2-pytz-2019.2-2.1.noarch .............................................................[error]
    Installation of python2-pytz-2019.2-2.1.noarch failed:
    Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/pytz/zoneinfo: cpio: File from package already exists as a directory in system
    error: python2-pytz-2019.2-2.1.noarch: install failed
    error: python2-pytz-2019.2-1.1.noarch: erase skipped
    Many thanks,
    Budge

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,079
    Blog Entries
    15

    Default Re: Update error help needed please.

    Quote Originally Posted by Budgie2 View Post
    Not sure if the error is as a result of temporarily using Saurerland's repo or HP installation but Please could somebody advise how I delete offending material:-

    Code:
    Checking for file conflicts: ..................................................................................[done]
    (1/5) Installing: hplip-hpijs-3.19.6-2.1.x86_64 ...............................................................[done]
    (2/5) Installing: python2-pytz-2019.2-2.1.noarch .............................................................[error]
    Installation of python2-pytz-2019.2-2.1.noarch failed:
    Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/pytz/zoneinfo: cpio: File from package already exists as a directory in system
    error: python2-pytz-2019.2-2.1.noarch: install failed
    error: python2-pytz-2019.2-1.1.noarch: erase skipped
    Many thanks,
    Budge
    Hi
    Doubt it since the python2-pytz package is from the main oss repository, more likely an incomplete mirror, force a refresh and zypper dup again;

    Code:
    zypper -vvv ref -f
    zypper -vvv dup
    Had no issues here with the package, installing and uninstalling....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Update error help needed please.

    Hi Malcolm and thanks for the reply. I opted to change vendor back to opensuse just in case there was a problem with Sauerland's update for he hplip package but there is still a problem. Here is the leg again:-

    Code:
    Checking for file conflicts: ..................................................................................[done]
    (1/4) Installing: hplip-sane-3.19.6-2.1.x86_64 ................................................................[done]
    (2/4) Installing: python2-pytz-2019.2-2.1.noarch .............................................................[error]
    Installation of python2-pytz-2019.2-2.1.noarch failed:
    Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/pytz/zoneinfo: cpio: File from package already exists as a directory in system
    error: python2-pytz-2019.2-2.1.noarch: install failed
    error: python2-pytz-2019.2-1.1.noarch: erase skipped
    
    Abort, retry, ignore? [a/r/i] (a):
    Any other suggestions or should I just wait 24 hours and try again?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,079
    Blog Entries
    15

    Default Re: Update error help needed please.

    Quote Originally Posted by Budgie2 View Post
    Hi Malcolm and thanks for the reply. I opted to change vendor back to opensuse just in case there was a problem with Sauerland's update for he hplip package but there is still a problem. Here is the leg again:-

    Code:
    Checking for file conflicts: ..................................................................................[done]
    (1/4) Installing: hplip-sane-3.19.6-2.1.x86_64 ................................................................[done]
    (2/4) Installing: python2-pytz-2019.2-2.1.noarch .............................................................[error]
    Installation of python2-pytz-2019.2-2.1.noarch failed:
    Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/pytz/zoneinfo: cpio: File from package already exists as a directory in system
    error: python2-pytz-2019.2-2.1.noarch: install failed
    error: python2-pytz-2019.2-1.1.noarch: erase skipped
    
    Abort, retry, ignore? [a/r/i] (a):
    Any other suggestions or should I just wait 24 hours and try again?
    Hi
    Could try forcing that one package;

    Code:
    zypper in -f python2-pytz-2019.2-2.1.noarch
    Or maybe rebuild the rpm database;

    Code:
    rpm --rebuilddb
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Update error help needed please.

    Hi Malcolm,
    No joy I'm afraid.
    Could I find and delete the file that is in the wrong place?

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,079
    Blog Entries
    15

    Default Re: Update error help needed please.

    Quote Originally Posted by Budgie2 View Post
    Hi Malcolm,
    No joy I'm afraid.
    Could I find and delete the file that is in the wrong place?
    Hi
    I would manually download and install the rpm;


    https://download.opensuse.org/tumble...rpm.mirrorlist

    Code:
    zypper in -f python2-pytz-2019.2-2.1.noarch.rpm
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,368
    Blog Entries
    2

    Default Re: Update error help needed please.

    If the described steps above don't work,
    I'd consider looking for, and purging anything with "pytz" on your system...

    First,
    Uninstall all pytz packages...
    Code:
    zypper si pytz
    zypper si "*pytz"
    zypper si "pytz*"
    zypper si "*pytz*"
    Then,
    After the above you will look for any remnants on your system that might have "pytz" in the directory or file name
    Use "locate" to look for any instances of pytz, if you don't already have locate installed, it' in the mlocate package. Newly installed mlocate packages need to update the database immediately to work (See MAN page or various posts I've made to these Forums)
    Code:
    locate pytz
    Depending on what you might find, manually "rm" the offending directories or files.

    Then,
    Try re-installing whatever package you prefer.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #8
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,296

    Default Re: Update error help needed please.

    Not a solution, but...

    Do you actually need "python2-pytz"? It's not installed on my TW system, so may be a recommended package only, unless you've installed a package that requires it.

    What does
    Code:
    sudo rpm -q --whatrequires python2-pytz
    return, if it's not required I'd perhaps, for the moment, just delete that package.

    Googling your error shown in the first post
    Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/pytz/zoneinfo: cpio: File from package already exists as a directory in system
    that type of error seems to be often associated with a corrupt rpm package.
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191109) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  9. #9

    Default Re: Update error help needed please.

    This is fun. Hi Tsu and thanks for the suggestion. Sadly it came too late; being impatient I had decided to delete the offending file.
    Having now seen both recent posts I did check what required the offending file and received:-

    Code:
    no package requires python2-pytz
    However something is still causing a problem and I do not understand what I am now reading:-

    Code:
    alastair@AJBR-W530:~> sudo zypper dup
    [sudo] password for root: 
    Loading repository data...
    Reading installed packages...
    Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
    Computing distribution upgrade...
    2 Problems:
    Problem: python2-qt4-4.12.3-1.7.x86_64 requires python2-sip(api) = 12.6, but this requirement cannot be provided
    Problem: python3-qt4-4.12.3-1.7.x86_64 requires python3-sip(api) = 12.6, but this requirement cannot be provided
    
    Problem: python2-qt4-4.12.3-1.7.x86_64 requires python2-sip(api) = 12.6, but this requirement cannot be provided
      deleted providers: python2-sip-4.19.18-1.1.x86_64
     Solution 1: Following actions will be done:
      keep obsolete python2-sip-4.19.18-1.1.x86_64
      keep obsolete python-sip-common-4.19.18-1.1.x86_64
     Solution 2: deinstallation of python2-qt4-4.12.3-1.7.x86_64
     Solution 3: break python2-qt4-4.12.3-1.7.x86_64 by ignoring some of its dependencies
    
    Choose from above solutions by number or skip, retry or cancel [1/2/3/s/r/c/d/?] (c):
    What does python2-sip(api) = 12.6 mean? Why 12.6?

  10. #10
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,296

    Default Re: Update error help needed please.

    Again, I'd question whether that's actually a package you (still) need. Most of the qt4 "stuff" has now been removed (or ported to qt5) or is in the process of being removed.

    As before, I've not got "python2-qt4" on this TW install, (but you of course may still require it)

    Check if it's needed:
    Code:
    sudo rpm -q --whatrequires python2-qt4
    If not then remove the package, or, alternatively select option "1" and keep the obsolete packages.

    (The 12.6 is, I believe, the internal version number of the api...)

    Edit: you'll need to do the same for python3-qt4
    Last edited by tannington; 27-Sep-2019 at 06:40. Reason: overlooked python3-qt4...
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191109) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •