Mailinglist Archive: opensuse (1213 mails)

< Previous Next >
Re: [opensuse] zypper: sudo vs su
  • From: Geza Giedke <geza.giedke@xxxxxxxxx>
  • Date: Tue, 10 Apr 2012 16:56:00 +0200
  • Message-id: <CACkkT4+C1jbPBeMFtNxv8Xw=k1N=kLrjEZsbtXf5_UUVnrX8QA@mail.gmail.com>
thanks Carlos and Bogdan for your replies; /var/log/zypper.log is
60000 lines long and I can't identify which relate to the error I
was seeing;
since things work fine again for the time being, I'll let them be for now;
possibly the problem was caused by an update gone wrong due to bad
internet connection

the problem went away when I used su to become root and then called zypper

I'll use your suggestion if the problem recurrs.

regards
Geza

On Sat, Apr 7, 2012 at 10:50 PM, Carlos E. R.
<robin.listas@xxxxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-04-07 17:54, Geza Giedke wrote:

And isn't it generally recommended to use sudo instead
 of su?

If you ask me, no.


 Retrieving repository 'openSUSE Current OSS' metadata [\]
 Permission to access '
 http://download.opensuse.org/distribution/openSUSE-current/repo/oss/media.1/media'
 denied.

You should look at the log, the message is absurd.

 followin a suggestion in an old forum thread I became root and started
 zypper then, everything works fine again.

Did you use plain "su" or "su -"?

- --
Cheers / Saludos,

               Carlos E. R.
               (from 11.4 x86_64 "Celadon" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk+AqJ8ACgkQIvFNjefEBxqj5gCeJLXdnsa/bCxepiUBUC2SKBZO
vnsAni5BlaFrBvH//8K/l+wCF9tefQQ6
=dbPZ
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >