Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 2004 13:53:13 +0100
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        "Michael C. Shultz" <reso3w83@verizon.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portupgrade vs. portmanager
Message-ID:  <20041225125311.GA43679@scode-whitestar.mine.nu>
In-Reply-To: <200412241731.14458.reso3w83@verizon.net>
References:  <41CBB0D6.6080807@att.net> <200412241125.04925.reso3w83@verizon.net> <20041224235211.GA25610@scode-whitestar.mine.nu> <200412241731.14458.reso3w83@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Right now portmanager is upgrading kdelibs and I'm still using it. The 
> only problem that might occur is between the deinstall/reinstall steps
> I'll be missing the libraries for about a minute, when this happens I 
> just wait untill its finished reinstalling then continue.  
> Here is a recap of what happens:
...
> I've been testing this for a year now and haven't had a problem yet
> using a program while it is being updated.

That does indeed sound perfectly painless. I failed to remember that there
is another factor playing into my annoyance with pkg_chk - namely that
it seems to remove dependent packages in chunks prior to re-installing
them. So the end-result is that the system is completely missing several
packages for extended periods of time while a bunch of other packages are
being compiled.

I don't know why this is done or exactly under what circumstances. But
indeed, the way portmanager behaves as you described above sounds
a lot better.

> Portupgrade has one serious flaw in my opinion and that is running 
> something like pkgdb -F damages the port installation database as far 
> as I'm concerned.  It causes the data base to say ports were built with 
> dependency ports that they were  never really built with.  Portmanager 
> only addresses that one issue and for the forseeable future that is 
> where all the focus will be, only on correctly updating ports.

Ok. That sounds good. To be honest I have never understood why the dependencies
seem to randombly break, requiring a lot of fiddling with pkgdb.

I tried portmanager in the past but missed the fact of 'proper' upgrading of
entire dependency chains. I will have another go now though. Thanks for
the clarifications!

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041225125311.GA43679>