[Grml] grml-live, package list question

Michael Prokop mika at grml.org
Thu Jul 29 03:38:09 CEST 2010


* T o n g <mlist4suntong at yahoo.com> [Tue Jul 27, 2010 at 01:58:13PM +0000]:

> When are dpkg.list & dpkg.selections generated, before chroot 
> installation or after it? 

The files are generated in one of the final steps before the
squashfs file will be generated, it should catch what will be
shipped by the ISO then.

> I bumped into a strange problem that grml-live is installing packages not 
> in the dpkg.list & dpkg.selections -- I "thought" that I remove all java 
> packages from my source package list, then "confirmed" that with the 
> following:

> $ grep -i java /var/log/fai/depen/last/dpkg.selections || echo no found
> no found

> $ grep -i java /var/log/fai/depen/last/dpkg.list 
> ii  libmozjs2d                                   
> 1.9.1.11-1                                   The Mozilla SpiderMonkey 
> JavaScript library

Check out "apt-cache rdepends libmozjs2d" and if that doesn't help
yet check out debtree -> http://collab-maint.alioth.debian.org/debtree/

Regarding the logs, be aware of:

# ls ~log/fai/*/last*
/var/log/fai/grml/last@  /var/log/fai/grml/last-dirinstall@ /var/log/fai/grml/last-softupdate@

In /usr/share/doc/grml-docs/packages/dpkg_list inside the chroot/ISO
you should have the final version.

> However, grml-live still failed because of java packages:

> $ grep -i java /var/log/fai/depen/last/software.log
>   iso-codes{a} java-common{a} jed jed-common{a} keyboard-configuration{a} 
>   sendmail-bin sendmail-cf sensible-mda slsh{a} strace sun-java6-bin{a} 
>   sun-java6-fonts sun-java6-jre{a} synergy tcl tcl8.4{a} telnet tftp tk 
[...]
> Unpacking sun-java6-jre (from .../sun-java6-jre_6.20-dlj-4_all.deb) ...
> dpkg: error processing /var/cache/apt/archives/sun-java6-jre_6.20-
> dlj-4_all.deb (--unpack):
> Selecting previously deselected package sun-java6-bin.
> Unpacking sun-java6-bin (from .../sun-java6-bin_6.20-dlj-4_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/sun-java6-bin_6.20-
> dlj-4_amd64.deb (--unpack):
>  /var/cache/apt/archives/sun-java6-jre_6.20-dlj-4_all.deb
>  /var/cache/apt/archives/sun-java6-bin_6.20-dlj-4_amd64.deb
> Setting up java-common (0.38) ...
[...]

Wild guess: might be because you don't provide debconf preseeding
for accepting the license of the sun java package.

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20100729/92c2e02e/attachment-0003.pgp>


More information about the Grml mailing list