---------------------------------------- > Date: Wed, 28 Nov 2007 15:24:36 -0500 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: [email protected] > Subject: Re: [Fink-beginners] Trying to install ghostscript, permissions > denied > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sepand Siassi wrote: >> I'm following this instruction file: http://foo2zjs.rkkda.com/INSTALL.osx >> I'm running leopard, so I installed funk-0.27.8 from source. Now I'm > trying to go through the 3rd step, installing ghostscript. Here's what I > did and what I got: >> >> sepand-siassis-macbook:~ sepandee$ apt-get install ghostscript >> 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? >> sepand-siassis-macbook:~ sepandee$ cd / >> sepand-siassis-macbook:/ sepandee$ apt-get install ghostscript >> 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? >> sepand-siassis-macbook:/ sepandee$ >> >> What did I do wrong? Why were the permissions denied? I thought maybe > running disk utility would fix it, but it didn't. >> >> Thanks >> Sep > A) apt-get has to be run as root for package install operations > ("sudo apt-get install ...") > B) There are no official Fink binaries for 10.5, so apt-get isn't > going to do anything anyway. You will need to have Xcode installed > and run "fink selfupdate-rsync", and then install ghostscript from > source via "fink install ghostscript". > > - -- > Alexander K. Hansen > Fink User Liaison/Documenter > akh AT finkproject DOT org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHTc6DB8UpO3rKjQ8RAvITAJ43Q+koFIXGYY6+/zSAY+mn9WteJwCaAgmU > /JBk3TtoA9y0M1TGQuiEmoU= > =xzFI > -----END PGP SIGNATURE----- >
So here's what I did so far to get ghostscript: sepand-siassis-macbook:~ sepandee$ fink selfupdate-rsync Please note: the command 'fink selfupdate' should be used for routine updating; you only need to use 'fink selfupdate-cvs' or 'fink selfupdate-rsync' if you are changing your update method. rsync -az -q rsync://master.us.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp I will now run the rsync command to retrieve the latest package descriptions. rsync -rtz --delete-after --delete -q --include='10.4/' --include='10.4/stable/' --include='10.4/stable/main/' --include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/' --include='10.4/stable/crypto/' --include='10.4/stable/crypto/finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://master.us.finkmirrors.net/finkinfo' '/sw/fink/' /usr/bin/find '/sw/fink/10.4/stable/main' -name CVS -type d -print0 | xargs -0 /bin/rm -rf /usr/bin/find '/sw/fink/10.4/stable/crypto' -name CVS -type d -print0 | xargs -0 /bin/rm -rf Scanning package description files.......... Information about 2442 packages read in 1 seconds. No packages to install. The core packages have been updated. You should now update the other packages using commands like 'fink update-all'. sepand-siassis-macbook:~ sepandee$ fink update-all Scanning package description files.......... Information about 2442 packages read in 0 seconds. No packages to install. sepand-siassis-macbook:~ sepandee$ fink install ghostscript Information about 2442 packages read in 1 seconds. Can't resolve dependency "x11" for package "ghostscript-8.54-3" (no matching packages/versions found) Exiting with failure. sepand-siassis-macbook:~ sepandee$ Thanks Help ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
