Results 1 to 3 of 3

Thread: Yast2 - Lost all repositories.

  1. #1

    Question Yast2 - Lost all repositories.

    Background:
    I read online (several different webpages) that ALSA should be preferred to pulseaudio for bitstreaming audio, so I decided to completely remove 'pulse' by searching yast. It threw a few errors and then displayed a blank white page.. (no info, nothing). I felt something was wrong, so I restarted and sure enough, it booted to a login prompt with messages "You have mail." and "login: write lastlog failed: No space left on device".

    I panicked and tried doing an 'Update' from the Leap 42.2 installation media. But got an error there saying "Internal Error. Filesystem snapshot could not be created." when I selected partition (sda6) to update. I re-read the first message and picked out the words "No space left on device". I remembered that I had less than 2gb free on my '/' (sda6) partition.

    I had sda5 as swap(2gb) and sda4 for Windows 10.
    I shrunk sda4 to create some free space(20GB), then moved sda5 close to sda4, so I could expand sda6 from 20.xx GB to 40.xx GB.
    I did all this with the gparted USB drive. I was a taking a 'shot in the dark' but this worked! I am not booted to my opensuse desktop.

    Everything seems fine (expect for audio - which is now missing) and when I clicked on 'Install/Remove Software' (yast2) I get this message:

    Code:
    Warning
    No repository is defined.
    Only installed packages are displayed.
    Then I get this screen:
    https://s7.postimg.org/5d8gf8b89/yast2.png

    I have to click 'cancel' 4 times, and then it loads an empty Yast2. Repositories are empty:
    https://s10.postimg.org/5j9h89h3b/yast3.png

    I am a linux noob and would appreciate any help in fixing this. Thank you.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,378
    Blog Entries
    1

    Default Re: Yast2 - Lost all repositories.

    It may be easiest to reinstall, depending what is broken.

    If you want to persevere with the existing state, you could try to configuring the four basic repos again with....
    Code:
    zypper ar -f http://download.opensuse.org/distribution/leap/42.2/repo/oss/  openSUSE-Leap-42.2-oss        
    zypper ar -f http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/  openSUSE-Leap-42.2-non-oss
    zypper ar -f http://download.opensuse.org/update/leap/42.2/oss/  openSUSE-Leap-42.2-Update-oss
    zypper ar -f http://download.opensuse.org/update/leap/42.2/non-oss/  openSUSE-Leap-42.2-Update-non-oss
    then see if this can correct any issues
    Code:
    zypper ve
    You might need to manually reinstall some PulseAudio packages. Any dependencies should be dragged in again.

    For reference I have the following alsa and PulseAudio packages installed (openSUSE 42.2)
    Code:
    # rpm -qa|grep pulse
    pulseaudio-module-zeroconf-9.0-1.2.x86_64
    pulseaudio-bash-completion-9.0-1.2.x86_64
    pulseaudio-module-bluetooth-9.0-1.2.x86_64
    libpulse-mainloop-glib0-9.0-1.2.x86_64
    libpulse0-32bit-9.0-1.2.x86_64
    alsa-plugins-pulse-32bit-1.1.1-1.3.x86_64
    pulseaudio-utils-32bit-9.0-1.2.x86_64
    pulseaudio-module-lirc-9.0-1.2.x86_64
    pulseaudio-utils-9.0-1.2.x86_64
    libpulse0-9.0-1.2.x86_64
    pulseaudio-module-jack-9.0-1.2.x86_64
    alsa-plugins-pulse-1.1.1-1.3.x86_64
    libxine2-pulse-1.2.6-115.1.x86_64
    pulseaudio-module-x11-9.0-1.2.x86_64
    pulseaudio-9.0-1.2.x86_64
    pulseaudio-lang-9.0-1.2.noarch
    linux-kgxs:/home/dean # rpm -qa|grep alsa
    alsa-1.1.3-6.1.x86_64
    alsa-oss-32bit-1.0.28-6.4.x86_64
    alsa-utils-1.1.2-1.2.x86_64
    alsa-plugins-pulse-32bit-1.1.1-1.3.x86_64
    alsa-plugins-1.1.1-1.3.x86_64
    alsa-plugins-pulse-1.1.1-1.3.x86_64
    alsa-plugins-32bit-1.1.1-1.3.x86_64
    alsa-oss-1.0.28-6.4.x86_64
    Last edited by deano_ferrari; 31-Mar-2017 at 00:50.

  3. #3

    Thumbs up Re: Yast2 - Lost all repositories.

    Thanks for your reply. I ended up doing an 'Upgrade' from disk, which added the repositories you listed. Everything was preserved (settings, applications, etc.) Only Yast2 doesnt seem to think so.

    E.g: I have installed 'Mozilla Firefox' (and am using it to type this message.) yet Yast2 says that i havent installed it. This is not a problem for me, as I only use a few applications on Suse - and have manually installed them ( again completely un-necessary as they were already working, but i did it, so that i get updates from Yast2).

    My audio works fine, (just as before) with pulseaudio. I'm researching ALSA bitstreaming, but dont have the time to try new things now.


    Only issue I have is i cannot see the speaker icon in the 'system tray' widget, and keyboard mute and volume keys dont work from the desktop. They work in my media player, and thats good enough for me. Again, thanks for your input.

Posting Permissions

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