Laptop not shutting down/Restarting

Hello friends,

I am new to opensuse. I’m not sure is it the right section to post.
Currently I’m running suse 12.1.
Yesterday I ran the command :

sudo zypper up

It listed updates nearly around 900MB. I updated it. but after the update the shutdown/restart option in the suse menu is not working. On clicking shutdown/restart the popup comes stating the system will shutdown/restart in 30 second. On clicking the OK button, the screen becomes dim n nothing happens. Although the shutdown and the reboot command from the terminal(konsole) is working flawlessly.

One more weird thing is that I’m unable to open yast from the suse menu. On clicking the yast icon, popup comes asking for password. After entering it pops up yast for hardly 1 second and automatically closes. same thing happens with ktorrent.

Also I noticed that on running the command:

cat /etc/SuSE-release

It shows the following:
openSUSE 12.2 Milestone 0 (i586)
VERSION = 12.2
CODENAME = Mantis

I believe somehow I upgraded to a unstable version of suse.
Please help.

Thanks in Advance.


zypper lr -d

Please

Thanks for the rply eng-int.

Here is the output:

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±-------------------------±-----------------------------------±--------±--------±---------±-------±-------------------------------------------------------------------------------±-------
1 | libdvdcss | DVD Repository | Yes | No | 99 | rpm-md | http://opensuse-guide.org/repo/12.1/ |
2 | openSUSE:Factory | openSUSE:Factory | Yes | Yes | 99 | yast2 | Index of /factory/repo/oss |
3 | openSUSE:Factory:Contrib | openSUSE:Factory:Contrib | Yes | Yes | 99 | rpm-md | Index of /repositories/openSUSE:/Factory:/Contrib/standard |
4 | packman | Packman repository (openSUSE_12.1) | Yes | No | 99 | rpm-md | Index of /suse/openSUSE_12.1/ |
5 | repo-debug | openSUSE-12.1-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/12.1/repo/oss |
6 | repo-debug-update | openSUSE-12.1-Update-Debug | No | Yes | 99 | NONE | Index of /debug/update/12.1 |
7 | repo-non-oss | openSUSE-12.1-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/12.1/repo/non-oss |
8 | repo-oss | openSUSE-12.1-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/12.1/repo/oss |
9 | repo-source | openSUSE-12.1-Source | No | Yes | 99 | NONE | Index of /source/distribution/12.1/repo/oss |
10 | repo-update | openSUSE-12.1-Update | Yes | Yes | 99 | rpm-md | Index of /update/12.1 |

Please remember the Code tags – it is very hard to read otherwise.


zypper mr -d  openSUSE:Factory  openSUSE:Factory:Contrib
zypper mr -r packman
zypper dup  -l --from repo-oss   --from repo-update

A plain zypper up is almost always unwarranted; mostly, if it does no damage, it will just download and “update” to a more recent automated build from the same source.

If you want more recent versions use the e.g. KDE:Release and Kernel:Stable repositories.

On 01/08/2012 05:26 PM, eng-int wrote:
> zypper mr -d openSUSE:Factory openSUSE:Factory:Contrib
> zypper mr -r packman
> zypper dup -l --from repo-oss --from repo-update
>
> A plain -zypper up- is almost always unwarranted

to try to explain what happened: you had factory repos enabled…factory
always contains the next version of openSUSE (that would be 12.2) and
it is never a good idea, as an “I am new to opensuse.” to have factory
enabled, and especially not when you realize at any second of the day
the factory may be deadly broken…if you wanna be a software tester of
the next version that is one thing, but !!

read the para which begins with “IMPORTANT” here http://tinyurl.com/33qc9vu

and i would friendly suggest you might find the ride smoother if you use
YaST Online Update until you have a better grasp of what ‘zypper up’
actually does when you have things like factory (or playground or
tumbleweed or unstable) repos enabled…

oh, and don’t file away that “zypper dup” as a magic way to fix badly
broken…it is not always that, but here it does a “DistribUtion
uPgrade” back to 12.1 (to dump all the trash drug in from factory by an
ill advised ‘zypper up’…

btw: ‘zypper up’ does not do the same thing as YaST Online Update…


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

Thanks a lot eng-int and DenverD. That solved the issue. :slight_smile:

BTW how to mark the thread as solved?

On 01/10/2012 07:56 AM, prasenjit 007 wrote:
> BTW how to mark the thread as solved?

we don’t do that here…


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

On Tue, 10 Jan 2012 06:56:02 +0000, prasenjit 007 wrote:

> Thanks a lot eng-int and DenverD. That solved the issue. :slight_smile:
>
> BTW how to mark the thread as solved?

You can add a tag to the thread to indicate that it’s solved for you.
There are a few discussions about the pros/cons of marking a thread as
“solved” over in the forums feedback forum.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C