Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 11-06-2003, 08:44 AM   #1
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Danger----Do Not Use Dselect

Posted at the Fink web site News:

http://fink.sourceforge.net/index.php

Quote:
2003-11-04: User Deletion Bug/ Dselect Troubles

Quick Summary: DO NOT USE DSELECT, and if you've used it, check your /sw/etc/apt/sources.list file carefully.


Users who have bootstrapped or installed Fink 0.5.3 or Fink 0.6.0 on Mac OS X 10.3 could exhibit a problem where all users get deleted from the netinfo database, and you become unable to log in. We believe that this problem can only occur if you've used dselect.


If you are using Mac OS X 10.3, please be sure you're using the latest Fink version to avoid the issue. To make sure you don't have upgrade problems, check your/sw/etc/apt/sources.list file. You will need to modify it if it contains deb lines that point to "release" or "current" without a version number. In other words, if yoursources.list file contains these lines:

deb http://us.dl.sourceforge.net/fink/direct_download release main
deb http://us.dl.sourceforge.net/fink/direct_download current main

...you should change them to this:

deb http://us.dl.sourceforge.net/fink/direct_download 10.3/release main
deb http://us.dl.sourceforge.net/fink/direct_download 10.3/current main

We are working on updating the repository to make sure that even if you update you don't get the broken code, and to repair dselect, but in the meantime, make sure yoursources.list file has the correct entries.

Other users have experienced problems with dselect itself, particularly complaints about a missing "darwin" package. If you are running dselect under 10.3 and you don't get this warning, then your sources.list file is likely to be corrupted and you should repair it as above.


Last edited by sao; 11-06-2003 at 09:24 AM.
sao is offline   Reply With Quote
Old 11-06-2003, 09:19 AM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Installing Fink Binary packages in Panther

1- Install Apple's X11 from the X11.pkg on Panther CD 3.
2- Install Xcode and the "X11 SDK" from the Xcode CD.

2- Install Fink from:
Download the installer disk image:
Fink 0.6.1 Binary Installer - 18 MB

Don't Use dselect:
The binary release uses binary packages. It comes with a graphical installer package for first-time installation and a package browser and selection app (dselect). But, dselect is broken in Panther, and if you try to install via dselect, Fink will indicates that it needs X11, and offers xfree86-base and system-xtools as options, and could exhibit a problem where all users get deleted from the netinfo database, and you become unable to log in, in the case you have bootstrapped or installed Fink 0.5.3 or Fink 0.6.0 on Mac OS X 10.3 and use dselect.

For installing binary packages in Panther, use:

the command apt-get

or

use FinkCommander

Before you start installing packages:

Check that the file /sw/etc/apt/sources.list has 10.3 in the deb lines:
Code:
# Official binary distribution: download location for packages
# from the latest release
deb http://us.dl.sourceforge.net/fink/direct_download 10.3/release main crypto

# Official binary distribution: download location for updated
# packages built between releases
deb http://us.dl.sourceforge.net/fink/direct_download 10.3/current main crypto
Then run:

fink scanpackages (only needed the first time you do this)

For the binary packages to become available in FinkCommander application:

Inside FinkCommander Application

Go to the menu "Binary" and click on "Update descriptions" followed by "Dist-Upgrade" (both in the Binary menu)

Or:

Go to the menu "Binary" and click on "Update descriptions"

and then:

Go to the menu "File" and click on "Update Table"

-----------------------------------

Using apt-get to install binary packages:

The most frequently used apt-get commands are 'update' and 'install' .

To retrieve and scan the Packages.gz files, so that information about new and updated packages is available, run:

'sudo apt-get update'

To 'download and install' the especified deb package, run:

sudo apt-get install packagename

apt-get commands:
Code:
Commands:
   update - Retrieve new lists of packages
   upgrade - Perform an upgrade
   install - Install new packages (pkg is libc6 not libc6.deb)
   remove - Remove packages
   source - Download source archives
   build-dep - Configure build-dependencies for source packages
   dist-upgrade - Distribution upgrade, see apt-get(8)
   dselect-upgrade - Follow dselect selections
   clean - Erase downloaded archive files
   autoclean - Erase old downloaded archive files
   check - Verify that there are no broken dependencies
Running apt-get with the -s option (No-act. Perform ordering simulation) will give you a list of all the packages that will be installed.

apt-get -s install packagename

For more info on using apt-get run:

'apt-get --help'

Last edited by sao; 11-11-2003 at 12:31 PM.
sao is offline   Reply With Quote
Old 11-06-2003, 12:59 PM   #3
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Tips:

1- If you are using the 0.6.1 binary distribution on Panther, install the dlcompat-shlibs package:

sudo apt-get install dlcompat-shlibs

At the moment, the dlcompat package will fail to trigger the installation of dlcompat-shlibs as a dependancy.

-----------------------------------

2- There is also problems with the qt3 package in the binary distribution on Panther:

The qt3 packages in the 10.3 bindist will have to be replaced.

Posted by Benjamin Reed at the fink-devel lists:
Quote:
"The problem is that XFree86 was disabling a flag that provides backwards-compatible symbols for freetype, so a libfreetype from XFree86 4.2 (including Apple's X11) has some symbols that a libfreetype from XFree86 4.3 doesn't.

I've notified the XFree86 team about this and it's already fixed in CVS, a future XFree86 4.3.1 release or the upcoming 4.4 release will both solve the problem.

In the meantime, qt3 needs to be rebuilt".

The only problem with the "KDE binaries" on panther is that after installing them, you need to do:

fink remove qt3
fink install qt3

to fix qt3's linking against freetype libraries, and then it will work.

Last edited by sao; 11-11-2003 at 01:31 PM.
sao is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:59 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.