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

Thread: Can't upgrade openSUSE 42.3 to Leap 15

  1. #1

    Default Can't upgrade openSUSE 42.3 to Leap 15

    Code:
    File /usr/lib/python2.7/site-packages/six-1.11.0-py2.7.egg-info
      from install of
         python2-six-1.11.0-lp150.2.3.noarch (Main Repository (OSS))
      conflicts with file from package
         python-six-1.11.0-9.4.1.noarch (@System)
    
    File /usr/lib/python2.7/site-packages/six.py
      from install of
         python2-six-1.11.0-lp150.2.3.noarch (Main Repository (OSS))
      conflicts with file from package
         python-six-1.11.0-9.4.1.noarch (@System)
    
    File /usr/lib/python2.7/site-packages/six.pyc
      from install of
         python2-six-1.11.0-lp150.2.3.noarch (Main Repository (OSS))
      conflicts with file from package
         python-six-1.11.0-9.4.1.noarch (@System)
    
    File /usr/lib/python2.7/site-packages/six.pyo
      from install of
         python2-six-1.11.0-lp150.2.3.noarch (Main Repository (OSS))
      conflicts with file from package
         python-six-1.11.0-9.4.1.noarch (@System)
    
    File /usr/share/doc/packages/kernel-syms/README.SUSE
      from install of
         kernel-syms-4.12.14-lp150.12.45.1.x86_64 (Main Update Repository)
      conflicts with file from package
         kernel-syms-4.4.143-65.1.x86_64 (@System)
    
    File /usr/share/doc/packages/kernel-syms/README.SUSE
      from install of
         kernel-syms-4.12.14-lp150.12.45.1.x86_64 (Main Update Repository)
      conflicts with file from package
         kernel-syms-4.4.165-81.1.x86_64 (@System)
    Any idea pls ?

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,083

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    @boycottsystemd:

    My method to figure out how to resolve such issues is to use the following:
    • rpm --query --whatprovides «Directory or file to be associated with a package»
    • zypper search --installed-only «partial package name»
    • zypper info «package name»
    • zypper repos --uri | grep -i '«Repository name»'

    Code:
     > rpm --query --whatprovides /usr/lib/python2.7/site-packages/
    python-talloc-32bit-2.1.11-lp150.2.3.1.x86_64
    python-base-2.7.14-lp150.6.3.1.x86_64
     > 
     > zypper search --installed-only python-base
    Loading repository data...
    Reading installed packages...
    
    S  | Name        | Summary                         | Type
    ---+-------------+---------------------------------+--------
    i+ | python-base | Python Interpreter base package | package
     > 
     > zypper info python-base
    Loading repository data...
    Reading installed packages...
    
    
    Information for package python-base:
    ------------------------------------
    Repository     : Hauptaktualisierungs-Repository
    Name           : python-base
    Version        : 2.7.14-lp150.6.3.1
    Arch           : x86_64
    Vendor         : openSUSE
    Installed Size : 23.2 MiB
    Installed      : Yes
    Status         : up-to-date
    Source package : python-base-2.7.14-lp150.6.3.1.src
    Summary        : Python Interpreter base package
    Description    :
        Python is an interpreted, object-oriented programming language, and is
        often compared to Tcl, Perl, Scheme, or Java.  You can find an overview
        of Python in the documentation and tutorials included in the python-doc
        (HTML) or python-doc-pdf (PDF) packages.
    
        This package contains all of stand-alone Python files, minus binary
        modules that would pull in extra dependencies.
    
     > 
     > zypper repos --uri | grep -i 'Hauptaktualisierungs-Repository'
    11 | download.opensuse.org-oss_4       | Hauptaktualisierungs-Repository                         | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.0/oss
     >
    Your issue is possibly the Repositories you're using.
    • Check the output of “zypper repos --uri”.
    • Clean up (i.e. delete) any conflicting repositories you happen to have defined; «You may have to use the graphical YaST Software “Versions” tab to inspect which Repositories have been defined» …

    Please check all the steps in the following openSUSE Upgrade “How-To” Wiki articles:

    There's also the following openSUSE documentation: <https://doc.opensuse.org/documentati...ate.osuse.html>.
    Please note that, your Repository names will possibly not be the German language ones …

  3. #3
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,024

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    Quote Originally Posted by boycottsystemd View Post
    Any idea pls ?
    Others may balk at this suggestion, but I don't remember it ever causing me any trouble beyond the typing involved:

    rpm -e --nodeps each of the currently installed packages that cause a reported conflict, then proceed with zypper dup.

    It hasn't happened often, probably because I don't use very many optional repos, and when I do, the need, except for Packman, is usually only short term.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,089
    Blog Entries
    14

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    Please show outout of
    Code:
    zypper lr -d
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    11,161
    Blog Entries
    3

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    When I upgraded 42.3 to 15.0 (experimentally in a VM) a few months ago, I got several conflicts. They were all due to packages from packman. I was upgrading using the DVD which did not have packman. I went with the suggested solution (switch to the opensuse repos) and the upgrade went fine.

    You have not indicated whether you were upgrading with DVD, or you were upgrading online with "zypper dup". And if the latter, please indicate what you did with repos before using "zypper dup".
    openSUSE Leap 15.0; KDE Plasma 5;

  6. #6

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    Hello,

    Thank for replies. I followed instruction on https://en.opensuse.org/SDB:System_upgrade

    Unfortunately, Xorg crashed during 'zypper dup' so upgrade has been halted (and I could not read your replies). I've re-run upgrade in TTY. It has finished but with errors:

    Code:
    ...
    removing filesystem
    warning: directory /sys: remove failed: Device or resource busy.
    ...
    Problem occured during or after installation or removal of packages:
    Failed to cache rpm database (129)

    grub.cfg is missing. I tried boot opensuse from other distros's grub:

    Code:
    <too fast to read messages>
    ...
    [ OK ] Stopped ...
    [ OK ] Stopped ...
    [ OK ] Stopped ...
    ...
    ...
    [ OK ] Reached target Switch root.
    Started switch root...
    systemd-journald: Received SIGTERM from PID 1 (systemd)
    
    sh-4.4 #
    sh-4.4 # rpm -i <somepackage>
    sh-4.4 # error: can't create transaction lock on /var/lib/rpm/.rpm.lock (read only filesystem)
    sh-4.4 #

    Is it please possible to read logs ?
    journalctl and dmesg command was not found.

  7. #7
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,024

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    Quote Originally Posted by boycottsystemd View Post
    I followed instruction on https://en.opensuse.org/SDB:System_upgrade

    Unfortunately, Xorg crashed during 'zypper dup' so upgrade has been halted
    That URL has this very important instruction that you apparently ignored:
    Warning: It is strongly recommended that you run the upgrade outside the X-window graphical mode. Thus it is recommended you run the command from either runlevel 3 (text + network), or a virtual console.
    Your installation might be repairable via a boot from installation media to first perform the /sys/ removal, then reinstall grub. You can also read the journal with it either directly after having chrooted, or indirectly using the -D or --directory= option.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  8. #8

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    42.3 is booting fine now. It's without Xorg and network. Is DVD offline upgrade using https://download.opensuse.org/distri...DVD-x86_64.iso best option now ?

  9. #9
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,024

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    I can't think of any better one.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  10. #10

    Default Re: Can't upgrade openSUSE 42.3 to Leap 15

    https://en.opensuse.org/SDBffline_upgrade
    The supported starting point is an openSUSE release with all current updates applied.

    Can this be done or verify need for it using openSUSE-Leap-15.0-DVD-x86_64.iso ?

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
  •