yast showing error, zypper working fine

hi, when i try to install some thing through yast it closes itselft and showing error, though while uninstalling there is no error :smiley: and also zypper is working fine

http://img201.imageshack.us/img201/3688/snapshot8e.png](http://imageshack.us/photo/my-images/201/snapshot8e.png/)

What version of openSUSE are you on, Tumbleweed?

yea 12.3 tumbleweed

try


su -
zypper clean --all
zypper ref -f

and then use YaST

Tried, still same error, I dont think its related to corrupt repository data.

You should probably file a bug Bugzilla Main Page
Read openSUSE:Submitting bug reports - openSUSE Wiki before filing the bug

your forum credential should work there.

Meanwhile you can use YaST–ncurses

su -
yast

On 05/02/2013 04:06 AM, pawanyadav wrote:
> yea 12.3 tumbleweed

when using tumbleweed you should post problems to tumbleweed until
and unless you are absolutely sure the problem seen is not tumbleweed
related…and, if you are not experienced enough to know if it is
tumbleweed related or not then you are probably too new to openSUSE
effectively use tumbleweed…

ymmv–others may have a different opinion.
but, they would be wrong :wink:


dd

Though I am using tumbleweed I was very sure that the problem is not due to that, but after your comments I deleted the tumbleweed repo and did zypper dup , reboot and the same error is still there… :slight_smile:
my installation was fresh (12.3 dvd) and yast was working fine. I am facing this problem since last few days…I did google for the same but found nothing as well as there is nothing on forum related to that error.
I am not a pro but using Opensuse since 10.3 version and knows very well - how to use tumbleweed ‘effectively’.

Are you using English by default? My guess is a bug if it does not straighten out after a couple days/week of zypper up.

On 05/02/2013 03:56 PM, pawanyadav wrote:
> Though I am using tumbleweed I was very sure that the problem is not
> due to that, but after your comments I deleted the tumbleweed repo and
> did zypper dup , reboot and the same error is still there…

ok, so we know (now) that it is not a tumbleweed problem and you are
therefore in the right forum:

  1. have you tried using zypper to remove YaST, and then re-install
    YaST and see if the error thrown changes?

  2. what desktop are you running when yo see this error?

  3. do you have any other desktops installed?

  4. do they all throw the same error?

  5. the error includes words like Unicode, Latin-1, and locale name
    not valid…so i ask:

a. did this install every work correctly? if so, did it stop after
you changed system language or locale? (maybe moving from english to
some other language…or from somewhere in the USA to somewhere else.

b. if so, how did you make those language/locale changes

c. if you shutdown YaST and then launch it using the following in a
terminal, does it run without errors?


LANG=US.UTF-8 yast2


dd
openSUSE®, the “German Engineered Automobile” of operating systems!
http://goo.gl/PUjnL
http://tinyurl.com/DD-Caveat
http://tinyurl.com/DD-Hardware
http://tinyurl.com/DD-Software

  1. have you tried using zypper to remove YaST, and then re-install
    YaST and see if the error thrown changes?
    I tried that command but its showing –
    105 packages to remove.
    After the operation, 206.9 MiB will be freed.
    I am not going to lose my desktop :slight_smile:

  2. what desktop are you running when yo see this error?
    **KDE 4.10.2
    **

  3. do you have any other desktops installed?
    NO

  4. do they all throw the same error?
    NA

  5. the error includes words like Unicode, Latin-1, and locale name
    not valid…so i ask:

a. did this install every work correctly? if so, did it stop after
you changed system language or locale? (maybe moving from english to
some other language…or from somewhere in the USA to somewhere else.

**I hadn’t changed the locale or language using Eng as default
**
b. if so, how did you make those language/locale changes
NA

c. if you shutdown YaST and then launch it using the following in a
terminal, does it run without errors?


LANG=US.UTF-8 yast2

Same Error

here is a the desktop recording showing whats going on
http://www.youtube.com/watch?v=bLutGcHnsGM

> a. did this install ever work correctly?

or, was it broken from the first day of install?

try this:
-use YaST > Security and Users > User and Group Management to add a
new testUser
-log out as yourself
-log back in as the new testUser
-check to see if the same problem is seen as the new testUser

if you are unwilling to uninstall YaST with zypper and then
reinstall, would you be willing to take the chance of fixing the
problem by reinstalling YaST over the current install?

if so, please show us the terminal output and input, as well as the
beginning prompt and exit prompt, from


zypper lr -d

copy/paste the in/output back to this thread using the instructions
here: http://goo.gl/i3wnr


dd

running opensuse as root (only), have tried to reinstall yast over current install through zypper, and
the output of zypper lr -d is

zypper lr -d
#  | Alias               | Name                         | Enabled | Refresh | Priority | Type   | URI                                                                                   | Service
---+---------------------+------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------------+--------
 1 | KDE                 | KDE                          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Release:/410/openSUSE_12.3/            |        
 2 | Kernel              | Kernel                       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Kernel:/stable/standard/                    |        
 3 | LibreOffice         | LibreOffice                  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_12.3/          |        
 4 | Mozilla             | Mozilla                      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.3/                      |        
 5 | Packman             | Packman                      | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/12.3/Essentials/                                         |        
 6 | Tumbleweed          | Tumbleweed                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/              |        
 7 | openSUSE-12.3-1.7   | openSUSE-12.3-1.7            | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S223B_0o23456789KLMNOP,/dev/sr0 |        
 8 | repo-non-oss        | openSUSE-12.3-Non-Oss        | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/non-oss/                          |        
 9 | repo-oss            | openSUSE-12.3-Oss            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/oss/                              |        
10 | repo-source         | openSUSE-12.3-Source         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/12.3/repo/oss/                       |        
11 | repo-update         | openSUSE-12.3-Update         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3/                                             |        
12 | repo-update-non-oss | openSUSE-12.3-Update-Non-Oss | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3-non-oss/             


On 05/03/2013 03:26 AM, pawanyadav wrote:
>
> running opensuse as root (only)

welllllll, hate to tell you this but THAT could very easily be the
cause of your problem…you should never log into
KDE/GNOME/LXDE/Xfce or any other *nix-like system’s graphical user
interface desktop environment as root…

doing so 1) opens you up to several different security problems if
you (for example) browse the net, 2) too many, far too easy ways to
damage your system no matter how careful your actions (for
example: cases of unintended change of ownership of some files from
user to root sometimes occurs which can preclude logging in as the
user), 3) anyway logging into KDE/etc as root is never required
to do any or all administrative duties, 4) and, not even logging in
as root just to see if it works as root is useful, because the “yes”
or “no” learned is almost always totally useless in finding the
problem giving the symptoms…while, logging into the GUI as root to
learn the yes/no could cause the next adverse symptom encountered.

