Brilliant, that worked. Thanks! ________________________________________ From: Alexander Hansen [alexanderk.han...@gmail.com] Sent: 18 July 2012 17:11 To: Scaife A. Cc: fink-beginners@lists.sourceforge.net Subject: Re: [Fink-beginners] fink on mac osx lion
On 7/18/12 8:44 AM, Robert Wyatt wrote: > Scaife A. wrote: >> >> I've just upgraded from snow leopard to lion and virtually nothing works, >> including fink... I need to re-install it and I read that using: >> >>> dpkg --get-selections | cut -f1 > fink_packages.txt >> will store a list of everything that's currently installed so I can just >> replace it all after re-installing. >> >> When I run this though, nothing happens - do I need to run this command in a >> particular directory? >> >> Cheers >> >> Anna > > Hi Anna, > > I believe you are referring to this text: > >> Collect the list of installed packages with the following command: >> dpkg --get-selections | cut -f1 > fink_packages.txt >> before updating to 10.7 to dump the package names to a text file. > > referenced here: > http://www.finkproject.org/download/10.7-upgrade.php?phpLang=en > > So I think that you should have run the command before updating. Perhaps > someone else has a suggestion for you though. > > --Robert > Try just dpkg --get-selections | cut -f1 to see what is happening. If dpkg isn't functioning then then you can still get the information via something like: grep -B1 " installed" /sw/var/lib/dpkg/status | grep Package | cut -d: -f2 > fink_packages.txt (Luckily dpkg uses plain text files) -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners