You are not logged in.

#1 2009-03-11 07:24:49

blackhole
Member
From: Karlsruhe, Germany
Registered: 2008-12-14
Posts: 148
Website

Should I change runlevel for "pacman -Syu" ?

Hi guys,

I always change to runlevel 3 (no GUI) for a full system upgrade as I'm afraid of updating some kdelib or something while still hanging around in KDE.
Is this paranoid or the right way to do it? I mean it would be more convenient to do it from my KDE Desktop, but only if it's save.

Any thoughts?

Take care,
Blackhole


Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!

Offline

#2 2009-03-11 07:45:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: Should I change runlevel for "pacman -Syu" ?

I change run level when updating xorg, my desktop environment, and that is about it.  From memory hal or dbus can give problems too...

Offline

#3 2009-03-11 07:52:49

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Should I change runlevel for "pacman -Syu" ?

Not having heard about this possible problem I have been happily upgrading from within vanilla kde 4 and not experienced any problems yet (touch wood).


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#4 2009-03-11 08:16:27

blackhole
Member
From: Karlsruhe, Germany
Registered: 2008-12-14
Posts: 148
Website

Re: Should I change runlevel for "pacman -Syu" ?

toad wrote:

Not having heard about this possible problem I have been happily upgrading from within vanilla kde 4 and not experienced any problems yet (touch wood).

But you would agree that if some kde libraries are being updated my KDE might say "ouch" and crash?

Well I guess being a paranoid, German neat freak, I'll stick with runlevel 3. Otherwise it might take me too much time and beer in case of a system break down. Of course Toad doesn't have that kind of problem living next door to Bavarian breweries... tongue


Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!

Offline

#5 2009-03-11 08:22:54

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: Should I change runlevel for "pacman -Syu" ?

As long as you remember to switch runlvls/reboot after major updates or restart X to create user configs for DEs etc... doesnt matter how you do the actual update, it just extracts pkgs.

Offline

#6 2009-03-11 08:25:35

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: Should I change runlevel for "pacman -Syu" ?

blackhole wrote:

But you would agree that if some kde libraries are being updated my KDE might say "ouch" and crash?

it wont say 'ouch' and crash because it still uses the old libs from memory until you restart X

Offline

#7 2009-03-11 08:34:58

Solid1986Snake
Member
Registered: 2007-06-18
Posts: 258

Re: Should I change runlevel for "pacman -Syu" ?

Chrysalis wrote:
blackhole wrote:

But you would agree that if some kde libraries are being updated my KDE might say "ouch" and crash?

it wont say 'ouch' and crash because it still uses the old libs from memory until you restart X

As long as you start new programs.... for expample.... you updated qt and kontact wasn't started. There's a new version of kontact in updates, compiled against new qt, but old one is still in memory...

Could make some problems if you start kontact directly after upgrade without x-server restart....

Offline

#8 2009-03-11 08:38:41

blackhole
Member
From: Karlsruhe, Germany
Registered: 2008-12-14
Posts: 148
Website

Re: Should I change runlevel for "pacman -Syu" ?

Chrysalis wrote:
blackhole wrote:

But you would agree that if some kde libraries are being updated my KDE might say "ouch" and crash?

it wont say 'ouch' and crash because it still uses the old libs from memory until you restart X

Won't it load/reload parts of the libraries from disk? Then it might mix up old and new libraries/fragments in memory. I can't imagine KDE holding all the libs in RAM.


Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!

Offline

#9 2009-03-11 09:03:39

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: Should I change runlevel for "pacman -Syu" ?

blackhole wrote:
Chrysalis wrote:
blackhole wrote:

But you would agree that if some kde libraries are being updated my KDE might say "ouch" and crash?

it wont say 'ouch' and crash because it still uses the old libs from memory until you restart X

Won't it load/reload parts of the libraries from disk? Then it might mix up old and new libraries/fragments in memory. I can't imagine KDE holding all the libs in RAM.

Your questions was will KDE crash when upgrading it, the answer is no since its in ram and you have to restart X to have the updates kick in and function properly.

Offline

#10 2009-03-11 11:16:55

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Should I change runlevel for "pacman -Syu" ?

I am too lazy to change runlevel everytime. And I prefer an Xterm so I can scroll back to review longer update lists if things get complicated.
All right, this could as well be done in RL3, using screen.
Usually there will be no harm, however, as the system will keep running the old setup. Just be sure not to start another application after system upgrades. Better restart the system in this case.
And not to forget: Check any configuration changes immediately.


To know or not to know ...
... the questions remain forever.

Offline

#11 2009-03-11 12:13:43

blackhole
Member
From: Karlsruhe, Germany
Registered: 2008-12-14
Posts: 148
Website

Re: Should I change runlevel for "pacman -Syu" ?

bernarcher wrote:

And I prefer an Xterm so I can scroll back to review longer update lists if things get complicated.

Yupp that's exactly the reason why I started this thread. The virtual console's buffer size is not that big.

@all: Thanks for all your comments.


Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!

Offline

Board footer

Powered by FluxBB