List Info

Thread: `make update' not without problems... :




`make update' not without problems... :
user name
2006-04-19 10:01:50
Hallo,

recently I tried to update ROX-filer to a newer version. So,
I unpacked
(as root) pkgsrc "tree" (the one from 1. April),
changed directory to
appropriate (/usr/src/pgsrc ... /rox), then simply typed
"make". After a
while there was a report, that a newer version of
glib2-2.8.4 will be
needed.

OK - I took a look into "pkgsrc.txt" doc, where
I've found:


update

  This target causes the current package to be updated to
the latest version.
  The package and all depending packages first get
de-installed, then current
  versions of the corresponding packages get compiled and
installed.


So far - so good. So, removed current version of ROX-filer
with "pkg_delete
rox" (I know, it wasn't necessary), and then typed
"make update", still
being in [..]/rox sub-dir. And then the whole problem began:

It did remove about 100 packages, which I wasn't going to
update - packages,
which aren't "corresponding" to ROX in any way
(like irssi, mc and so on).
The compilation was about 40 hours long :(( (Pentium
II-400). Not all the
removed packages were rebuilt - f.e. it did remove firefox,
but it didn't
update it from sources! I had to install it
"manually", when I noticed, it's
not present. No idea, how many packages are still missing
after such
"update" - I'm afraid, I will notice it
exactly, when I'll need one of such
packages. I was trying to "tell it", that it
"forgot" something, by typing
"make update" again - but then only ROX was
recompiled again, while leaving
the missing packages problem untouched.

My question: did I something wrong, that instead of just
update ROX (and
eventually a few corresponding libraries, that ROX's
depending on), "make
update" wanted to replace about 1/3 of all the already
installed packages?
And why it was done in such unclean way - I mean: some
packages were removed,
but not restored in newer version anymore (like firefox)?
And why it didn't
even report something like: "these packages were
erased, but not built
again: *a list of missing packages*"?
-- 
				pozdrawiam / regards

						Zbigniew Baniewski
`make update' not without problems... :\
user name
2006-04-20 11:17:07
On Apr 19, 2006, at 6:01 AM, Zbigniew Baniewski wrote:

>
> So far - so good. So, removed current version of
ROX-filer with  
> "pkg_delete
> rox" (I know, it wasn't necessary), and then
typed "make update",  
> still
> being in [..]/rox sub-dir. And then the whole problem
began:
>
> It did remove about 100 packages, which I wasn't going
to update -  
> packages,
> which aren't "corresponding" to ROX in any
way (like irssi, mc and  
> so on).
> The compilation was about 40 hours long :(( (Pentium
II-400). Not  
> all the
> removed packages were rebuilt - f.e. it did remove
firefox, but it  
> didn't

make update has a strange logic.  It's a good way to remove
a lot of  
functionality from your system, in my experience, although
it can  
work sometimes too..

I posted a while back on another list; we are not alone in
this  
experience.

In the meantime, check out  pkg_tarup from pkgsrc.  Very
useful  
before doing any updates!  Be sure to use the flag for
dependencies.

B

`make update' not without problems... :\
user name
2006-04-20 12:01:37
On Thu, 20 Apr 2006, Brian McEwen wrote:

>> It did remove about 100 packages, which I wasn't
going to update - 
>> packages,

> make update has a strange logic.  It's a good way to
remove a lot of 
> functionality from your system, in my experience,
although it can work 
> sometimes too..
>
> I posted a while back on another list; we are not alone
in this experience.
>
> In the meantime, check out  pkg_tarup from pkgsrc. 
Very useful before doing 
> any updates!  Be sure to use the flag for dependencies.

   And from now on, always use the "package"
target when installing 
something, it'll save you trouble later on.  If... sorry,
*when* the 
recommended tool of the week trashes your installed
packages, you can at 
least reinstall them via "bin-install" (or even
pkg_add), without having 
to recompile all of them again.


MAgnus

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )