Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-29 Thread Jonas Maebe
On 27 Dec 2013, at 20:28, Alexander Hansen wrote: Try the following while we sort out what the real solution is going to be. Edit /sw/bin/dpkg-lockwait and /sw/bin/apt-get-lockwait as an administrator and change the line in each that says my $struct_flock = pack(qqiss, 0, 0, 0,

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-29 Thread Alexander Hansen
On 12/29/13 6:18 AM, Jonas Maebe wrote: On 27 Dec 2013, at 20:28, Alexander Hansen wrote: Try the following while we sort out what the real solution is going to be. Edit /sw/bin/dpkg-lockwait and /sw/bin/apt-get-lockwait as an administrator and change the line in each that says my

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-29 Thread Jonas Maebe
On 29 Dec 2013, at 15:48, Alexander Hansen wrote: On 12/29/13 6:18 AM, Jonas Maebe wrote: See https://github.com/fink/fink/wiki/Buildlocks for more information. /sw/bin/dpkg-lockwait -r fink-buildlock-base-files-1.9.15-1 /dev/null lockwait: Can't get lock: Invalid argument at

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-29 Thread Alexander Hansen
On 12/29/13 6:54 AM, Jonas Maebe wrote: On 29 Dec 2013, at 15:48, Alexander Hansen wrote: On 12/29/13 6:18 AM, Jonas Maebe wrote: See https://github.com/fink/fink/wiki/Buildlocks for more information. /sw/bin/dpkg-lockwait -r fink-buildlock-base-files-1.9.15-1 /dev/null lockwait: Can't get

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-29 Thread Jonas Maebe
On 29 Dec 2013, at 16:00, Alexander Hansen wrote: It's not quite what I said, which is: my $struct_flock = pack(iss, (0, 0), (0, 0), 0, F_WRLCK, SEEK_SET); Apologies, you're right. This does work correctly indeed. I should also just have realised that replacing the quad with two longs

[Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
On 12/27/13 6:45 AM, Richard Miles wrote: I will now run the cvs command to retrieve the latest package descriptions. After that, the core packages will be updated right away; you should then update the other packages using commands like 'fink update-all'. /usr/bin/cvs -q -z3 update -d -P -l

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Richard Miles
-bash-3.2$ fink install fink-mirrors Password: Information about 12683 packages read in 3 seconds. The following package will be installed or updated: fink-mirrors Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-fink-mirrors-0.36.1.1-1 /sw/src/fink.build

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Jonas Maebe
On 27 Dec 2013, at 17:14, Alexander Hansen wrote: On 12/27/13 6:45 AM, Richard Miles wrote: See https://github.com/fink/fink/wiki/Buildlocks for more information. /sw/bin/dpkg-lockwait -r fink-buildlock-fink-mirrors-0.36.1.1-1 /dev/null Invalid type 'q' in pack at /sw/bin/dpkg-lockwait line

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
On 12/27/13 8:37 AM, Richard Miles wrote: -bash-3.2$ fink install fink-mirrors Password: Information about 12683 packages read in 3 seconds. The following package will be installed or updated: fink-mirrors Setting runtime build-lock... dpkg-deb -b

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
On 12/27/13 8:31 AM, Jonas Maebe wrote: On 27 Dec 2013, at 17:14, Alexander Hansen wrote: On 12/27/13 6:45 AM, Richard Miles wrote: See https://github.com/fink/fink/wiki/Buildlocks for more information. /sw/bin/dpkg-lockwait -r fink-buildlock-fink-mirrors-0.36.1.1-1 /dev/null Invalid type

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Richard Miles
-bash-4.2$ sudo vi /sw/bin/dpkg-lockwait Password: -bash-4.2$ sudo vi /sw/bin/spt-get-lockwait -bash-4.2$ sudo vi apt-get-lockwait -bash-4.2$ sudo grep pack /sw/bin/*lockwait* Password: /sw/bin/apt-get-lockwait: ### Note this pack() is specific to OS X and Darwin!!!

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
On 12/27/13 12:40 PM, Richard Miles wrote: -bash-4.2$ sudo vi /sw/bin/dpkg-lockwait Password: -bash-4.2$ sudo vi /sw/bin/spt-get-lockwait -bash-4.2$ sudo vi apt-get-lockwait -bash-4.2$ sudo grep pack /sw/bin/*lockwait* Password: /sw/bin/apt-get-lockwait: ### Note this pack() is specific

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Richard Miles
there is no fink on my system? On Dec 27, 2013, at 3:32 PM, Alexander Hansen wrote: On 12/27/13 12:40 PM, Richard Miles wrote: -bash-4.2$ sudo vi /sw/bin/dpkg-lockwait Password: -bash-4.2$ sudo vi /sw/bin/spt-get-lockwait -bash-4.2$ sudo vi apt-get-lockwait -bash-4.2$ sudo grep pack

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
On 12/27/13 4:32 PM, Richard Miles wrote: there is no fink on my system? I'm not sure what you mean. The apt-get-lockwait and dpkg-lockwait files that you edited are part of the fink package. Can you provide an example of what you are seeing to lead you to the conclusion that your fink has

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Richard Miles
ls /sw/bin -bash-3.2$ ls /sw/bin/ there is nothing there for some reason? On Dec 27, 2013, at 4:51 PM, Alexander Hansen wrote: On 12/27/13 4:32 PM, Richard Miles wrote: there is no fink on my system? I'm not sure what you mean. The apt-get-lockwait and dpkg-lockwait files that you

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
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

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
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

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Richard Miles
I will now run the cvs command to retrieve the latest package descriptions. After that, the core packages will be updated right away; you should then update the other packages using commands like 'fink update-all'. /usr/bin/cvs -q -z3 update -d -P -l ? TIMESTAMP /usr/bin/cvs -q -z3 update -d -P

Re: [Fink-users] buildlock failure iRe: selfupdate cvs fails

2013-12-27 Thread Alexander Hansen
On 12/27/13 7:06 PM, Richard Miles wrote: I will now run the cvs command to retrieve the latest package descriptions. After that, the core packages will be updated right away; you should then update the other packages using commands like 'fink update-all'. /usr/bin/cvs -q -z3 update -d -P -l