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

Bug#918883: debian-installer: does not build custom installer images if debian-security-support is installed



Control: tag -1 - d-i

(No need to tag d-i packages with the d-i tag, which is most useful for
packages that aren't directly related to the installer team, like those
producing udebs but maintained by other teams.)

Hi,

Christoph Martin <martin@uni-mainz.de> (2019-01-10):
> Package: debian-installer
> Version: 20170615+deb9u5
> Severity: normal
> Tags: d-i
> 
> Using the howto in https://wiki.debian.org/DebianInstaller/Build to
> build an installer image with a custom kernel fails if
> debian-security-support is installed on the build system:
> 
> Unpacking acpi-modules-4.18.0-0.bpo.3-amd64-di (4.18.20-2~bpo9+1) ...
> dpkg-query: error: failed to open package info file
> './tmp/netboot/tree/var/lib/dpkg/status' for reading: No such file or
> directory
> dpkg: error: error executing hook 'if [ -x
> /usr/share/debian-security-support/check-support-status.hook ] ; then
> /usr/share/debian-security-support/check-support-status.hook ; fi', exit
> code 512
> make[2]: *** [stamps/tree-unpack-netboot-stamp] Error 2
> 
> removing the package debian-security-support makes it work.

Hrm. I'm a little unimpressed by this package.

There's #928172, and trying to install it in my sid chroot seems to get
me a different failure:

    sid-amd64-devel)kibi@armor:~/debian-installer/installer$ sudo apt-get install debian-security-support
    [sudo] password for kibi: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      debian-security-support
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 27.1 kB of archives.
    After this operation, 143 kB of additional disk space will be used.
    Get:1 http://ftp.fr.debian.org/debian sid/main amd64 debian-security-support all 2019.02.02 [27.1 kB]
    Fetched 27.1 kB in 0s (157 kB/s)                   
    Preconfiguring packages ...
    Selecting previously unselected package debian-security-support.
    (Reading database ... 192235 files and directories currently installed.)
    Preparing to unpack .../debian-security-support_2019.02.02_all.deb ...
    Unpacking debian-security-support (2019.02.02) ...
    Setting up debian-security-support (2019.02.02) ...
    /usr/bin/check-support-status: 269: /usr/bin/check-support-status: cannot create /var/lib/debian-security-support/security-support.semaphore: Directory nonexistent
    dpkg: error processing package debian-security-support (--configure):
     installed debian-security-support package post-installation script subprocess returned error exit status 2
    Processing triggers for man-db (2.8.5-2) ...
    Not building database; man-db/auto-update is not 'true'.
    Errors were encountered while processing:
     debian-security-support
    E: Sub-process /usr/bin/dpkg returned an error code (1)


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: