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

Bug#698203: marked as done (Not a directory at /var/lib/dpkg/info/linux-base.postinst line 1177. (extlinux))



Your message dated Tue, 04 Aug 2015 21:37:14 +0000
with message-id <E1ZMjta-0003LX-U6@franck.debian.org>
and subject line Bug#698203: fixed in linux-base 4.0
has caused the Debian Bug report #698203,
regarding Not a directory at /var/lib/dpkg/info/linux-base.postinst line 1177. (extlinux)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
698203: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698203
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-base
Version: 3.5
Severity: minor

I did the following:

  - basic squeeze install, choose no bootloader,
  - manually do an extlinux install in /boot (extlinux package is NOT installed)
  - set link_in_boot=yes in kernel-img.conf

Those are about the only things I did.  Then I tried to upgrade from
squeeze to wheezy and got

    Not a directory at /var/lib/dpkg/info/linux-base.postinst line 1177.

...without further helpful output.  That line is part of a generic
function, so I straced dpkg --configure -a and found

    4875  open("/boot/extlinux/options.cfg", O_RDONLY) = -1 ENOTDIR (Not a directory)

I have not investigated further but I guess this is because linux-base
is finding /boot/ldlinux.sys and assuming it was configured in the way
update-extlinux does it.

FWIW even when I do install extlinux via apt, I typically have a
static /boot/syslinux.cfg and I disable update-extlinux so it doesn't
run.

If you aren't interested in supporting odd extlinux setups, that's OK
with me, but I would appreciate a less obscure error message.

Here is what my system looks like:

    root@debian:~# cat /etc/kernel-img.conf
    # Kernel image management overrides
    # See kernel-img.conf(5) for details
    do_symlinks = yes
    do_bootloader = no
    do_initrd = yes
    link_in_boot = yes

    root@debian:~# find /boot -ls
    344065    4 drwxr-xr-x   2 root     root         4096 Jan 15 17:06 /boot
    344067  108 -rw-r--r--   1 root     root       106172 Sep 24 00:08 /boot/config-2.6.32-5-amd64
    344068 1632 -rw-r--r--   1 root     root      1666397 Sep 24 00:08 /boot/System.map-2.6.32-5-amd64
    344069    0 lrwxrwxrwx   1 root     root           22 Jan 15 15:45 /boot/vmlinuz -> vmlinuz-2.6.32-5-amd64
    344071    0 lrwxrwxrwx   1 root     root           25 Jan 15 15:45 /boot/initrd.img -> initrd.img-2.6.32-5-amd64
    344072   60 -rwxr-xr-x   1 root     root        55176 Jan 15 15:45 /boot/extlinux
    344066 2372 -rw-r--r--   1 root     root      2423968 Sep 23 23:59 /boot/vmlinuz-2.6.32-5-amd64
    344080 8700 -rw-r--r--   1 root     root      8891560 Jan 15 17:06 /boot/initrd.img-2.6.32-5-amd64
    344073   60 -rw-r--r--   1 root     root        56164 Jan 15 15:46 /boot/menu.c32
    344074   32 -r--r--r--   1 root     root        32256 Jan 15 15:46 /boot/ldlinux.sys
    344076    4 -rw-r--r--   1 root     root          457 Jan 15 15:54 /boot/syslinux.cfg
    344070 2060 -rw-r--r--   1 root     root      2101443 Dec 20 01:19 /boot/System.map-3.2.0-4-amd64
    344075    4 -rw-r--r--   1 root     root          445 Jan 15 15:54 /boot/syslinux.cfg~
    344078  132 -rw-r--r--   1 root     root       128903 Dec 20 01:19 /boot/config-3.2.0-4-amd64
    344079 2768 -rw-r--r--   1 root     root      2829472 Dec 20 01:16 /boot/vmlinuz-3.2.0-4-amd64

    root@debian:~# cat /proc/partitions
    major minor  #blocks  name

       8        0    8388608 sda

    root@debian:~# cat /proc/mounts
    rootfs / rootfs rw 0 0
    none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    none /dev devtmpfs rw,relatime,size=508624k,nr_inodes=127156,mode=755 0 0
    none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
    /dev/disk/by-label/root / ext2 rw,relatime,errors=remount-ro 0 0
    tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
    /dev/disk/by-label/root /run ext2 rw,relatime,errors=remount-ro 0 0
    /dev/disk/by-label/root /run/lock ext2 rw,relatime,errors=remount-ro 0 0
    tmpfs /run/shm tmpfs rw,nosuid,nodev,relatime 0 0

