On Sun, 03 Apr 2011 12:55:35 -0400, Alexander Hansen  wrote:
> On 4/3/11 12:21 PM, Richard Miles wrote:
  > > Every time I do an apt-get install (some program) I get debconf 
unconfigured messages. 
  > >
  > > Here is what I tried to do:
[...]
> > bash4.0 rmiles $sudo apt-get install sip-py27-bin=4.12.1-2
  > > Reading Package Lists... Done
  > > Building Dependency Tree... Done
  > > The following packages will be REMOVED:
  > >   sip-py32-bin
  > > The following NEW packages will be installed:
  > >   sip-py27-bin
  > > 0 packages upgraded, 1 newly installed, 1 to remove and 0  not upgraded. 
  > > Need to get 0B/162kB of archives. After unpacking 0B will be used. 
  > > Do you want to continue? [Y/n] y
  > > debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in 
@INC (@INC contains: /Library/Perl/Updates/5.10.0 
/System/Library/Perl/5.10.0/darwin-thread-multi-2level 
/System/Library/Perl/5.10.0 
/Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 
/Network/Library/Perl/5.10.0/darwin-thread-multi-2level 
/Network/Library/Perl/5.10.0 /Network/Library/Perl 
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level 
/System/Library/Perl/Extras/5.10.0 .) at (eval 1) line 4. 
 
 
> > What do I have to do to get debconf setup properly?
  >
  > The @INC debconf is using doesn't contain the Fink Perl library paths
  > for some reason. 
  >
  > Try "fink purge debconf ; fink rebuild debconf ; sip-py27-bin=4.12.1-2"
 
I think 'sudo' clobbers the PERL5LIB env var ('fink' takes steps to 
preserve it when jumping to root and then sublaunching dpkg and 
friends, but sudoing manually does not). Packages that use debconf in 
their .deb need to take steps to make sure those scripts are running in 
a finkified shell. As a work-around, you could first launch a root 
shell, then set it up for fink, and then run apt from there:
 
sudo -s
. /sw/bin/init.sh
apt-get ...whatever... 
 
dan
 
--
Daniel Macks
  [email protected]

 
 


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to