I installed an openSUSE system, the original plan was to use it as an internal DNS Server for easyer access to all of the internal network computers. However something wasn’t right with the dns server package, so I decided to remove it and install it again.
But after the removal something happened and the zypper, yast, yast2 and webyast were also removed and I find myself now locked inside out! :S
The Package Manager from the desktop is also screwed it returns an
Failed to execute command package-manager --install %F
error message.
How can i reinstall the yast, I was googling but I couldn’t find any info regarding this issue? All that I find is bunch of tutorials of how to use Yast.
Using
sudo zypper install yast2-gtk
is also out of the option since** zypper **has also been somehow mysteriously removed from my system >:(
That is nolt very precise. Which version of opemSUSE?
You also talk about " from the desktop", but you fail to tell which desktop.
You also say "The Package Manager from the desktop is also screwed ", as you say you do not have YaST, what Package manger is that?
And the story about that “removal” is also very vague. How did you remove what in what way?
On 2012-08-18 05:56, RiXZ wrote:
>
> I just can’t understand what just happend?
>
>
> I installed an openSUSE system,
which version?
> But after the removal something happened and the zypper, yast,
> yast2 and webyast were also removed and I find myself now locked
> inside out! :S
How did you manage to do that? :-? :-o
> is also out of the option since* zypper *has also been somehow
> mysteriously removed from my system >:(
You would have to use the command “rpm” directly. Mount the installation DVD, switch to the
directory holding the packages, then issue "rpm --install package-name, where package would be
zypper. It will probably complain that you need some dependency or other, so you have to add
that package to the line as well. Only when you list all needed packages in the same line it
will go ahead.
When zypper is installed, use it to install yast, but do a zypper patch first.
If rpm is not available, then use the install DVD to do an upgrade to the same version you have
installed.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Hi to all, and I thank you for your responses and I will try using the install DVD to see if i can fix my system.
In the meanwhile here are answers to some of your questions.
OpenSUSE Vesion 12.1
Xfce Desktop
I refer to this package manager that is unavailable, from the image below you may notice that the yast is also missing http://hama.org.mk/tmp/01.PNG
prometheus:~ # zypper install yast2-gtk
If 'zypper' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf zypper
prometheus:~ # cnf zypper
The program 'zypper' can be found in following packages:
* zypper path: /usr/bin/zypper, repository: zypp (openSUSE-12.1-12.1-1.4) ]
* zypper path: /usr/bin/zypper, repository: zypp (repo-oss) ]
* zypper path: /usr/bin/zypper, repository: zypp (Updates-for-openSUSE-12.1-12.1-1.4) ]
Try installing with:
zypper install zypper
prometheus:~ # yast
If 'yast' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf yast
prometheus:~ # cnf yast
The program 'yast' can be found in following packages:
* yast2 path: /sbin/yast, repository: zypp (openSUSE-12.1-12.1-1.4) ]
* yast2 path: /sbin/yast, repository: zypp (repo-oss) ]
Try installing with:
zypper install yast2
prometheus:~ #
How did it happend?
As I said, I was trying to set up a DNS server for easyer acces to the rest of the internal servers. However something wasn’t right so I decided to delete the service and re install again. Using the terminal YAST I selected the DNS server package (to bad I can’t reconstruct all of this again) and removed it. When the removal was complete, everything else was gone.
Thank you for your answers I will try some of your suggestions right now…
I can not quite follow what you did, logicaly because you yourself can not. Maybe this is a lesson to better take note what you are doing.
E.g. “the DNS server package” may be a descriptioon, but using the proper package name makes it more precise.
And while you apparemtly know how to use zypper and yast (from the command line and the Ncurses inoterface)), why did you revert to some item Install/remove software from your Xfce? Is that normaly YaST? (I do not know, never used Xfce) When this does not start YaST Software management (in the situatioin where your system is OK of course) then do not use it. Only use YaST/yast and/or zypper on an openSUSE system to manage software.
And BTW deinstalling and installing again of some software package is almost never helping when you have a problem. You simply get the same again.
On 2012-08-18 15:16, hcvv wrote:
>
> I can not quite follow what you did, logicaly because you yourself can
> not. Maybe this is a lesson to better take note what you are doing.
> E.g. “the DNS server package” may be a descriptioon, but using the
> proper package name makes it more precise.
There is only one
> And while you apparemtly know how to use zypper and yast (from the
> command line and the Ncurses inoterface)), why did you revert to some
> item Install/remove software from your Xfce? Is that normaly YaST? (I do
> not know, never used Xfce)
Package kit, of course.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
> How did it happend?
>
> As I said, I was trying to set up a DNS server for easyer acces to the
> rest of the internal servers. However something wasn’t right so I
> decided to delete the service and re install again. Using the terminal
> YAST I selected the DNS server package (to bad I can’t reconstruct all
> of this again) and removed it. When the removal was complete, everything
> else was gone.
When installing/uninstalling anything, you have to look at the summary page and review the
entire list of what is going to be done.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Using the Upgrade option from the original installation image repaired my system.
After that zypper was installed again, and all I had to to was to reinstall yast.
Thank you all for your sugestions.
Althou I’m still wondering… It is not so uncommon to lose a package by accident, but how did I manage to remove zypper?? I still cant figure it out.
The good thing is that I didn’t have to reinstall the whole system and I saved hours of configurations.
As your description on what you exactly did while deinstalling that package (and you still keep the name a secret, but it does not matter anymore) is rahter vague, that will stay a riddle.
It’s not a secret i’ll tell you what i did,
I opened yast via ssh window, typed dns into the search bar of the software manager and selected the installed packages related with the DNS.
On the folowing a popup opened telling me something about package dependencies, I was tired and I don’t remember much, nor I was paying enough attention, I just selected everything on the following steps… AND THIS IS THE POINT WHERE I MESSED SOMETHING UP :\
and then boom…
I must be more carefull in the future… a lesson learned… "Never delete anything on a linux system while tired…"
> On the folowing a popup opened telling me something about package
> dependencies, I was tired and I don’t remember much, nor I was paying
> enough attention, I just selected everything on the following steps…
> AND THIS IS THE POING WHERE I MESSED SOMETHING UP :\
That is what I guessed. You clicked on something to remove that was needed as dependency by
more things than you thought, so zypper and yast got removed. You are not the first to be
caught that way.
Always look at the summary tab in yast.
> and then boom… I must be more carefull… a lesson learned… “Never
> delete anything on a linux system while tired…”
Indeed.
I removed the entire /var the other day. Destroyed my system. And I’m experienced…
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
This is embarassing but I was tired and the same very scary thing just happend to me after running something like “sudo zypper remove zypper in somepackage” :sarcastic: and typing yes like a chicken running with its head cut.
I managed to restore my system by downloading the zypper rpm package for my version from the bottom of the Zypper page with wget because everything else was broken: