LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 02-21-2004, 12:12 PM   #1
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Safe to emerge-upgrade a running program?


I'm using Gentoo and emerge. How safe is it to upgrade a program that is currently running? Say, for example, I want to upgrade KDE while running KDE.

Presumably it's safe for many smaller programs - upgrading bash while running bash, etc. I just wondered if it'd be a better idea to shut down KDE before trying to upgrade it.
 
Old 02-21-2004, 01:04 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
haven't tried this out. though, linux is said to be capable to "change files on the run", so that even running apps can be updated while they're in use..so basically I'd understand it so that you should be able to do it. I haven't heard of anybody who had said it won't work...

I'd say that if you definitely want everything to run ok, then the only way to be sure (if it's even possible) is to first shut down KDE. but on the other hand, why not? I'm quite sure it works.

there's still one thing - I read this while upgrading my graphics card's drivers. when updating this kind of stuff, you shouldn't use the app it's affecting...in my driver's case, it said I should shut X down until the driver install & configuration was ready, to avoid problems. that is, because the drivers work somehow on a "lower level" or something...don't know how to put it like they'd be more vital or something. argh, can't get it said right...

but anyway, I think you don't have anything big to be afraid of (unless someone has better information)....KDE is still a bunch of apps running on your X, and if updating apps works (you can update your portage through portage hehe), KDE should be no exception.
 
Old 02-21-2004, 01:36 PM   #3
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48
Yeah, I suspect it'd be okay... running programs are loaded into memory, so upgrading the versions on the disk would be fine, I'd think. I don't know about the driver thing - I've been able to install the nvidia driver while in XFree; just gotta restart afterwards. I mostly wondered because I'm hoping to upgrade my wife's machine to KDE 3.2, and since it takes many hours to compile KDE, I didn't want to leave her without a GUI during that time. It'll be a while before I'm ready to do it though, so I hope someone else can offer an authoritative answer...
 
Old 02-24-2004, 10:39 AM   #4
2k.
Member
 
Registered: Apr 2003
Location: Exeter - UK
Distribution: Gentoo
Posts: 45

Rep: Reputation: 15
when i upgraded to kde 3.2 i was using kde 3.1 and it worked fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
safe to dist-upgrade yet? jnev Ubuntu 32 10-24-2005 05:48 AM
Is it safe to upgrade? wnaLinux Debian 3 01-29-2005 12:48 PM
Is it safe to "apt-get upgrade" whilst running gnome? f0rmula Linux - Software 2 12-06-2004 08:27 AM
* Help! Is there a program like EMERGE(Gentoo) for mandrake? gtxboyracer Mandriva 2 01-19-2004 07:55 PM
safe to upgrade? rocktap Linux - Hardware 3 06-07-2002 01:40 AM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration