grml-live icon indicating copy to clipboard operation
grml-live copied to clipboard

Errors were encountered while processing

Open riesebie opened this issue 5 years ago • 6 comments

grml-live -A -V -s sid -c DEBORPHAN,GRMLBASE,GRML_FULL,RELEASE,AMD64,IGNORE,SNAPSHOT -r"lxtec20200328" -g grml64-full -o .

Errors were encountered while processing: grml-etc ERROR: 256 256 ERROR: chroot /source/grml-live/grml-live/grml_chroot dpkg --configure --pending return code 1 install_packages: executing chroot /source/grml-live/grml-live/grml_chroot dpkg -C The following packages have been unpacked but not yet configured. They must be configured using dpkg --configure or the configure menu option in dselect for them to work: grml-etc etcetera files for the Grml system

install_packages: executing chroot /source/grml-live/grml-live/grml_chroot apt-get clean 2 errors during executing of install_packages

riesebie avatar Mar 28 '20 10:03 riesebie

This is running grml-live 0.34.4

riesebie avatar Mar 28 '20 10:03 riesebie

The actual error message isn't listed here, also we don't see any such issue in our daily builds. You'd need to provide the software.log from the logs (should be /source/grml-live/grml-live/grml_logs/fai/software.log or so on your system) which should include the actual error message.

PS: I consider it a bit rude to just dump an error message into a bug report without any prosa text

mika avatar Mar 31 '20 07:03 mika

Thank you @mika to dive in to this issue and please forgive me for my unfriendliness. To be honest I tried to build a grml-live image like shown in my first post and got "Errors were encountered while processing:" at the end.

Please find the software.log which resides at /var/log/fai/grml on my system. The important message I found is:

Setting up grml-etc (1.7.0) ...

Configuration file '/etc/motd'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** motd (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package grml-etc (--configure):
 end of file on stdin at conffile prompt

BTW a build against testing instead of sid runs just fine. Thanks for cooperation ;-)

riesebie avatar Apr 12 '20 11:04 riesebie

@riesebie https://lxtec.de/grml-live/software.log leads to a 404. The file /etc/motd on your system seems to have been modified by you or another Debian package (which we don't ship by default in Grml), if you provide me steps how to reproduce it I could look into it.

mika avatar May 27 '20 09:05 mika

@mika I provide grml-live.log again. On the build system there is no /etc/motd.

find /etc -name '*motd*'
/etc/update-motd.d
/etc/grml/fai/config/files/etc/motd
/etc/grml/fai/config/scripts/GRMLBASE/31-motd

The second error is behalf to a missing xfsdump.dpkg-new

dpkg: error processing archive /tmp/apt-dpkg-install-dPLvwm/778-xfsdump_3.1.9_amd64.deb (--unpack):                                                                                                        
   unable to open '/sbin/xfsdump.dpkg-new': No such file or directory

which indeed isn't available.

I can't reproduce it at the moment because

W: Failure while configuring base packages.  This will be re-attempted up to five times.                                                                                                                     
W: See /source/grml-live/build-area/grml_chroot/debootstrap/debootstrap.log for details (possibly the package libgcc1 is at fault)
Error in task extrbase. Code: 801

Thanks for participation

riesebie avatar May 28 '20 09:05 riesebie

Regarding the motd file, the logfile says:

Setting up grml-etc (1.7.0) ...

Configuration file '/etc/motd'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** motd (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package grml-etc (--configure):
 end of file on stdin at conffile prompt
Setting up nfs-kernel-server (1:1.3.4-3) ...

What's inside /source/grml-live/grml-live/grml_chroot/etc/motd? If you chroot into the grml_chroot and invoke dpkg -S /etc/motd, does it report anything?

Regarding xfsdump issue: that's https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953537

mika avatar May 28 '20 09:05 mika