Bug#500631: linux-image-2.6.26-1-amd64: Fails in postinst with grub2: no such file /sbin/update-grub - Debian

This is a discussion on Bug#500631: linux-image-2.6.26-1-amd64: Fails in postinst with grub2: no such file /sbin/update-grub - Debian ; Package: linux-image-2.6.26-1-amd64 Version: 2.6.26-5 Severity: important With grub-pc, /sbin/update-grub does not exist any more, but it seems that the postinst script need it (see the reinstall log at the end of this mail). Fixed by symlinking /usr/sbin/update-grub to /sbin/update-grub. -- ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Bug#500631: linux-image-2.6.26-1-amd64: Fails in postinst with grub2: no such file /sbin/update-grub

  1. Bug#500631: linux-image-2.6.26-1-amd64: Fails in postinst with grub2: no such file /sbin/update-grub

    Package: linux-image-2.6.26-1-amd64
    Version: 2.6.26-5
    Severity: important


    With grub-pc, /sbin/update-grub does not exist any more, but it seems
    that the postinst script need it (see the reinstall log at the end of
    this mail). Fixed by symlinking /usr/sbin/update-grub to
    /sbin/update-grub.



    -- Package-specific info:
    ** Version:
    Linux version 2.6.26-1-amd64 (Debian 2.6.26-5) (waldi@debian.org) (gcc
    version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Wed Sep
    10 15:31:12 UTC 2008

    ** Command line:
    BOOT_IMAGE=/boot/vmlinuz-2.6.26-1-amd64
    root=UUID=4d180dc9-7e0e-4b58-9822-7307f1e3e7ba ro console=tty0

    ** Tainted: P (1)

    ** Kernel log:
    [ 3.241081] ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xc400 irq 23
    [ 3.241123] ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xc408 irq 23
    [ 3.716013] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 3.724184] ata3.00: ATA-7: SAMSUNG HD103UJ, 1AA01113, max UDMA7
    [ 3.724224] ata3.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 0/32)
    [ 3.732184] ata3.00: configured for UDMA/133
    [ 4.052007] ata4: SATA link down (SStatus 0 SControl 300)
    [ 4.052082] isa bounce pool size: 16 pages
    [ 4.052187] scsi 2:0:0:0: Direct-Access ATA SAMSUNG
    HD103UJ 1AA0 PQ: 0 ANSI: 5
    [ 4.052369] NFORCE-CK804: 0000:00:06.0 (rev f2) UDMA133 controller
    [ 4.052410] NFORCE-CK804: IDE controller (0x10de:0x0053 rev 0xf2)
    at PCI slot 0000:00:06.0
    [ 4.057145] NFORCE-CK804: not 100% native mode: will probe irqs later
    [ 4.057193] ide0: BM-DMA at 0xf000-0xf007
    [ 4.057234] ide1: BM-DMA at 0xf008-0xf00f
    [ 4.057273] Probing IDE interface ide0...
    [ 4.624033] Probing IDE interface ide1...
    [ 5.360079] hdc: LITE-ON DVD SOHD-167T, ATAPI CD/DVD-ROM drive
    [ 6.144078] hdd: HL-DT-ST DVDRAM GSA-4167B, ATAPI CD/DVD-ROM drive
    [ 6.200037] hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
    [ 6.200085] hdc: UDMA/33 mode selected
    [ 6.200180] hdd: host max PIO5 wanted PIO255(auto-tune) selected PIO4
    [ 6.200966] hdd: UDMA/33 mode selected
    [ 6.201449] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    [ 6.201551] ide1 at 0x170-0x177,0x376 on irq 15
    [ 6.230158] Driver 'sd' needs updating - please use bus_type methods
    [ 6.230309] sd 2:0:0:0: [sda] 1953525168 512-byte hardware sectors
    (1000205 MB)
    [ 6.230376] sd 2:0:0:0: [sda] Write Protect is off
    [ 6.230415] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 6.230443] sd 2:0:0:0: [sda] Write cache: enabled, read cache:
    enabled, doesn't support DPO or FUA
    [ 6.230549] sd 2:0:0:0: [sda] 1953525168 512-byte hardware sectors
    (1000205 MB)
    [ 6.230614] sd 2:0:0:0: [sda] Write Protect is off
    [ 6.230652] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 6.230678] sd 2:0:0:0: [sda] Write cache: enabled, read cache:
    enabled, doesn't support DPO or FUA
    [ 6.230732] sda: sda1 sda2 sda3
    [ 6.251643] sd 2:0:0:0: [sda] Attached SCSI disk
    [ 6.264570] hdc: ATAPI 48X DVD-ROM drive, 512kB Cache
    [ 6.264701] Uniform CD-ROM driver Revision: 3.20
    [ 6.269882] hdd: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
    [ 6.468128] PM: Starting manual resume from disk
    [ 6.530949] kjournald starting. Commit interval 5 seconds
    [ 6.530949] EXT3-fs: mounted filesystem with ordered data mode.
    [ 8.294451] udevd version 125 started
    [ 9.359963] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x4c00
    [ 9.360051] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x4c40
    [ 9.587720] input: Power Button (FF) as /class/input/input2
    [ 9.619144] ACPI: Power Button (FF) [PWRF]
    [ 9.619266] input: Power Button (CM) as /class/input/input3
    [ 9.645035] ACPI: Power Button (CM) [PWRB]
    [ 10.797625] ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
    [ 10.797674] ACPI: PCI Interrupt 0000:05:06.0[A] -> Link [APC1] ->
    GSI 16 (level, low) -> IRQ 16
    [ 10.809649] phy0: Selected rate control algorithm 'pid'
    [ 11.126851] input: PC Speaker as /class/input/input4
    [ 11.361546] Registered led device: rt2500pci-phy0:radio
    [ 11.541390] Error: Driver 'pcspkr' is already registered, aborting...
    [ 11.701098] ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 22
    [ 11.701143] ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [APCJ] ->
    GSI 22 (level, low) -> IRQ 22
    [ 11.701257] PCI: Setting latency timer of device 0000:00:04.0 to 64
    [ 11.733940] pnp: the driver 'ns558' has been registered
    [ 11.733979] ns558 00:0d: driver attached
    [ 11.757978] gameport: NS558 PnP Gameport is pnp00:0d/gameport0, io
    0x201, speed 893kHz
    [ 12.024007] intel8x0_measure_ac97_clock: measured 54659 usecs
    [ 12.024051] intel8x0: clocking to 46885
    [ 12.090068] input: ImPS/2 Generic Wheel Mouse as /class/input/input5
    [ 12.121008] pnp: the driver 'parport_pc' has been registered
    [ 12.121030] parport_pc 00:09: reported by Plug and Play ACPI
    [ 12.121120] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
    [ 12.122444] pnp: the driver 'mpu401' has been registered
    [ 12.216075] parport_pc 00:09: driver attached
    [ 12.217218] mpu401 00:0c: driver attached
    [ 13.560015] EXT3 FS on sda1, internal journal
    [ 14.451357] ide_generic: please use "probe_mask=0x3f" module
    parameter for probing all legacy ISA IDE ports
    [ 14.451420] ide_generic: I/O resource 0x1F0-0x1F7 not free.
    [ 14.451460] ide_generic: I/O resource 0x170-0x177 not free.
    [ 14.540158] powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3000+
    processors (1 cpu cores) (version 2.20.00)
    [ 14.540245] powernow-k8: 0 : fid 0xa (1800 MHz), vid 0x6
    [ 14.540284] powernow-k8: 1 : fid 0x2 (1000 MHz), vid 0x12
    [ 14.609948] device-mapper: uevent: version 1.0.3
    [ 14.611438] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18)
    initialised: dm-devel@redhat.com
    [ 14.863013] fuse init (API version 7.9)
    [ 15.100002] kjournald starting. Commit interval 5 seconds
    [ 15.100002] EXT3 FS on sda3, internal journal
    [ 15.100002] EXT3-fs: mounted filesystem with ordered data mode.
    [ 16.186683] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 16.229417] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
    [ 17.286353] NET: Registered protocol family 10
    [ 17.287196] lo: Disabled Privacy Extensions
    [ 21.064650] RPC: Registered udp transport module.
    [ 21.064703] RPC: Registered tcp transport module.
    [ 21.252364] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [ 24.468216] Marking TSC unstable due to cpufreq changes
    [ 24.709362] lp0: using parport0 (interrupt-driven).
    [ 24.752360] ppdev: user-space parallel port driver
    [ 24.828017] Clocksource tsc unstable (delta = -161371248 ns)
    [ 28.100014] eth0: no IPv6 routers present
    [ 30.685624] warning: `avahi-daemon' uses 32-bit capabilities
    (legacy support in use)
    [ 38.188130] nvidia: module license 'NVIDIA' taints kernel.
    [ 38.453600] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
    [ 38.453609] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [APC3] ->
    GSI 18 (level, low) -> IRQ 18
    [ 38.453617] PCI: Setting latency timer of device 0000:01:00.0 to 64
    [ 38.453757] NVRM: loading NVIDIA UNIX x86_64 Kernel Module
    173.14.12 Thu Jul 17 18:10:24 PDT 2008

    ** Loaded modules:
    Module Size Used by
    nvidia 8104816 18
    binfmt_misc 13580 1
    ppdev 11656 0
    lp 14724 0
    video 24084 0
    output 7808 1 video
    ac 9352 0
    battery 16904 0
    cpufreq_powersave 6400 0
    cpufreq_ondemand 11792 1
    cpufreq_conservative 11784 0
    cpufreq_stats 9120 0
    nfsd 248360 4
    auth_rpcgss 47520 1 nfsd
    exportfs 8704 1 nfsd
    nfs 251696 0
    lockd 68560 2 nfsd,nfs
    nfs_acl 7552 2 nfsd,nfs
    sunrpc 197480 9 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
    ipv6 288328 20
    ipt_REJECT 7552 1
    xt_tcpudp 7680 6
    xt_state 6656 1
    iptable_nat 9872 0
    nf_nat 23192 1 iptable_nat
    nf_conntrack_ipv4 19352 4 iptable_nat,nf_nat
    nf_conntrack 71440 4 xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
    iptable_filter 7424 1
    ip_tables 21520 2 iptable_nat,iptable_filter
    x_tables 25224 5
    ipt_REJECT,xt_tcpudp,xt_state,iptable_nat,ip_table s
    fuse 53184 3
    dm_snapshot 19400 0
    dm_mirror 20608 0
    dm_log 13956 1 dm_mirror
    dm_mod 58864 3 dm_snapshot,dm_mirror,dm_log
    powernow_k8 17156 0
    freq_table 9344 3 cpufreq_ondemand,cpufreq_stats,powernow_k8
    cpufreq_userspace 8452 0
    ide_generic 7168 0 [permanent]
    ide_disk 16512 0
    snd_mpu401 12072 0
    ns558 8704 0
    snd_mpu401_uart 11776 1 snd_mpu401
    gameport 17040 2 ns558
    snd_intel8x0 36008 3
    parport_pc 31016 1
    parport 41776 3 ppdev,lp,parport_pc
    snd_ac97_codec 115416 1 snd_intel8x0
    ac97_bus 6272 1 snd_ac97_codec
    snd_pcm_oss 41760 0
    snd_mixer_oss 18816 2 snd_pcm_oss
    arc4 6272 2
    snd_pcm 81800 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    ecb 7296 2
    crypto_blkcipher 21636 1 ecb
    psmouse 42268 0
    pcspkr 7040 0
    serio_raw 9860 0
    k8temp 9216 0
    snd_seq_dummy 7428 0
    rt2500pci 23168 0
    rt2x00pci 13056 1 rt2500pci
    rt2x00lib 30208 2 rt2500pci,rt2x00pci
    firmware_class 12544 1 rt2x00lib
    snd_seq_oss 33152 0
    rfkill 11168 1 rt2x00lib
    led_class 8968 1 rt2x00lib
    snd_seq_midi 11072 0
    input_polldev 8720 1 rt2x00lib
    mac80211 162864 2 rt2x00pci,rt2x00lib
    snd_rawmidi 26784 2 snd_mpu401_uart,snd_seq_midi
    snd_seq_midi_event 11904 2 snd_seq_oss,snd_seq_midi
    cfg80211 30224 2 rt2x00lib,mac80211
    snd_seq 54304 6
    snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    eeprom_93cx6 6784 1 rt2500pci
    snd_timer 25744 3 snd_pcm,snd_seq
    snd_seq_device 11668 5
    snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    snd 63688 14
    snd_mpu401,snd_mpu401_uart,snd_intel8x0,snd_ac97_c odec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss ,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    soundcore 12064 2 snd
    snd_page_alloc 13072 2 snd_intel8x0,snd_pcm
    button 11680 0
    i2c_nforce2 10752 0
    i2c_core 27936 2 nvidia,i2c_nforce2
    evdev 14208 3
    ext3 124688 2
    jbd 51240 1 ext3
    mbcache 12804 1 ext3
    ide_cd_mod 36360 0
    cdrom 37928 1 ide_cd_mod
    sd_mod 29376 4
    ata_generic 10116 0
    amd74xx 13448 0 [permanent]
    sata_nv 27528 3
    libata 165472 2 ata_generic,sata_nv
    scsi_mod 160760 2 sd_mod,libata
    dock 14112 1 libata
    floppy 61672 0
    forcedeth 54032 0
    ide_pci_generic 9220 0 [permanent]
    ide_core 128284 5
    ide_generic,ide_disk,ide_cd_mod,amd74xx,ide_pci_ge neric
    ehci_hcd 36108 0
    ohci_hcd 25092 0
    thermal 22688 0
    processor 42304 2 powernow_k8,thermal
    fan 9352 0
    thermal_sys 17728 4 video,thermal,processor,fan

    ** PCI devices:
    00:00.0 Memory controller [0580]: nVidia Corporation CK804 Memory
    Controller [10de:005e] (rev a3)
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0
    Capabilities:

    00:01.0 ISA bridge [0601]: nVidia Corporation CK804 ISA Bridge
    [10de:0050] (rev a3)
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0

    00:01.1 SMBus [0c05]: nVidia Corporation CK804 SMBus [10de:0052] (rev a2)
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Interrupt: pin A routed to IRQ 3
    Region 0: I/O ports at e400 [size=32]
    Region 4: I/O ports at 4c00 [size=64]
    Region 5: I/O ports at 4c40 [size=64]
    Capabilities:
    Kernel driver in use: nForce2_smbus
    Kernel modules: i2c-nforce2

    00:02.0 USB Controller [0c03]: nVidia Corporation CK804 USB Controller
    [10de:005a] (rev a2) (prog-if 10)
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0 (750ns min, 250ns max)
    Interrupt: pin A routed to IRQ 23
    Region 0: Memory at d8104000 (32-bit, non-prefetchable) [size=4K]
    Capabilities:
    Kernel driver in use: ohci_hcd
    Kernel modules: ohci-hcd

    00:02.1 USB Controller [0c03]: nVidia Corporation CK804 USB Controller
    [10de:005b] (rev a3) (prog-if 20)
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0 (750ns min, 250ns max)
    Interrupt: pin B routed to IRQ 22
    Region 0: Memory at feb00000 (32-bit, non-prefetchable) [size=256]
    Capabilities:
    Kernel driver in use: ehci_hcd
    Kernel modules: ehci-hcd

    00:04.0 Multimedia audio controller [0401]: nVidia Corporation CK804
    AC'97 Audio Controller [10de:0059] (rev a2)
    Subsystem: ASUSTeK Computer Inc. Device [1043:812a]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0 (500ns min, 1250ns max)
    Interrupt: pin A routed to IRQ 22
    Region 0: I/O ports at dc00 [size=256]
    Region 1: I/O ports at e000 [size=256]
    Region 2: Memory at d8103000 (32-bit, non-prefetchable) [size=4K]
    Capabilities:
    Kernel driver in use: Intel ICH
    Kernel modules: snd-intel8x0

    00:06.0 IDE interface [0101]: nVidia Corporation CK804 IDE [10de:0053]
    (rev f2) (prog-if 8a [Master SecP PriP])
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0 (750ns min, 250ns max)
    Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable)
    [disabled] [size=8]
    Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable)
    [disabled] [size=1]
    Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable)
    [disabled] [size=8]
    Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
    [disabled] [size=1]
    Region 4: I/O ports at f000 [size=16]
    Capabilities:
    Kernel driver in use: AMD_IDE
    Kernel modules: ata_generic, ide-pci-generic, amd74xx

    00:07.0 IDE interface [0101]: nVidia Corporation CK804 Serial ATA
    Controller [10de:0054] (rev f3) (prog-if 85 [Master SecO PriO])
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0 (750ns min, 250ns max)
    Interrupt: pin A routed to IRQ 20
    Region 0: I/O ports at 09f0 [size=8]
    Region 1: I/O ports at 0bf0 [size=4]
    Region 2: I/O ports at 0970 [size=8]
    Region 3: I/O ports at 0b70 [size=4]
    Region 4: I/O ports at d800 [size=16]
    Region 5: Memory at d8102000 (32-bit, non-prefetchable) [size=4K]
    Capabilities:
    Kernel driver in use: sata_nv
    Kernel modules: sata_nv, ata_generic, ide-pci-generic

    00:08.0 IDE interface [0101]: nVidia Corporation CK804 Serial ATA
    Controller [10de:0055] (rev f3) (prog-if 85 [Master SecO PriO])
    Subsystem: ASUSTeK Computer Inc. Device [1043:815a]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0 (750ns min, 250ns max)
    Interrupt: pin A routed to IRQ 23
    Region 0: I/O ports at 09e0 [size=8]
    Region 1: I/O ports at 0be0 [size=4]
    Region 2: I/O ports at 0960 [size=8]
    Region 3: I/O ports at 0b60 [size=4]
    Region 4: I/O ports at c400 [size=16]
    Region 5: Memory at d8101000 (32-bit, non-prefetchable) [size=4K]
    Capabilities:
    Kernel driver in use: sata_nv
    Kernel modules: sata_nv, ata_generic, ide-pci-generic

    00:09.0 PCI bridge [0604]: nVidia Corporation CK804 PCI Bridge
    [10de:005c] (rev a2) (prog-if 01)
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=128
    Memory behind bridge: d8000000-d80fffff
    Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
    PriDiscTmr- SecDiscTmr+ DiscTmrStat- DiscTmrSERREn-

    00:0a.0 Bridge [0680]: nVidia Corporation CK804 Ethernet Controller
    [10de:0057] (rev a3)
    Subsystem: ASUSTeK Computer Inc. Device [1043:8141]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0 (250ns min, 5000ns max)
    Interrupt: pin A routed to IRQ 21
    Region 0: Memory at d8100000 (32-bit, non-prefetchable) [size=4K]
    Region 1: I/O ports at b000 [size=8]
    Capabilities:
    Kernel driver in use: forcedeth
    Kernel modules: forcedeth

    00:0b.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
    [10de:005d] (rev a3)
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0, Cache Line Size: 32 bytes
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
    BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
    PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities:
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp

    00:0c.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
    [10de:005d] (rev a3)
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0, Cache Line Size: 32 bytes
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
    BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
    PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities:
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp

    00:0d.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
    [10de:005d] (rev a3)
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0, Cache Line Size: 32 bytes
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
    BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
    PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities:
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp

    00:0e.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
    [10de:005d] (rev a3)
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0, Cache Line Size: 32 bytes
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Memory behind bridge: d0000000-d7ffffff
    Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
    BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
    PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities:
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp

    00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8
    [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR- Capabilities:

    00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8
    [Athlon64/Opteron] Address Map [1022:1101]
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR-
    00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8
    [Athlon64/Opteron] DRAM Controller [1022:1102]
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR-
    00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8
    [Athlon64/Opteron] Miscellaneous Control [1022:1103]
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR- Kernel driver in use: k8temp
    Kernel modules: k8temp

    01:00.0 VGA compatible controller [0300]: nVidia Corporation NV43
    [GeForce 6600] [10de:0141] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:3124]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    SERR- Latency: 0
    Interrupt: pin A routed to IRQ 18
    Region 0: Memory at d0000000 (32-bit, non-prefetchable) [size=64M]
    Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at d4000000 (64-bit, non-prefetchable) [size=16M]
    [virtual] Expansion ROM at d5000000 [disabled] [size=128K]
    Capabilities:
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nvidia

    05:06.0 Network controller [0280]: RaLink RT2500 802.11g
    Cardbus/mini-PCI [1814:0201] (rev 01)
    Subsystem: CNet Technology Inc Device [1371:0020]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
    Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
    SERR- Latency: 32, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at d8000000 (32-bit, non-prefetchable) [size=8K]
    Capabilities:
    Kernel driver in use: rt2500pci
    Kernel modules: rt2500pci



    -- System Information:
    Debian Release: lenny/sid
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: amd64 (x86_64)

    Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/dash

    Versions of packages linux-image-2.6.26-1-amd64 depends on:
    ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
    ii initramfs-tools [linux-initra 0.92j tools for generating an initramfs
    ii module-init-tools 3.4-1 tools for managing Linux kernel mo

    linux-image-2.6.26-1-amd64 recommends no packages.

    Versions of packages linux-image-2.6.26-1-amd64 suggests:
    ii grub-pc [grub] 1.96+20080724-10 GRand Unified Bootloader, version
    pn linux-doc-2.6.26 (no description available)

    -- debconf information:
    linux-image-2.6.26-1-amd64/preinst/bootloader-initrd-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/postinst/old-initrd-link-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/postinst/old-system-map-link-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/preinst/overwriting-modules-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/preinst/lilo-initrd-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/prerm/removing-running-kernel-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/prerm/would-invalidate-boot-loader-2.6.26-1-amd64:
    true
    linux-image-2.6.26-1-amd64/postinst/bootloader-test-error-2.6.26-1-amd64:
    linux-image-2.6.26-1-amd64/preinst/lilo-has-ramdisk:
    linux-image-2.6.26-1-amd64/postinst/old-dir-initrd-link-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/preinst/failed-to-move-modules-2.6.26-1-amd64:
    linux-image-2.6.26-1-amd64/postinst/create-kimage-link-2.6.26-1-amd64: true
    shared/kernel-image/really-run-bootloader: true
    linux-image-2.6.26-1-amd64/postinst/kimage-is-a-directory:
    linux-image-2.6.26-1-amd64/preinst/initrd-2.6.26-1-amd64:
    linux-image-2.6.26-1-amd64/postinst/depmod-error-initrd-2.6.26-1-amd64: false
    linux-image-2.6.26-1-amd64/preinst/elilo-initrd-2.6.26-1-amd64: true
    linux-image-2.6.26-1-amd64/postinst/bootloader-error-2.6.26-1-amd64:
    linux-image-2.6.26-1-amd64/preinst/abort-install-2.6.26-1-amd64:
    linux-image-2.6.26-1-amd64/postinst/depmod-error-2.6.26-1-amd64: false
    linux-image-2.6.26-1-amd64/preinst/abort-overwrite-2.6.26-1-amd64:

    *** /tmp/reinstall.log
    # aptitude reinstall linux-image-2.6.26-1-amd64
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done
    The following packages will be REINSTALLED:
    linux-image-2.6.26-1-amd64
    0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and
    0 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Writing extended state information... Done
    Setting up linux-image-2.6.26-1-amd64 (2.6.26-5) ...
    Running depmod.
    Running mkinitramfs-kpkg.
    Not updating initrd symbolic links since we are being updated/reinstalled
    (2.6.26-5 was configured last, according to dpkg)
    Not updating image symbolic links since we are being updated/reinstalled
    (2.6.26-5 was configured last, according to dpkg)
    Running postinst hook script /sbin/update-grub.
    User postinst hook script [/sbin/update-grub] failed to execute: No
    such file or directory
    dpkg: error processing linux-image-2.6.26-1-amd64 (--configure):
    subprocess post-installation script returned error exit status 255
    Errors were encountered while processing:
    linux-image-2.6.26-1-amd64
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up linux-image-2.6.26-1-amd64 (2.6.26-5) ...
    Running depmod.
    Running mkinitramfs-kpkg.
    Not updating initrd symbolic links since we are being updated/reinstalled
    (2.6.26-5 was configured last, according to dpkg)
    Not updating image symbolic links since we are being updated/reinstalled
    (2.6.26-5 was configured last, according to dpkg)
    Running postinst hook script /sbin/update-grub.
    User postinst hook script [/sbin/update-grub] failed to execute: No
    such file or directory
    dpkg: error processing linux-image-2.6.26-1-amd64 (--configure):
    subprocess post-installation script returned error exit status 255
    Errors were encountered while processing:
    linux-image-2.6.26-1-amd64
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#500631: linux-image-2.6.26-1-amd64: Fails in postinst with grub2: no such file /sbin/update-grub

    reassign 500631 grub-pc
    thanks

    On Mon, Sep 29, 2008 at 11:10:02PM +0200, Naha wrote:
    > Package: linux-image-2.6.26-1-amd64
    > Version: 2.6.26-5
    > Severity: important
    >
    >
    > With grub-pc, /sbin/update-grub does not exist any more, but it seems
    > that the postinst script need it (see the reinstall log at the end of
    > this mail). Fixed by symlinking /usr/sbin/update-grub to
    > /sbin/update-grub.


    update-grub is call indirectly by the linux-image postinst, by way of
    the hooks in /etc/kernel-img.conf. These hooks are neither configured
    by nor maintained by the linux-image packages.

    /sbin/update-grub is marked as deprecated even in the 'grub' package
    (there's a NEWS.Debian file to warn users), so I suspect the answer is
    that users need to manually update their kernel-img.conf files. But,
    I'll reassign to grub-pc in case its maintainers have anything else
    to add.

    --
    dann frazier




    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread