Re: need help fixing yast2 problem on 9.3



On 2006-02-27, Brian Hall wrote:
Reinstallation isn't in option in my case. I either have to figure out how to
fix yast, or do without and install RPMs manually at the command line.

I do have a little more information. When I do a search, it can find only
already-installed packages. If I search for a package provided by 9.3 but
not installed, nothing is found. For example, a search for "emacs" comes up
emtpy. Looks to me like the part of the yast2 config that goes to an external
online repository is broken.

The online update does appear to be set to a valid server, in that it does
download the patch information, instead of hanging or aborting.

OK, I figured out and fixed the problem.

Problem was the yast package database was either fried or missing. There
are files in /var/adm/YaST, but yast wasn't happy with them. I only figured
this out by doing "yast2 repair", which apparently you aren't supposed to
do from a running system, but oh well. Anyway, the repair process would
complain about the package DB being missing, and try to rebuild it, which
would appearently succeed, but running it again would fail with the same
problem.

So, having another server I hadn't configured yet, I simply scp'ed the
entire contents of /var/adm/YaST over to the server where I was having the
problem.

Somewhat unsatifying in that I have no idea what exactly the problem
was, but at least this fixed it...


--
Brian Hall
Linux Consultant
http://pcisys.net/~brihall
.



Relevant Pages

  • Re: need help fixing yast2 problem on 9.3
    ... or do without and install RPMs manually at the command line. ... The online update does appear to be set to a valid server, ... Problem was the yast package database was either fried or missing. ...
    (alt.os.linux.suse)
  • Re: Programming in C/C++ under SuSE 9.1 Personal
    ... server and "pub/suse/i386/9.1" as the directory on server and click OK. ... Then from YaST, click on "install and remove software". ... automatically get the package information from the SuSE FTP site. ...
    (alt.os.linux.suse)
  • Re: [opensuse] Redesign of YaST Control Center
    ... This is your chance to share your ideas regarding YaST Control Center. ... server> "here are the options" ... in order to administrate remote boxes... ...
    (SuSE)
  • Re: KDE322 into 9.0
    ... > as an installation source in YaST. ... > directory on server: ... As long as I've been using Yast it's been loosing it ... Then I ran rpm -Uvf *.rpm against the lot ...
    (alt.os.linux.suse)
  • Re: [opensuse] adding links in /etc/init.d/rc*.d/
    ... I want to start the server in, say runlevel 3, so I know I need to add ... insserv or chkconfig writes the corect entries. ... YaST in this particular context. ...
    (SuSE)