--- End Message ---
--- Begin Message ---
Source: linux-base
Source-Version: 4.0

We believe that the bug you reported is fixed in the latest version of
linux-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 698203@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated linux-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 04 Aug 2015 21:24:05 +0100
Source: linux-base
Binary: linux-base
Architecture: all source
Version: 4.0
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Closes: 580435 660670 670775 686211 686384 686431 686445 686459 686480 686602 686610 686662 686687 686704 686705 686717 686720 686748 698203 761614
Description: 
 linux-base - Linux image base package
Changes:
 linux-base (4.0) unstable; urgency=low
 .
   * Remove obsolete postinst upgrade code and translations
     (Closes: #580435, #660670, #670775, #686211, #686384, #686431, #686445,
      #686459, #686480, #686602, #686610, #686662, #686687, #686704, #686705,
      #686717, #686720, #686748, #698203)
   * Run version_cmp() unit tests at build time
   * linux-version: Fix sorting of version strings containing -trunk
     (Closes: #761614)
   * perf: Update error message for missing perf executable, to refer to
     linux-perf-<version> for Linux 4.1 onward
   * debian/control: Drop support for pre-multiarch releases
   * debian/control: Update Vcs-* fields to use anonscm.debian.org
   * debian/control: Update policy version to 3.9.6; no changes required
Checksums-Sha1: 
 03dd1c4fa1063cdc09d7b7ede8cb9e877fb2294e 1681 linux-base_4.0.dsc
 69187d60517754fe62288d4b6a994149e4021e5a 6834 linux-base_4.0.tar.gz
 c62fd708d11452b154b21fbcb6187e1a20f7718a 7044 linux-base_4.0_all.deb
Checksums-Sha256: 
 d3943db001c8a239da289f5f5c9ad371a98577f93d22003478782d303e285d40 1681 linux-base_4.0.dsc
 96e5f3ac9478a10614c65af769b970cf24325ac33722ae891a6e864c46b00054 6834 linux-base_4.0.tar.gz
 4cee745ca6b9fc27fc54ad443d5a42680e9e1183017928cefd4baeb1351c06b8 7044 linux-base_4.0_all.deb
Files: 
 fc122479b67f4e43d84ec58e16c7149f 1681 kernel optional linux-base_4.0.dsc
 271f9affbb5165a551f3dcbc62fe956e 6834 kernel optional linux-base_4.0.tar.gz
 e654af4db5a3cdbb53234ed34b85fb25 7044 kernel optional linux-base_4.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVcEiJ+e/yOyVhhEJAQq0qQ//aS9KlLD6FM8kbQGNkpZqrHYF2lSJFG+0
uD7RrwJJAYbGyvFRFpgF2xyrI8zUwEMrPSRu+p9umj1zq7sb2CaGdbUBbHDEkr5z
4IOX/qxtXWdclt1vBQT7WOhlaDnfdSese3bUtV9WAW/I+yGhrfbptqDuJLGX4XPj
/W83tZBxch5UHWt2nuWv40BYoHBZwgMmOUlTxhtXp5ZYZasFmuXpH2yHqFWE02Ac
85I0l3dpJjEzWonYU8NKXgjLcuHFlepUVNmLgoiPPOHOBEwTsK0fljlqZ1MMRmdf
UwYLHCPbGrZshulcMGsjqskRZvRAlPRKuG62i7GKCnYz2q2lmI75gE6e8JuX2E+u
BnrzOfHuyI0IjzDeSDCzI9NG8ipRaX5jWq1w0aWbJYD7LxmnI4BVO+04Z0iJ3s4r
YBMExajUktBHy3JFQtgm9a1d1EoLF6KnvuGGcuOmhM6ltUAbR5l1Fz7e/AeeITzX
9zrBA9JuQSyBg5p8MXQ/xY1lR8FTwOUsDdf5SSjiCcmb+2SUTKp8bcpEJ9XlhquG
/wf5vnXNh77IIUljZgOx0IPUkS+T9sKDo4yhR6VpNyL/4EwazmDzkCUlltUa0hzx
svAsJiCEWy2pSrPypyac3Zs/CdBuQTs2RM2RJ8MnDihCbq/rs1cDtUOcJksQzjv6
cuB2FfTlXqM=
=Txgr
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: