DragonFly BSD
DragonFly users List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: chlamydia inconsistency? part II.

From: Paweł Oniszczuk <blink@xxxxxxxxxxxxxx>
Date: Sat, 25 Sep 2010 14:39:32 +0200

> BTW.1. pkg_radd prints segmentation fault, see the
> picture: http://pp.blast.pl/www.png/dfbsd/df_01.png
> I had to compile MC from sources.

I'm not sure, but master branch in git repository is probably pkgsrc
-current? DragonFly BSD has pre-bootstrapped pkgsrc 2010Q2 out-of-box

> I was too optimistic. I tried to get MC running using compilation but
> the procedure also ended up with segmentation fault.

IMO mixing binary packages with source builds isn't good idea,
especially with two different version of pkgsrc. Dependency hell is
easy to archive.

My suggestion is to remove all packages:

# pkg_delete -ff '*-*'

clean directories:

# rm -rf /usr/pkg/* && rm -rf /var/db/pkg/*

And bootstrap new pkgsrc:

# cd /usr/pkgsrc/bootstrap && ./bootstrap

Then you can start building packages:

# cd /usr/pkgsrc/sysutils/mc && bmake install

Good idea is also using stable branch of pkgsrc - which currently is
2010Q2. If you removed all packages and forgot to checkout pkgsrc
repository, you can download it from ftp:

# ftp -a ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2010Q2/pkgsrc.tar.bz2

There are other solutions for making dependencies consistent
like "pkg_rolling-replace", but starting from scratch is the easiest.

btw. Sorry for poor english writing.

Paul Onyschuk <blink@bojary.koba.pl>

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]