Results 1 to 3 of 3

Thread: Moving from 42.1 to 42.2, cant access repos

  1. #1

    Default Moving from 42.1 to 42.2, cant access repos

    Mission was to update to 42.2 from 42.1. I followed this guide:
    https://kamarada.github.io/en/2016/1.../#.WejmLXUxC00


    I've made a backup for repos:


    Code:
    Fri Oct 20; 12:13:13; marton;/etc/zypp/repos.d.old ;  $  ls -l /etc/zypp/repos.d.old
        total 92
        -rw-r--r-- 1 root root 173 Oct 19 20:02 Code::Blocks.repo
        -rw-r--r-- 1 root root 125 Oct 19 20:02 dvd.repo
        -rw-r--r-- 1 root root 171 Oct 19 20:02 ftp.gwdg.de-suse.repo
        -rw-r--r-- 1 root root 180 Oct 19 20:02 http-download.opensuse.org-064ceb96.repo
        -rw-r--r-- 1 root root 179 Oct 19 20:02 http-download.opensuse.org-47bc4ea5.repo
        -rw-r--r-- 1 root root 184 Oct 19 20:02 http-download.opensuse.org-5e3af6ac.repo
        -rw-r--r-- 1 root root 187 Oct 19 20:02 http-download.opensuse.org-8623a395.repo
        -rw-r--r-- 1 root root 250 Oct 19 20:02 http-download.opensuse.org-89f7d7bc.repo
        ..
    I've deleted all the repos, but these:


    Code:
    Fri Oct 20; 12:20:13; marton;/etc/zypp/repos.d.old ;  $  ls -l /etc/zypp/repos.d
        total 0
        -rw-r--r-- 1 root root 0 Oct 19 20:36 repo-oss.repo
        -rw-r--r-- 1 root root 0 Oct 19 20:36 repo-update.repo


    Fri Oct 20; 12:12:42; marton;/usr/lib ; $ sudo zypper ref
    root's password:
    sudo: unable to write to /var/lib/sudo/ts/marton: No space left on device
    Warning: There are no enabled repositories defined.
    Use 'zypper addrepo' or 'zypper modifyrepo' commands to add or enable repositories.


    So I am trying manualy to add repos:


    Code:
     Fri Oct 20; 12:20:48; marton;/etc/zypp/repos.d.old ;  $  sudo zypper addrepo --check --refresh --name 'openSUSE-Leap-42.2-Update' http://download.opensuse.org/update/leap/42.2/oss/ repo-update
        root's password:
        sudo: unable to write to /var/lib/sudo/ts/marton: No space left on device
        Adding repository 'openSUSE-Leap-42.2-Update' .........................................[done]
        Repository 'openSUSE-Leap-42.2-Update' successfully added
        Enabled     : Yes                                               
        Autorefresh : Yes                                               
        GPG Check   : Yes                                               
        Priority    : 99                                                
        URI         : http://download.opensuse.org/update/leap/42.2/oss/
        
        Fri Oct 20; 12:34:10; marton;/etc/zypp/repos.d.old ;  $  sudo zypper addrepo --check --refresh --name 'openSUSE-Leap-42.2-Update' http://download.opensuse.org/up
        root's password:
        Fri Oct 20; 12:35:29; marton;/etc/zypp/repos.d.old ;  $  sudo zypper addrepo --check --refresh --name 'openSUSE-Leap-42.2-Oss' http://download.opensuse.org/update/leap/42.2/oss/ repo-update
        root's password:
        sudo: unable to write to /var/lib/sudo/ts/marton: No space left on device
        Adding repository 'openSUSE-Leap-42.2-Oss' ............................................[done]
        Repository 'openSUSE-Leap-42.2-Oss' successfully added
        Enabled     : Yes                                               
        Autorefresh : Yes                                               
        GPG Check   : Yes                                               
        Priority    : 99                                                
        URI         : http://download.opensuse.org/update/leap/42.2/oss/
    But still I get this:


    Code:
      Fri Oct 20; 12:31:58; marton;/usr/lib ;  $  sudo zypper ref
        sudo: unable to write to /var/lib/sudo/ts/marton: No space left on device
        Warning: There are no enabled repositories defined.
        Use 'zypper addrepo' or 'zypper modifyrepo' commands to add or enable repositories.
    But I just enabled them... I can't access YAST for some reason...


    So, I have to make so these repos are enabled, probably, but how?
    Should I restart my PC ?
    Does this line after every command have to do something with the problem:


    Code:
        sudo: unable to write to /var/lib/sudo/ts/marton: No space left on device
    Is there another way to enable these repos ?

  2. #2
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    445

    Default Re: Moving from 42.1 to 42.2, cant access repos

    You might want to check into why you are getting "No space left on device" before figuring out why you have problems with the repos.
    If you can't get that fixed, fixing the repos aren't going to get you anywhere.
    "Making rich people richer doesn't make the rest of us richer." Ha-Joon Chang
    openSUSE 15.1 4.12.14-lp151.28.16-default x64

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,156

    Default Re: Moving from 42.1 to 42.2, cant access repos

    Better first address what @kerijan2003 draws your attention to.

    That guide you decided to follow (which I do not know, nor am I going to read it) might be nice. But when you want to show us your repos, please use
    Code:
    zypper lr -d
    Last edited by hcvv; 21-Oct-2017 at 02:21.
    Henk van Velden

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
  •