SCIENTIFIC-LINUX-USERS Archives

June 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Alex Kruchkoff <[log in to unmask]>
Reply To:
Alex Kruchkoff <[log in to unmask]>
Date:
Fri, 15 Jun 2007 09:30:06 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (155 lines)
Thanks, Urs!!!

I've got my KDE back!

Alex
Quoting Urs Beyerle <[log in to unmask]>:

> >
> >
> > I don't see why this happens ... Who edits /usr/bin/startkde with sed?
> >
> 
> ok, I found it. It is in trigger script of  SL_desktop_tweaks!
> 
> this produces the error (in triggerpostun scriptlet):
> # cat /usr/bin/startkde | sed 's:xsetroot -solid \"#5C0B13\":s:xsetroot
> -solid \"#000000\":' > /usr/bin/startkde
> 
> fails with
> sed: -e expression #1, char 33: unknown option to `s'
> 
> should it be, like this???
> # cat /usr/bin/startkde | sed 's:xsetroot -solid \"#5C0B13\":xsetroot
> -solid \"#000000\":' /usr/bin/startkde
> 
> 
> 
> # rpm -q SL_desktop_tweaks-5-4 --triggers | less
> ...
> if [ -f /usr/bin/startkde ] ; then
>         cat /usr/bin/startkde | sed 's:xsetroot -solid
> \"#5C0B13\":xsetroot -solid \"#000000\":' > /usr/bin/startkde.
> tmp
>         mv -f /usr/bin/startkde.tmp /usr/bin/startkde
>         chmod 755 /usr/bin/startkde
> fi
> triggerpostun scriptlet (using /bin/sh) -- kdebase
> if [ -f /usr/share/config/kickerrc ] ; then
>         /bin/cp -f /usr/share/config/kickerrc.sl /usr/share/config/kickerrc
> fi
> if [ -f /usr/bin/startkde ] ; then
>         cat /usr/bin/startkde | sed 's:xsetroot -solid
> \"#5C0B13\":s:xsetroot -solid \"#000000\":' > /usr/bin/startkd
> e.tmp
>         mv -f /usr/bin/startkde.tmp /usr/bin/startkde
>         chmod 755 /usr/bin/startkde
> fi
> ...
> 
> SL_desktop_tweaks-5-4 should be fixed !!!
> 
> 
> 
> 
> 
> 
> 
> >
> > Quick fix:
> >
> > # wget
> >
>
ftp://ftp.scientificlinux.org/linux/scientific/50/i386/updates/security/kdebase-3.5.4-13.6.el5.i386.rpm
> > # rpm -ihv --replacepkgs kdebase-3.5.4-13.6.el5.i386.rpm
> >
> > # ll /usr/bin/startkde
> > -rwxr-xr-x 1 root root 13277 Jun 14 22:41 /usr/bin/startkde
> > # rpm -V kdebase
> > ..5....T   /usr/bin/startkde
> > S.5....T   /usr/share/config/kickerrc
> >
> >
> >
> > But this should be fixed!
> >
> > Urs
> >
> >
> >
> >
> > David Gore wrote:
> >> Trying to log into the console of my two SL5.0 machines this afternoon, I
> >>
> >> had the unwelcome surprise of having both of them tell me that my KDE
> >> session "lasted less than 10 seconds" with no obvious errors in the
> >> ~/.xsession-errors file:
> >>
> >> /usr/bin/startkde: Success
> >>
> >> Checking my root email, I find that there seems to have been an error
> >> updating KDE, although yum thinks it updated just fine.  I'll paste the
> >> email below.
> >>
> >> When I go to check /usr/bin/startkde, I find:
> >>
> >> [root@zim]# ls -l /usr/bin/startkde
> >> -rwxr-xr-x 1 root root 0 Jun 14 04:55 /usr/bin/startkde
> >>
> >> So no wonder KDE won't start.  Has anyone else found this error?  And, of
> >>
> >> course, how do I re-install this package without losing users' desktops
> >> (i.e. without uninstalling first)?  There doesn't seem to be a way to try
> >>  a
> >> "yum -force install"
> >>
> >> Much thanks,
> >>
> >> -Dave
> >>
> >>
> >> From [log in to unmask]  Thu Jun 14 04:55:21 2007
> >> Date: Thu, 14 Jun 2007 04:55:20 -0500
> >> From: root <[log in to unmask]>
> >> To: [log in to unmask]
> >> Subject: YUM:zim.bio.aps.anl.gov:2007-06-14
> >>
> >>  --------------------
> >>  YUM - security
> >>  --------------------
> >>
> >> =========================
> >> =========================
> >> =========================
> >> ==
> >>  Package                 Arch       Version          Repository        Si
> >> ze
> >> =========================
> >> =========================
> >> =========================
> >> ==
> >> Updating:
> >>  kdebase                 i386       6:3.5.4-13.6.el5  sl-security        
> >> 28 M
> >>  kdebase-devel           i386       6:3.5.4-13.6.el5  sl-security       1
> >> 18 k
> >>
> >> Transaction Summary
> >> =========================
> >> =========================
> >> =========================
> >> ==
> >> Install      0 Package(s)
> >> Update       2 Package(s)
> >> Remove       0 Package(s)
> >>
> >> Total download size: 28 M
> >> warning: kdebase-3.5.4-13.6.el5: Header V3 DSA signature: NOKEY, key ID a
> >> 7048f8d
> >> sed: -e expression #1, char 33: unknown option to `s'
> >>
> >> Updated: kdebase.i386 6:3.5.4-13.6.el5 kdebase-devel.i386 6:3.5.4-13.6.el
> >> 5
> 

ATOM RSS1 RSS2