I'm trying to install KDE on my ibook (running OS X v10.3.9) using fink. For some reason, when fink gets to the part where it tries to install ncurses-dev, it breaks:
The following package will be installed or updated:
ncurses-dev
/sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-powerpc/base/ncurses-dev_5.3-20031018-501_darwin-powerpc.deb
dpkg: considering removing libncurses5 in favour of ncurses-dev ...
dpkg: no, cannot remove libncurses5 (--auto-deconfigure will help):
fink-buildlock-readline-4.3-28 depends on libncurses5
libncurses5 is to be removed.
dpkg: regarding .../ncurses-dev_5.3-20031018-501_darwin-powerpc.deb containing ncurses-dev:
ncurses-dev conflicts with libncurses5
libncurses5 (version 5.4-20041023-6) is installed.
/sw/bin/dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-powerpc/base/ncurses-dev_5.3-20031018-501_darwin-powerpc.deb (--install):
conflicting packages - not installing ncurses-dev
Errors were encountered while processing:
/sw/fink/dists/stable/main/binary-darwin-powerpc/base/ncurses-dev_5.3-20031018-501_darwin-powerpc.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package ncurses-dev-5.3-20031018-501
If I bypass fink and use apt-get instead, I get the following error:
E: Could not open lock file /sw/var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/sw/var/lib/dpkg/), are you root?
Anyone know how I can fix this?