{"id":1689,"date":"2015-09-24T20:22:00","date_gmt":"2015-09-25T01:22:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/solucion-al-error-traceback-most-recent-call-last-file-bin-dnf-line-36-in-de-dnf\/"},"modified":"2015-09-24T20:22:00","modified_gmt":"2015-09-25T01:22:00","slug":"solucion-al-error-traceback-most-recent-call-last-file-bin-dnf-line-36-in-de-dnf","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/solucion-al-error-traceback-most-recent-call-last-file-bin-dnf-line-36-in-de-dnf\/","title":{"rendered":"Soluci\u00f3n al error: Traceback (most recent call last): File \u00ab\/bin\/dnf\u00bb, line 36, in   de DNF"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/4.bp.blogspot.com\/-1X7dUrSYrE0\/VgSfQtRHdeI\/AAAAAAAABa0\/hZO2XE_t4jk\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2015-09-24%2B20-13-17.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"223\" src=\"http:\/\/4.bp.blogspot.com\/-1X7dUrSYrE0\/VgSfQtRHdeI\/AAAAAAAABa0\/hZO2XE_t4jk\/s400\/Captura%2Bde%2Bpantalla%2Bde%2B2015-09-24%2B20-13-17.png\" width=\"400\" \/><\/a><\/div>\n<p>Pare ser exactos, el d\u00eda 18 de septiembre 2015, intent\u00e9 actualizar los paquetes de mi SO favorito con base linux, o sea Fedora, y al utilizar el comando:<\/p>\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo dnf -y update<\/span><\/pre>\n<p>Me arrojaba el error:<\/p>\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: red;\">Traceback (most recent call last):<br \/>  File \"\/bin\/dnf\", line 36, in &lt;module&gt;<br \/>    main.user_main(sys.argv[1:], exit_code=True)<br \/>  File \"\/usr\/lib\/python2.7\/site-packages\/dnf\/cli\/main.py\", line 198, in user_main<br \/>    errcode = main(args)<br \/>  File \"\/usr\/lib\/python2.7\/site-packages\/dnf\/cli\/main.py\", line 84, in main<br \/>    return _main(base, args)<br \/>  File \"\/usr\/lib\/python2.7\/site-packages\/dnf\/cli\/main.py\", line 117, in _main<br \/>    cli.configure(map(ucd, args))<br \/>  File \"\/usr\/lib\/python2.7\/site-packages\/dnf\/cli\/cli.py\", line 1007, in configure<br \/>    self.optparser.usage = self.optparser.get_usage()<br \/>  File \"\/usr\/lib\/python2.7\/site-packages\/dnf\/cli\/option_parser.py\", line 273, in get_usage<br \/>    usage += \"%-25s %sn\" % (name, summary)<br \/>UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128)<\/span><\/pre>\n<p><\/p>\n<div style=\"text-align: justify;\">Simple y sencillamente me mostraba solo ese mensaje, la verdad no sab\u00eda a qu\u00e9 se deb\u00eda ese error, sin embargo, estoy abscrito a <a href=\"https:\/\/ask.fedoraproject.org\/es\/\">https:\/\/ask.fedoraproject.org\/es\/<\/a> que es una p\u00e1gina para postear respuestas o preguntas a errors o dudas sobre fedora en general. Una vez posteados mi pregunta, esper\u00e9 un poco para ser respondido, el usuario <a href=\"https:\/\/ask.fedoraproject.org\/es\/users\/16293\/albertocsg\/\">https:\/\/ask.fedoraproject.org\/es\/users\/16293\/albertocsg\/<\/a> fue quien me contest\u00f3 la duda solucionando el problea.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">EL problema, al menos en esta ocasi\u00f3n se debi\u00f3 a : \u00ab<i>Hola. El problema est\u00e1 relacionado con la actualizaci\u00f3n del paquete <b>dnf-plugin-system-upgrade<\/b>. En la \u00faltima actualizaci\u00f3n, este paquete trae un fichero de idiomas con errores.<\/i>\u00ab<\/div>\n<p>La soluci\u00f3n es Abrir la terminal y escribir:<\/p>\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo nautilus  \/usr\/share\/locale\/es\/LC_MESSAGES<\/span><\/pre>\n<div style=\"text-align: justify;\">Buscar el archivo <b>dnf-plugin-system-upgrade.mo<\/b> y renombrarlo a&nbsp;  <b>dnf-plugin-system-upgrade.mo.bak<\/b> el punto aqu\u00ed es, que el nombre cambie, para que el dnf no lo encentre y as\u00ed no lo use generando errores.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">Una vez realizado esto, DNF, funciona correctamente. Espero y les sea \u00fatil, sin embargo, no les aseguro que para todas las veces que marque este error DNF, esta sea la soluci\u00f3n.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">La fuente principal de esto es: https:\/\/ask.fedoraproject.org\/es\/question\/75573\/como-solucionar-este-error\/<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Pare ser exactos, el d\u00eda 18 de septiembre 2015, intent\u00e9 actualizar los paquetes de mi SO favorito con base linux, o sea Fedora, y al utilizar el comando: sudo dnf -y update Me arrojaba el error: Traceback (most recent call last): File \u00ab\/bin\/dnf\u00bb, line 36, in &lt;module&gt; main.user_main(sys.argv[1:], exit_code=True) File \u00ab\/usr\/lib\/python2.7\/site-packages\/dnf\/cli\/main.py\u00bb, line 198, in user_main [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141,973,140,7,87,969,971,972,970,968],"tags":[],"class_list":["post-1689","post","type-post","status-publish","format-standard","hentry","category-dnf","category-erro-de-idioma","category-error","category-fedora","category-gnome","category-in","category-languaje-error","category-line-36","category-phyton","category-traceback-most-recent-call-last-file-bin-dnf"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1689"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1689\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}