Find the answer to your Linux question:
Results 1 to 3 of 3
Ok i updated using the update manager, after of which i started having problems. everytime i run sudo apt-get install packagename i always get: Setting up linux-image-2.6.27-7-generic (2.6.27-7.16) ... Running ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    47

    crash

    Ok i updated using the update manager, after of which i started having problems.
    everytime i run sudo apt-get install packagename i always get:

    Setting up linux-image-2.6.27-7-generic (2.6.27-7.16) ...
    Running depmod.
    Failed to run depmod
    dpkg: error processing linux-image-2.6.27-7-generic (--configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    linux-image-2.6.27-7-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    it doesnt matter what i try to install. and if i run depmod -a it gives me a bus error and drops back to the command line. if i boot up to the other kernel i get the same error but linux-image-2.6.27-9-generic in place of 7.

    i get a crash report saying: Sorry, The package "linux-image-2.6.27-7-generic 2.6.27-7.16" failed to install or upgrade.

    followed right after by another crash report with the same sorry message but with the package name of the package i was installing. Ive done sudo apt-get update, and

    Here is my menu.lst

    title Ubuntu 8.10, kernel 2.6.27-9-generic
    uuid c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3
    kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3 ro quiet splash
    initrd /boot/initrd.img-2.6.27-9-generic
    quiet

    title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
    uuid c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3
    kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3 ro single
    initrd /boot/initrd.img-2.6.27-9-generic

    title Ubuntu 8.10, kernel 2.6.27-7-generic
    uuid c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3
    kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3 ro quiet splash
    initrd /boot/initrd.img-2.6.27-7-generic
    quiet

    title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
    uuid c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3
    kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3 ro single
    initrd /boot/initrd.img-2.6.27-7-generic

    title Ubuntu 8.10, memtest86+
    uuid c6aa04dd-7db4-4120-aa95-9dc6f7ed1eb3
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title Windows NT/2000/XP (loader)
    root (hd0,0)
    savedefault
    chainloader +1

    more logs:

    kr0nik@xibalba:~$ tail /var/log/kern.log
    Jan 29 12:37:37 xibalba kernel: [ 2297.205750] end_request: I/O error, dev sda, sector 292053753
    Jan 29 12:37:37 xibalba kernel: [ 2297.205796] ata1: EH complete
    Jan 29 12:37:37 xibalba kernel: [ 2297.208800] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
    Jan 29 12:37:37 xibalba kernel: [ 2297.211077] sd 0:0:0:0: [sda] Write Protect is off
    Jan 29 12:37:37 xibalba kernel: [ 2297.211085] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    Jan 29 12:37:37 xibalba kernel: [ 2297.213948] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    Jan 29 12:37:37 xibalba kernel: [ 2297.217205] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
    Jan 29 12:37:37 xibalba kernel: [ 2297.218599] sd 0:0:0:0: [sda] Write Protect is off
    Jan 29 12:37:37 xibalba kernel: [ 2297.218606] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    Jan 29 12:37:37 xibalba kernel: [ 2297.241631] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

    kr0nik@xibalba:~$ tail /var/log/messages
    Jan 29 12:37:36 xibalba kernel: [ 2297.205695] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
    Jan 29 12:37:36 xibalba kernel: [ 2297.205721] 11 68 62 f9
    Jan 29 12:37:37 xibalba kernel: [ 2297.205733] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
    Jan 29 12:37:37 xibalba kernel: [ 2297.205796] ata1: EH complete
    Jan 29 12:37:37 xibalba kernel: [ 2297.208800] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
    Jan 29 12:37:37 xibalba kernel: [ 2297.211077] sd 0:0:0:0: [sda] Write Protect is off
    Jan 29 12:37:37 xibalba kernel: [ 2297.213948] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    Jan 29 12:37:37 xibalba kernel: [ 2297.217205] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
    Jan 29 12:37:37 xibalba kernel: [ 2297.218599] sd 0:0:0:0: [sda] Write Protect is off
    Jan 29 12:37:37 xibalba kernel: [ 2297.241631] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

    kr0nik@xibalba:/var/log$ tail dmesg
    [ 17.071853] ndiswrapper: using IRQ 17
    [ 17.405889] wlan0: ethernet device 00:1a:73:4a:df:23 using NDIS driver: netmw14x, version: 0x2010403, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 11AB:2A08.5.conf
    [ 17.405915] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
    [ 17.407224] usbcore: registered new interface driver ndiswrapper
    [ 17.561936] Adding 257000k swap on /dev/sda5. Priority:-1 extents:1 across:257000k
    [ 18.112856] EXT3 FS on sda2, internal journal
    [ 19.284690] type=1505 audit(1233255580.594:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=4021
    [ 19.536248] type=1505 audit(1233255580.846:3): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=4026
    [ 19.536527] type=1505 audit(1233255580.846:4): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=4026
    [ 19.753325] ip_tables: (C) 2000-2006 Netfilter Core Team

    and synaptic package manager doesnt show any broken packages.

  2. #2
    Just Joined!
    Join Date
    Jan 2009
    Location
    holland
    Posts
    12
    Hi am stil a newbie and am tired now to its 3:41 am here but Crash word always irritates me so i go look and the thirst thing that bumped into my head was compile the map with driver to ur linux file system to rpm or whatever it needs to see the files and try again, asuming u run Debian than compile to debian filesystem before instal, ...stil newbie here so its optional,if all sources run out u could try this idea

    p.s. write protect off meens ur working in root access wich is "good" when installing ,if am talking ******** now the experts can say that here cause am not allknowing but easily said wrong package i think..stil newbie here just trying to help.

    p.s.2 or maby an combination of wrong package and directory ,and i see Debian has made an dual boot wich is basically good or else u could not boot into another OS.
    Last edited by vastvet; 01-30-2009 at 01:53 AM. Reason: not sure ofmyyself help

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    47
    ubuntu, and its an ext3 filesystem. nothing is wrong with it. was a clean format and install

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...