[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bilow autobuilder cannot build ISO images



Le Thu, Jun 08, 2000 at 07:28:04PM -0400, Mike Bilow écrivait:
> # Adding packages to the system :
> libstdc++2.10-dev
> E: read, still have 2 to read but none left

This error is causing the problem. I don't know where it does come from,
it looks like apt-cache is complaining ...

And the line libstdc++2.10-dev proves that "apt-selection selectecd"
gave us the good result (the file temp.apt-selection too). 

> Sorry, but the following packages have unmet dependencies:
>   g++: Depends: libstdc++2.10-dev (>= 1:2.95.2-10) but it is not installed

Since this one is failing and since it should have been added just before
I guess that the problem is that libstdc++2.10-dev has not been added at
the end of $APTTMP/potato-i386/status ? Can you confirm this ? Can you
show what it looks like ?

Did you recently install apt 0.3.19 ? Maybe its behaviour has changed with
this version ... unfortunately I can't test much here ...

Maybe we shouldn't write to the status file while apt may be using it ..
using a temp file may help. You may try by changing it in the
correctstatus target in the Makefile : 

instead of :
---
        # Adding packages to the system :
        @for i in `$(apt) selected -f install`; do \
          echo $$i; \
          $(apt) cache dumpavail | perl -000 -ne \
              "s/^(Package: .*)\$$/\$$1\nStatus: install ok installed/m; \
               print if /^Package: \Q$$i\E\s*\$$/m;" \
               >> $(ADIR)/status; \
        done
---

You may want something like :
---
        # Adding packages to the system :
        @for i in `$(apt) selected -f install`; do \
          echo $$i; \
          $(apt) cache dumpavail | perl -000 -ne \
              "s/^(Package: .*)\$$/\$$1\nStatus: install ok installed/m; \
               print if /^Package: \Q$$i\E\s*\$$/m;" \
               > $(ADIR)/status.add; \
	  cat $(ADIR)/status $(ADIR)/status.add > $(ADIR)/status.new; \
	  mv $(ADIR)/status.new $(ADIR)/status; \
        done
---

It's pure theory ... I really don't know what the error that apt is giving 
us means ... 

Cheers,
-- 
Raphaël Hertzog -+- http://strasbourg.linuxfr.org/~raphael/



Reply to: