On 12/27/13 5:38 PM, Alexander Hansen wrote:
> On 12/27/13 4:58 PM, Richard Miles wrote:
>> ls /sw/bin
>> -bash-3.2$ ls /sw/bin/
>>
>> there is nothing there for some reason?
>>
>
> Uh-oh.
>
> Try the following.
>
> 1)  Back up your status file
>
> cp /sw/var/lib/dpkg/status ~/Desktop/
>
> 2) Try the following commands:
>
> cd /tmp
> mkdir fix
> cd fix
> # the next item should be on one line
> for file in /sw/fink/debs/*.deb ; do ar vx $file ; tar -xvf data.tar.gz
> ; done
>
> sudo cp sw/bin/* /sw/bin/
>

And assuming that works, then change /sw/bin/dpkg-lockwait and 
/sw/bin/apt-get-lockwait as before, changing

     my $struct_flock = pack("qqiss", 0, 0, 0, F_WRLCK, SEEK_SET);

to

     my $struct_flock = pack("lllliss", (0, 0), (0, 0), 0, F_WRLCK, 
SEEK_SET);

(where those are lower-case "L"s)
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
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