opensuse
[Arriba] [Todas las Listas]

[opensuse] zypper: sudo vs su

To: opensuse@xxxxxxxxxxxx
Subject: [opensuse] zypper: sudo vs su
From: Geza Giedke <geza.giedke@xxxxxxxxx>
Date: Sat, 7 Apr 2012 17:54:51 +0200
Delivered-to: opensuse@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 07 Apr 2012 11:55:14 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=HHPym1AxG+1bQRBA3RIg9Fi2QDKGxFgDRP+VS1dcR3Q=; b=JPGxtVqTVHKgAY972I+p3B/IRUVR26JpY/aMwiHw3lx9BJD4gWTYaD0VlIetD//4YG rONYpfi7pN06ZM+1fIjpbqleWJKgrX7TmOxbrrDhXmrIH5KEdosDIgULfn8Lb2B0oSyb 4uoLycxNNUP8TuRjvmbeV/wv2wUgf83kSmCKEPEcVegi7R9lFjk+Id0jUF/9XkULTkGi w0tOmkhhz0KMGA7xkGTrDCAx/twxRwXQVASbLSltDXS/16fXyjLnwhDuna1Bs1YchvTO Yo1MKTJn68FVKmUEIi56TAkvvaQFeD1Bh70miwKt4+asK6JVgfTXE0CdrNl0wrKE5LYm +Exg==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <http://lists.opensuse.org/opensuse/>
List-help: <mailto:opensuse+help@opensuse.org>
List-owner: <mailto:opensuse+owner@opensuse.org>
List-post: <mailto:opensuse@opensuse.org>
List-subscribe: <mailto:opensuse+subscribe@opensuse.org>
List-unsubscribe: <mailto:opensuse+unsubscribe@opensuse.org>
Mailing-list: contact opensuse+help@xxxxxxxxxxxx; run by mlmmj
*Dear Todo,

 utilicé para correr un guión
 *sudo *zypper *ref
 *sudo *zypper *lu
 eco "*ready"
 *sudo *zypper hasta

 instalar actualiza; recientemente, aquello dirigido a permiso "errores" negados (ve
 abajo) que sólo podrían ser evitado por *becomin raíz y entonces llamando *zypper.
 Qué es la razón? Y no es él generalmente recomendado para utilizar *sudo en vez de *su?
 

 *Thanks Para vuestra entrada.
 Consideraciones
 *Geza

 Los errores parecieron:

 Recuperando *repository '*openSUSE OSS Actual' *metadata [\]
 Permiso para acceder '
 *http://descarga.*opensuse.*org/Distribución/*openSUSE-corriente/*repo/*oss/*media.1/*media'
 negado.

 Aborta, *retry, ignora? [Un/*r/*i/?] (Un): un
 Recuperando *repository '*openSUSE OSS Actual' *metadata [error]
 *Repository '*openSUSE OSS Actual' es nulo.
 [|] Válido *metadata no encontrado en URL especificado(*s)
 Complacer control si el *URIs definido para este *repository está señalando a un
 válido *repository.
 *Skipping *repository '*openSUSE OSS actual' debido al por encima de error.

 Saqué el *repositories y añadido les otra vez, eliminó el *cache, 
 *zypper limpio *etc, el error persistido (para todo *repositories); sólo cuándo
 *followin una sugerencia en un hilo de foro viejo acontecía raíz y empezado
 *zypper entonces, todo trabaja bien otra vez.
--
A *unsubscribe, *e-correo: *opensuse+unsubscribe@xxxxxxxxxxxx
para contactar el dueño, *e-correo: *opensuse+owner@xxxxxxxxxxxx


Dear all,

 I used to run a script
 sudo zypper ref
 sudo zypper lu
 echo "ready"
 sudo zypper up

 to install updates; recently, that led to "permission denied" errors (see
 below) that could only be avoided by becomin root and then calling zypper.
 What is the reason? And isn't it generally recommended to use sudo instead
 of su?

 Thanks for your input.
 regards
 Geza

 The errors looked like:

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

 Abort, retry, ignore? [a/r/i/?] (a): a
 Retrieving repository 'openSUSE Current OSS' metadata [error]
 Repository 'openSUSE Current OSS' is invalid.
 [|] Valid metadata not found at specified URL(s)
 Please check if the URIs defined for this repository are pointing to a
 valid repository.
 Skipping repository 'openSUSE Current OSS' because of the above error.

 I removed the repositories and added them again, deleted the cache, did
 zypper clean etc, the error persisted (for all repositories); only when
 followin a suggestion in an old forum thread I became root and started
 zypper then, everything works fine again.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx


<Anterior por Tema] Tema Actual [Siguiente por Tema>