On Thu, Oct 30, 2008 at 12:35 PM, Daan Meerburg <[EMAIL PROTECTED]> wrote:
> Hi Alexander,
> My computer was out for repair, so I could not implement your advice before.
> However just tried it and I get the same error (the list error)
> The following package will be rebuilt:
>  app-defaults
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-app-defaults-20010814-12
> /sw/
> src/fink.build
> dpkg-deb: building package `fink-buildlock-app-defaults-20010814-12' in
> `/sw/src
> /fink.build/fink-buildlock-app-defaults-20010814-12_2008.10.30-17.17.58_darwin-i
> 386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i
> /sw/src/fink.build/fink-buildlock-app-defaults-20010814
> -12_2008.10.30-17.17.58_darwin-i386.deb
> Selecting previously deselected package
> fink-buildlock-app-defaults-20010814-12.
> (Reading database ... /sw/bin/dpkg: error processing
> /sw/src/fink.build/fink-bui
> ldlock-app-defaults-20010814-12_2008.10.30-17.17.58_darwin-i386.deb
> (--install):
>  files list file for package `app-defaults' is missing final newline
> Errors were encountered while processing:
>  
> /sw/src/fink.build/fink-buildlock-app-defaults-20010814-12_2008.10.30-17.17.58_
> darwin-i386.deb
> Processing was halted because there were too many errors.
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Can't set build lock for app-defaults (20010814-12)
> If any of the above dpkg error messages mention conflicting packages or
> missing
> dependencies -- for example, telling you that the package
> fink-buildlock-app-defaults-20010814-12 conflicts with something else --
> fink
> has probably gotten confused by trying  to build many packages at once. Try
> building just this current package app-defaults (i.e, "fink build
> app-defaults"). When that has completed successfully,  you could retry
> whatever
> you did that led to the present error.
> Regardless of the cause of the lock failure, don't worry: you have not
> wasted
> compiling time! Packages that had been completely built before this error
> occurred will not have to be recompiled.
> See http://wiki.finkproject.org/index.php/Fink:buildlocks for more
> information.
> /sw/bin/dpkg-lockwait -r fink-buildlock-app-defaults-20010814-12 >/dev/null
> dpkg - warning: ignoring request to remove
> fink-buildlock-app-defaults-20010814-
> 12 which isn't installed.
> Failed: buildlock failure
> Any other suggestions? Should I try
> sudo apt-get install --reinstall --download-only app-defaults
> or somehing else?
> Sorry for this mess
> thanks again
> daan
>
>

<snip>

Oops:  the FAQ mentioned rebuilding, but I forgot that the entry was
written before we implemented build locks--which won't work under
these circumstances.

Try

 sudo apt-get install --reinstall --download-only app-defaults

as you suggested.

Actually, now that I think about it, the file list for app-defaults is
pretty short.  It might be easier if you just edited it yourself.  If
you do something like

sudo nano /sw/var/lib/dpkg/info/app-defaults.list

then make sure the the following entries are there

/sw/etc/app-defaults/Editres-color
/sw/etc/app-defaults/Viewres
/sw/etc/app-defaults/XCalc
/sw/etc/app-defaults/XCalc-color
/sw/etc/app-defaults/XClipboard
/sw/etc/app-defaults/XClock
/sw/etc/app-defaults/XConsole
/sw/etc/app-defaults/XFontSel
/sw/etc/app-defaults/XLoad
/sw/etc/app-defaults/XLogo
/sw/etc/app-defaults/XLogo-color
/sw/etc/app-defaults/XSm
/sw/etc/app-defaults/Xditview
/sw/etc/app-defaults/Xditview-chrtr
/sw/etc/app-defaults/Xedit
/sw/etc/app-defaults/Xedit-color
/sw/etc/app-defaults/Xfd
/sw/etc/app-defaults/Xgc
/sw/etc/app-defaults/Xmag
/sw/etc/app-defaults/Xman
/sw/etc/app-defaults/Xmessage
/sw/etc/app-defaults/Xmh
/sw/etc/app-defaults/Xvidtune

(and make sure to put a newline at the end), then hit Control-X and
save the file.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to