so, always log in as yourself, and “become root” by using a root
powered application (like YaST, File Manager Superuser Mode) or using
“su -”, sudo, kdesu, or gnomesu in a terminal to launch whatever tool
is needed (like KWrite or gedit to edit a config file)…read more on
all that here:

http://tinyurl.com/593e4c
http://tinyurl.com/ydbwssh
http://tinyurl.com/665h5ek
http://www.linfo.org/root.html
http://tinyurl.com/6ry6yd

additionally: after logging into KDE/Gnome/etc as root, if you
experience problems (for example, with uncommanded file ownership and
permissions changes) and if you can provide us with details of what
you were doing while you were logged in as root, that would help us
identify if there’s a bug that needs to be fixed…thanks for your help…

>
> Code:
> --------------------
> zypper lr -d
> # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
> —±--------------------±-----------------------------±--------±--------±---------±-------±--------------------------------------------------------------------------------------±-------
> 1 | KDE | KDE | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Release:/410/openSUSE_12.3/ |
> 2 | Kernel | Kernel | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Kernel:/stable/standard/ |
> 3 | LibreOffice | LibreOffice | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_12.3/ |
> 4 | Mozilla | Mozilla | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.3/ |
> 5 | Packman | Packman | Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/12.3/Essentials/ |
> 6 | Tumbleweed | Tumbleweed | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
> 7 | openSUSE-12.3-1.7 | openSUSE-12.3-1.7 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S223B_0o23456789KLMNOP,/dev/sr0 |
> 8 | repo-non-oss | openSUSE-12.3-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.3/repo/non-oss/ |
> 9 | repo-oss | openSUSE-12.3-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.3/repo/oss/ |
> 10 | repo-source | openSUSE-12.3-Source | No | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/12.3/repo/oss/ |
> 11 | repo-update | openSUSE-12.3-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.3/ |
> 12 | repo-update-non-oss | openSUSE-12.3-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.3-non-oss/
>

i see you still have Tumbleweed enabled but have not set up your
repos to correctly install or run it… see http://tinyurl.com/69mj3zj

i can’t help any more…because i have no idea the state of your
system after running KDE as root, and the mix of repos…

hopefully someone else can help.


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

Dear DenverD, thanks for your kind support, yes I am still using tubleweed (only after when disabling it and zypper dup didnt helped me ).
IMHO setting up Tumbleweed as per ‘prescripiton’ is only useful in case you are updating an older version of OS. In my case its a fresh installation and the all the default repo and tumbleweed repo (update/oss/non-oss) are same excluding packman.
Though as per your suggestion I also added repo as per ‘prescription’ and zypper dup only upgraded something from packman repo.

IMHO, running as root is also not the problem here, though I’ll try a fresh install with user login… but till then I’ll use zypper up/dup.
Thanks

On 05/03/2013 09:26 AM, pawanyadav wrote:
> IMHO, running as root is also not the problem here, though I’ll try a
> fresh install with user login…

if you do a fresh format install, and log in as a new user (with no
leftover configs from any previous install), i am going to guess that
like thousands and thousands of other openSUSE users you will find
that YaST will run as expected.

try it for a few days (before customizing…before running a “zypper
up” or “zypper dup” (but be sure and run “zypper patch”), before you
move to tumbleweed or kde4.10 or any of the other bleeding edge
stuff…it is there that the troubles begin.

patch is dependable and safe
up is sometime shaky
dup is pretty brave, and often dangerous. (well, i’ve run 11.4 for
two years and never run dup even once.)


dd