Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Need help from anyone who has Fink please.

Need help from anyone who has Fink please.
Thread Tools
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Apr 5, 2004, 09:12 PM
 
In the words of the parody Apple switcher: I deleted "some sort of important system file".

The two files are called "status" and "status-old" and are in:
/sw/var/lib/dpkg/

If anyone could just open up their terminal, type in 'open /sw/var/lib/dpkg/' and email me those two files it would be GREATLY appreciated, because I can't use apt-get or fink cause of this and it's a biatch.

My email is: webmaster [at] kinostudios.com
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Apr 6, 2004, 06:19 AM
 
Originally posted by itistoday:
In the words of the parody Apple switcher: I deleted "some sort of important system file".

The two files are called "status" and "status-old" and are in:
/sw/var/lib/dpkg/

If anyone could just open up their terminal, type in 'open /sw/var/lib/dpkg/' and email me those two files it would be GREATLY appreciated, because I can't use apt-get or fink cause of this and it's a biatch.

My email is: webmaster [at] kinostudios.com
Ouch!

The "status-old" file was a partial backup of the "status" file.

The problem with using mine or someone elses "status" file is that it is most likely anywhere from a little different to very different than what you have. Using mine could lead to severe problems later on.

The simplest solution is to completely re-install fink.

Another solution is to install fink on another Mac. Don't add anything but basic fink. Then when it is done use the "status" file from there. It is OK if the "status" file has a subset of what you really have... problems come when it is a superset.
See: http://www.linuxworld.com/story/32607_p.htm
Has some info on how to do this. In the article he also mentions a way to possibly recreate the files from scratch. You will have to adjust the methods there for your system (prepend "/sw" to any thing that begins with "/var")

Good luck.

The first rule of intelligent tinkering is to save all the parts. -- Paul Erlich
-DU-...etc...
     
Mac Elite
Join Date: Feb 2000
Location: Upstate NY (cow country)
Status: Offline
Reply With Quote
Apr 6, 2004, 11:40 AM
 
I think the easiest thing to do would be to delete your /sw/ folder and completely reinstall fink. I've done that a number of times when I've messed around with things a little too much.
"Destroy your ego. Trust your brain. Destroy your beliefs. Trust your divinity." -Danny Carey

MacPro Quad 2.66, G4 MDD dual 867, 23" Cinema Display and 17" LCD, G4 Quicksilver dual 800, 12" Powerbook 867, iMac 300 Grape, B&W G3/300 with G4/450 running yellowdog, iPod 5GB, iPod mini, PowerCenter 150, Powercenter 132 tower, Performa 6116, Quadra 700, MacSE, LC II, eMate 300
     
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Apr 6, 2004, 03:04 PM
 
yeah.. but i really don't want to re-install fink... i have too many customizations.

Thanks a bunch utidjian! I'll try that tonight.

edit: lol, here's a quote from the article... i really screwed myself over:
"Most important of all is the /var/lib/dpkg/status file".
(Last edited by itistoday; Apr 6, 2004 at 03:16 PM. )
     
Senior User
Join Date: Apr 2000
Location: Woodridge, IL
Status: Offline
Reply With Quote
Apr 7, 2004, 12:39 PM
 
Okay, we're going to have to suspend your 'rm' privileges for a week, and let this be a lesson to you!
     
Junior Member
Join Date: Dec 2001
Location: Zurich (Switzerland)
Status: Offline
Reply With Quote
Apr 14, 2004, 05:07 AM
 
Originally posted by itistoday:
In the words of the parody Apple switcher: I deleted "some sort of important system file".

The two files are called "status" and "status-old" and are in:
/sw/var/lib/dpkg/

What i would do:

1. move sw/ to sw.bak/

2. Reinstall fink

3. move sw/ to sw.new/

4. move sw.bak/ to sw/

5. try to copy the missing parts from sw.new/ to sw/
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:22 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2