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

Thread: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

  1. #1

    Default Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    Hi,

    I am excited by Leap 15.1 arrival.

    However, zypper dup says "nothing to do".

    Any suggestions?

    Thanks for your help.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,814
    Blog Entries
    3

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    Here's what I did:

    Step 1: I changed all of the repos to the 15.1 version. I did this by editing the files in "/etc/zypp/repo.d" and changing "15.0" to "15.1".

    Step 2: Disable any other repos (with no "15.0" string). I did that with Yast Software Repositories.

    Step 3: I used CTRL-ALT-F1 to get to a terminal screen (virtual console).

    Step 4: I shutdown the graphic interface with
    Code:
    telinit 3
    Step 5: I ran
    Code:
    zypper dup --allow-vendor-change
    And it all went very smoothly. It took a while, but there were no problems. I then did:
    Code:
    shutdown -r now
    to reboot, and I had Leap 15.1 running.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    I am stuck at Step 1:

    Code:
    SUDO_EDITOR=kwrite sudoedit /etc/zypp/repo.d
    THIS IS POTENTIALLY INSECURE!
    To edit files as root please use:
    SUDO_EDITOR=kwrite sudoedit <file>
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    sudoedit: /etc/zypp/repo.d unchanged
    Screen shows a blank page for new file.


  4. #4
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,299

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    "/etc/zypp/repos.d" is a directory, not a file.

    Use "ls" to list the contents

    Code:
    ls /etc/zypp/repos.d
    The individual files will be named in the form of "'repository name'.repo"

    You will need to edit them individually.
    Regards, Paul

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

  5. #5

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    It's /etc/zypp/repos.d -- a directory as tannington says.
    OpenSuse 15.1, Plasma 5.17
    Gigabyte GA-Z87X-UD4H Mobo; 16G Ram
    Intel Core i5-4570 Processor (6M Cache, up to 3.60 GHz)

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,288

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    Quote Originally Posted by taytong888 View Post
    I am stuck at Step 1:

    Code:
    SUDO_EDITOR=kwrite sudoedit /etc/zypp/repo.d
    THIS IS POTENTIALLY INSECURE!
    To edit files as root please use:
    SUDO_EDITOR=kwrite sudoedit <file>
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    sudoedit: /etc/zypp/repo.d unchanged
    Screen shows a blank page for new file.

    The advice was to change the files "in "/etc/zypp/repo.d" (which is short for file names in /etc/zypp/repo.d.

    CLI people would go there
    Code:
    cd /etc/zypp.d
    and then do mv statements.

    But when you are a bit afraid of using the CLI, you can use YaST > Software > Repository Management also for this. Select them one by one and Edit changing their URLs.
    Henk van Velden

  7. #7

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    Tried nrickerts approach on 2 machines with 15.0, worked quite well!
    Kind regards

    raspu

  8. #8

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    Due to some write errors ("Failed writing body") after 1600 packages being downloaded out of 2519 packages, possibly due to disk getting close to being full, I ended up having to install 15.1 via a DVD.

    It's working now!

    Cheers!


  9. #9
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,814
    Blog Entries
    3

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    Quote Originally Posted by taytong888 View Post
    It's working now!
    That's the important part.

    Yes, you do need space for those packages.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  10. #10
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,779

    Default Re: Upgrade frpm Leap 15.0 via zypper dup..."Nothing to do"

    Those whose disk space is limited can disable downloading all rpms in advance of installation with a zypper option or via zypp.conf modification. This has been my method for many years. Though risk from interruption doing this is warned against, it has never caused a system reboot failure here. Such failures may be avoided because I use a miniscript to update the package management system and a bit of the system foundation before proceeding with a dup:
    Code:
    zypper -v in --download-in-advance zypper libzypp libsolv-tools rpm openSUSE-release
    zypper -v in --download-in-advance device-mapper dmraid glibc lvm2 multipath-tools mdadm systemd udev
    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&&&

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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