Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: zypper not working :(

  1. #1
    Join Date
    Sep 2012
    Location
    New Panvel, India.
    Posts
    98

    Default zypper not working :(

    Every time I am trying to install something with zypper, I get this sort of errors. Solution?

    Code:
    (pluto3)rahul@localhost:~/Projects/Vayana> sudo zypper in libmysqlclient-dev libyaml-dev
    root's password:
    Retrieving repository 'KDE:KDE3' metadata .............................................................[done]
    Building repository 'KDE:KDE3' cache ..................................................................[done]
    Retrieving repository 'Tumbleweed' metadata ...........................................................[done]
    Building repository 'Tumbleweed' cache ................................................................[done]
    Retrieving repository 'X11:Enlightenment:Nightly' metadata ............................................[done]
    Building repository 'X11:Enlightenment:Nightly' cache .................................................[done]
    Retrieving repository 'X11:windowmanagers' metadata ...................................................[done]
    Building repository 'X11:windowmanagers' cache ........................................................[done]
    Retrieving repository 'X11:xfce' metadata .............................................................[done]
    Building repository 'X11:xfce' cache ..................................................................[done]
    Retrieving repository 'filesystems' metadata ..........................................................[done]
    Building repository 'filesystems' cache ...............................................................[done]
    Retrieving repository 'google-chrome' metadata ........................................................[done]
    Building repository 'google-chrome' cache .............................................................[done]
    Retrieving repository 'home:Caig' metadata ............................................................[done]
    Building repository 'home:Caig' cache .................................................................[done]
    Retrieving repository 'home:Strahlex' metadata ........................................................[done]
    Building repository 'home:Strahlex' cache .............................................................[done]
    Retrieving repository 'home:adra' metadata ............................................................[done]
    Building repository 'home:adra' cache .................................................................[done]
    Retrieving repository 'home:ecsos' metadata ...........................................................[done]
    Building repository 'home:ecsos' cache ................................................................[done]
    Retrieving repository 'home:frispete:PyQt' metadata ...................................................[done]
    Building repository 'home:frispete:PyQt' cache ........................................................[done]
    Retrieving repository 'home:frispete:python' metadata .................................................[done]
    Building repository 'home:frispete:python' cache ......................................................[done]
    Retrieving repository 'home:lnt-sysadmin:tools' metadata ..............................................[done]
    Building repository 'home:lnt-sysadmin:tools' cache ...................................................[done]
    Retrieving repository 'kde49' metadata ................................................................[done]
    Building repository 'kde49' cache .....................................................................[done]
    Retrieving repository 'multimedia:apps' metadata ......................................................[done]
    Building repository 'multimedia:apps' cache ...........................................................[done]
    Retrieving repository 'openSUSE Current updates' metadata .............................................[done]
    Building repository 'openSUSE Current updates' cache ..................................................[done]
    Retrieving repository 'openSUSE:Stable_Updates' metadata ..............................................[done]
    Building repository 'openSUSE:Stable_Updates' cache ...................................................[done]
    Retrieving repository 'openSUSE:Tumbleweed' metadata ..................................................[done]
    Building repository 'openSUSE:Tumbleweed' cache .......................................................[done]
    Retrieving repository 'openSUSE-12.2-Update' metadata ----------------------------------------------------[/]
    Download (curl) error for 'http://download.opensuse.org/update/12.2/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Could not resolve host: download.opensuse.org; Unknown error
    
    
    Abort, retry, ignore? [a/r/i/?] (a):
    Cheers,
    Rahul.

    openSUSE 12.2 x86_64 | KDE 4.8.5 | kernel 3.6.2-7-desktop | 4GB | Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: zypper not working :(

    try
    Code:
    zypper clean --all
    Code:
    zypper ref
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Sep 2012
    Location
    New Panvel, India.
    Posts
    98

    Default Re: zypper not working :(

    Quote Originally Posted by caf4926 View Post
    try
    Code:
    zypper clean --all
    Code:
    zypper ref
    Thank you for your response. I entered both commands. It took about an hour for the processes to complete. Here is the console log:

    Code:
    (pluto3)rahul@localhost:~/Projects/Vayana> sudo zypper clean --all
    root's password:
    All repositories have been cleaned up.
    (pluto3)rahul@localhost:~/Projects/Vayana> sudo zypper ref
    Retrieving repository 'GNOME:Apps' metadata ...........................................................[done]
    Building repository 'GNOME:Apps' cache ................................................................[done]
    Retrieving repository 'GNOME:Ayatana' metadata ........................................................[done]
    Building repository 'GNOME:Ayatana' cache .............................................................[done]
    Retrieving repository 'Java:base' metadata ............................................................[done]
    Building repository 'Java:base' cache .................................................................[done]
    Retrieving repository 'KDE:Extra' metadata ............................................................[done]
    Building repository 'KDE:Extra' cache .................................................................[done]
    Retrieving repository 'KDE:KDE3' metadata .............................................................[done]
    Building repository 'KDE:KDE3' cache ..................................................................[done]
    Retrieving repository 'KDE:Release:49' metadata .......................................................[done]
    Building repository 'KDE:Release:49' cache ............................................................[done]
    Retrieving repository 'KDE:Unstable:Playground' metadata ..............................................[done]
    Building repository 'KDE:Unstable:Playground' cache ...................................................[done]
    Retrieving repository 'KDE_49' metadata ...............................................................[done]
    Building repository 'KDE_49' cache ....................................................................[done]
    Retrieving repository 'KDE_Extra' metadata ............................................................[done]
    Building repository 'KDE_Extra' cache .................................................................[done]
    Retrieving repository 'Oracle VirtualBox openSUSE' metadata ...........................................[done]
    Building repository 'Oracle VirtualBox openSUSE' cache ................................................[done]
    Retrieving repository 'Packman Repository' metadata ...................................................[done]
    Building repository 'Packman Repository' cache ........................................................[done]
    Retrieving repository 'Tumbleweed' metadata ...........................................................[done]
    Building repository 'Tumbleweed' cache ................................................................[done]
    Retrieving repository 'X11:Enlightenment:Nightly' metadata ............................................[done]
    Building repository 'X11:Enlightenment:Nightly' cache .................................................[done]
    Retrieving repository 'X11:windowmanagers' metadata ...................................................[done]
    Building repository 'X11:windowmanagers' cache ........................................................[done]
    Retrieving repository 'X11:xfce' metadata .............................................................[done]
    Building repository 'X11:xfce' cache ..................................................................[done]
    Retrieving repository 'devel:languages:haskell' metadata ..............................................[done]
    Building repository 'devel:languages:haskell' cache ...................................................[done]
    Retrieving repository 'devel:languages:scala' metadata ................................................[done]
    Building repository 'devel:languages:scala' cache .....................................................[done]
    Retrieving repository 'filesystems' metadata ..........................................................[done]
    Building repository 'filesystems' cache ...............................................................[done]
    Retrieving repository 'google-chrome' metadata ........................................................[done]
    Building repository 'google-chrome' cache .............................................................[done]
    Retrieving repository 'home:Caig' metadata ............................................................[done]
    Building repository 'home:Caig' cache .................................................................[done]
    Retrieving repository 'home:Strahlex' metadata ........................................................[done]
    Building repository 'home:Strahlex' cache .............................................................[done]
    Retrieving repository 'home:Xor26' metadata ...........................................................[done]
    Building repository 'home:Xor26' cache ................................................................[done]
    Retrieving repository 'home:adra' metadata ............................................................[done]
    Building repository 'home:adra' cache .................................................................[done]
    Retrieving repository 'home:bastianfriedrich' metadata ................................................[done]
    Building repository 'home:bastianfriedrich' cache .....................................................[done]
    Retrieving repository 'home:cornelisbb' metadata ......................................................[done]
    Building repository 'home:cornelisbb' cache ...........................................................[done]
    Retrieving repository 'home:damianator' metadata ......................................................[done]
    Building repository 'home:damianator' cache ...........................................................[done]
    Retrieving repository 'home:ecsos' metadata ...........................................................[done]
    Building repository 'home:ecsos' cache ................................................................[done]
    Retrieving repository 'home:frispete:PyQt' metadata ...................................................[done]
    Building repository 'home:frispete:PyQt' cache ........................................................[done]
    Retrieving repository 'home:frispete:python' metadata .................................................[done]
    Building repository 'home:frispete:python' cache ......................................................[done]
    Retrieving repository 'home:licehunter' metadata ......................................................[done]
    Building repository 'home:licehunter' cache ...........................................................[done]
    Retrieving repository 'home:lnt-sysadmin:tools' metadata ..............................................[done]
    Building repository 'home:lnt-sysadmin:tools' cache ...................................................[done]
    Retrieving repository 'home:oliviercalle' metadata ....................................................[done]
    Building repository 'home:oliviercalle' cache .........................................................[done]
    Retrieving repository 'kde49' metadata ................................................................[done]
    Building repository 'kde49' cache .....................................................................[done]
    Retrieving repository 'libdvdcss repository' metadata .................................................[done]
    Building repository 'libdvdcss repository' cache ......................................................[done]
    Retrieving repository 'multimedia:apps' metadata ......................................................[done]
    Building repository 'multimedia:apps' cache ...........................................................[done]
    Retrieving repository 'multimedia:libs' metadata ......................................................[done]
    Building repository 'multimedia:libs' cache ...........................................................[done]
    Retrieving repository 'openSUSE Current OSS' metadata .................................................[done]
    Building repository 'openSUSE Current OSS' cache ......................................................[done]
    Retrieving repository 'openSUSE Current non-OSS' metadata .............................................[done]
    Building repository 'openSUSE Current non-OSS' cache ..................................................[done]
    Retrieving repository 'openSUSE Current updates' metadata .............................................[done]
    Building repository 'openSUSE Current updates' cache ..................................................[done]
    Retrieving repository 'openSUSE:Stable_OSS' metadata ..................................................[done]
    Building repository 'openSUSE:Stable_OSS' cache .......................................................[done]
    Retrieving repository 'openSUSE:Stable_Updates' metadata ..............................................[done]
    Building repository 'openSUSE:Stable_Updates' cache ...................................................[done]
    Retrieving repository 'openSUSE:Stable_non-OSS' metadata ..............................................[done]
    Building repository 'openSUSE:Stable_non-OSS' cache ...................................................[done]
    Retrieving repository 'openSUSE:Tumbleweed' metadata ..................................................[done]
    Building repository 'openSUSE:Tumbleweed' cache .......................................................[done]
    Retrieving repository 'openSUSE-12.2-Non-Oss' metadata ................................................[done]
    Building repository 'openSUSE-12.2-Non-Oss' cache .....................................................[done]
    Retrieving repository 'openSUSE-12.2-Oss' metadata ....................................................[done]
    Building repository 'openSUSE-12.2-Oss' cache .........................................................[done]
    Retrieving repository 'openSUSE-12.2-Update' metadata .................................................[done]
    Building repository 'openSUSE-12.2-Update' cache ......................................................[done]
    Retrieving repository 'openSUSE-12.2-Update-Non-Oss' metadata .........................................[done]
    Building repository 'openSUSE-12.2-Update-Non-Oss' cache ..............................................[done]
    All repositories have been refreshed.
    Now I am trying to install something with `zypper in` and it still appears to be taking too long for building-retrieving etc steps. It's been > 15 minutes but it's just two lines through.
    Cheers,
    Rahul.

    openSUSE 12.2 x86_64 | KDE 4.8.5 | kernel 3.6.2-7-desktop | 4GB | Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz

  4. #4
    dd NNTP User

    Default Re: zypper not working :(

    caf said use:

    > zypper clean --all


    but, you used

    > (pluto3)rahul@localhost:~/Projects/Vayana> sudo zypper clean --all


    see the difference??

    try it the correct way:

    Code:
    su -
    zypper clean --all
    in other words: in openSUSE do not use sudo when root is required.

    see http://tinyurl.com/ydbwssh

    guessing maybe you have experience in a distro which always uses sudo,
    inform yourself:

    1. http://tinyurl.com/ubuntu-to-openSUSE <but do NOT overlook the
    correcting info in post #2>

    2. http://tinyurl.com/Ubuntu-Differences

    --
    dd

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: zypper not working :(

    Looking at the repo list
    I'm wondering how your system is even working at all
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Sep 2012
    Location
    New Panvel, India.
    Posts
    98

    Default Re: zypper not working :(

    Quote Originally Posted by dd View Post
    caf said use:

    > zypper clean --all


    but, you used

    > (pluto3)rahul@localhost:~/Projects/Vayana> sudo zypper clean --all


    see the difference??

    try it the correct way:

    Code:
    su -
    zypper clean --all
    in other words: in openSUSE do not use sudo when root is required.

    see Become su in Terminal - HowTo

    guessing maybe you have experience in a distro which always uses sudo,
    inform yourself:

    1. when you are converting from Ubuntu <but do NOT overlook the
    correcting info in post #2>

    2. site:forums.opensuse.org different ubuntu - Google Search

    --
    dd
    Thank you. This time I executed commands with `su -c` but the problem persists.
    Cheers,
    Rahul.

    openSUSE 12.2 x86_64 | KDE 4.8.5 | kernel 3.6.2-7-desktop | 4GB | Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz

  7. #7
    Join Date
    Sep 2012
    Location
    New Panvel, India.
    Posts
    98

    Default Re: zypper not working :(

    Quote Originally Posted by caf4926 View Post
    Looking at the repo list
    I'm wondering how your system is even working at all
    Could you please elaborate on that? What do I need to do get my system back in "healthy" condition?
    Cheers,
    Rahul.

    openSUSE 12.2 x86_64 | KDE 4.8.5 | kernel 3.6.2-7-desktop | 4GB | Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz

  8. #8
    dd NNTP User

    Default Re: zypper not working :(

    On 10/22/2012 02:46 PM, missingfaktor wrote:
    > Could you please elaborate on that? What do I need to do get my system
    > back in "healthy" condition?


    read the paragraph beginning with "IMPORTANT" in this single post in a
    long long thread specifically designed for folks new to openSUSE:

    post: http://tinyurl.com/33qc9vu

    thread (in two parts):

    http://forums.opensuse.org/english/g...ease-read.html

    and

    http://forums.opensuse.org/english/g...ease-read.html

    then once you have your repos set correctly, do:

    Code:
    zypper clean -a
    zypper ref
    zypper dup
    OH STOP!! i just looked at your repos and it seems you are running
    Tumbleweed (before you know how to run openSUSE correctly ???)

    so, the correct repo setup for Tumbleweed is not the same as the correct
    for openSUSE (which i pointed to above)...

    i don't really know what is correct for Tumbleweed (as i've not used it)
    and anyway, there is a *good* reason that Tumbleweed users should ask
    their questions in the the Tumbleweed forum *only*, here
    http://tinyurl.com/3ljwanm [and that good reason is so they don't ask a
    Tumbleweed question and get an openSUSE answer which destroys their
    system!!!]

    --
    dd http://tinyurl.com/DD-Caveat

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: zypper not working :(

    Quote Originally Posted by missingfaktor View Post
    Could you please elaborate on that? What do I need to do get my system back in "healthy" condition?
    Please post the result of

    Code:
    zypper lr -d
    and
    Code:
    zypper ve
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10
    Join Date
    Sep 2012
    Location
    New Panvel, India.
    Posts
    98

    Default Re: zypper not working :(

    Quote Originally Posted by dd View Post
    On 10/22/2012 02:46 PM, missingfaktor wrote:
    > Could you please elaborate on that? What do I need to do get my system
    > back in "healthy" condition?


    read the paragraph beginning with "IMPORTANT" in this single post in a
    long long thread specifically designed for folks new to openSUSE:

    post: NEW Users - openSUSE Pre-install (general) - PLEASE READ

    thread (in two parts):

    http://forums.opensuse.org/english/g...ease-read.html

    and

    http://forums.opensuse.org/english/g...ease-read.html

    then once you have your repos set correctly, do:

    Code:
    zypper clean -a
    zypper ref
    zypper dup
    OH STOP!! i just looked at your repos and it seems you are running
    Tumbleweed (before you know how to run openSUSE correctly ???)

    so, the correct repo setup for Tumbleweed is not the same as the correct
    for openSUSE (which i pointed to above)...

    i don't really know what is correct for Tumbleweed (as i've not used it)
    and anyway, there is a *good* reason that Tumbleweed users should ask
    their questions in the the Tumbleweed forum *only*, here
    Tumbleweed [and that good reason is so they don't ask a
    Tumbleweed question and get an openSUSE answer which destroys their
    system!!!]

    --
    dd DD Caveat
    Thanks for the links. I only glanced over them (too exhausted for the day).

    Yes, I had enabled Tumbleweed when I installed the OS. It was a bad move. I wasn't expecting this much of trouble. I would disable it, if possible.
    Cheers,
    Rahul.

    openSUSE 12.2 x86_64 | KDE 4.8.5 | kernel 3.6.2-7-desktop | 4GB | Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz

Page 1 of 4 123 ... 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
  •