On Tue, Feb 8, 2011 at 4:04 PM, Carsten Aulbert <carsten.aulb...@aei.mpg.de> wrote: > Hi > > On Tuesday 08 February 2011 11:29:00 Tapas Mishra wrote: >> >> I have searched this problem but I am not able to understand what to >> do in this situation. > > I think to find out you need to generate the "correct" error message. > > List of questions: Ok thanks for pointing these out
> (1) What apt sources are you using? (/etc/apt/sources.list plus possibly > anything under /etc/apt/sources.list.d) To be able to have this message readable I posted the output here or sources.list http://paste.ubuntu.com/564379/ my sources.list.d file is blank > (2) What did you do to get into this situation? I do an aptitude safe-upgrade (which should just install the latest packages of same release I do not want to change version of OS) > (3) do you see anything in the files under /var/log indicating what's wrong? I notice in daemon.log 15:41:19 mountd[1506]: Caught signal 15, un-registering and exiting. Feb 6 00:04:03 init: ssh main process (17340) terminated with status 255 Feb 8 15:54:27 dnsmasq[13683]: started, version 2.52 cachesize 150 Feb 8 15:54:27 dnsmasq[13683]: compile time options: IPv6 GNU-getopt DBus I18N DHCP TFTP Feb 8 15:54:27 dnsmasq-dhcp[13683]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h Feb 8 15:54:27 dnsmasq[13683]: failed to access /etc/resolv.conf: Permission denied Feb 8 15:54:27 dnsmasq[13683]: failed to load names from /etc/hosts: Permission denied Feb 8 15:54:30 init: eucalyptus-nc main process ended, respawning Feb 8 17:38:32 init: last message repeated 29 times Feb 8 17:39:32 init: last message repeated 29 times Feb 8 17:40:32 init: last message repeated 29 times Feb 8 17:41:32 init: last message repeated 29 times Feb 8 17:42:32 init: last message repeated 29 times Feb 8 17:43:32 init: last message repeated 29 times Feb 8 17:44:32 init: last message repeated 29 times Feb 8 17:45:32 init: last message repeated 29 times Feb 8 17:46:32 init: last message repeated 29 times Feb 8 17:47:33 init: last message repeated 29 times Feb 8 17:48:33 init: last message repeated 30 times Feb 8 17:49:33 init: last message repeated 29 times Feb 8 17:50:33 init: last message repeated 29 times Feb 8 17:51:33 init: last message repeated 29 times in /var/log/cron-apt/log CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/binary-amd64/Packages.bz2 Hash Sum mismatch W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/source/Sources.bz2 Hash Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead. and a file /var/log/apt/history.log Start-Date: 2011-02-08 15:08:37 Install: linux-image-2.6.32-28-server (2.6.32-28.55) Upgrade: linux-server (2.6.32.21.22, 2.6.32.28.32), smbfs (3.4.7~dfsg-1ubuntu3.2, 3.4.7~dfsg-1ubuntu3.3), at (3.1.11-1ubuntu5, 3.1.11-1ubuntu5.1), libwbclient0 (3.4.7~dfsg-1ubuntu3.2, 3.4.7~dfsg-1ubuntu3.3), icedtea-6-jre-cacao (6b18-1.8-0ubuntu1, 6b20-1.9.5-0ubuntu1~10.04.1), openjdk-6-jre-headless (6b18-1.8-0ubuntu1, 6b20-1.9.5-0ubuntu1~10.04.1), linux-firmware (1.34, 1.34.3), samba-common (3.4.7~dfsg-1ubuntu3.2, 3.4.7~dfsg-1ubuntu3.3), samba (3.4.7~dfsg-1ubuntu3.2, 3.4.7~dfsg-1ubuntu3.3), linux-image-server (2.6.32.21.22, 2.6.32.28.32), samba-common-bin (3.4.7~dfsg-1ubuntu3.2, 3.4.7~dfsg-1ubuntu3.3) Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2011-02-08 15:10:19 Start-Date: 2011-02-08 15:17:25 Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2011-02-08 15:17:44 Start-Date: 2011-02-08 15:18:15 Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2011-02-08 15:18:34 Start-Date: 2011-02-08 15:25:19 Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2011-02-08 15:25:38 > (4) what is 'dpkg --configure -a' complaining about? here is the output of above command Setting up dbus (1.2.16-2ubuntu4.1) ... The system user `messagebus' already exists. Exiting. Setting up grub-pc (1.98-1ubuntu10) ... Setting up linux-image-2.6.32-28-server (2.6.32-28.55) ... Failed to open connection to "system" message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. dpkg: error processing dbus (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of hal: hal depends on dbus (>= 0.61); however: Package dbus is not configured yet. dpkg: error processing hal (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libvirt-bin: libvirt-bin depends on hal; however: Package hal is not configured yet. dpkg: error processing libvirt-bin (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of udisks: udisks depends on dbus; however: Package dbus is not configured yet. dpkg: error processing udisks (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of consolekit: consolekit depends on dbus (>= 1.1.2); however: Package dbus is not configured yet. dpkg: error processing consolekit (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of dbus-x11: dbus-x11 depends on dbus; however: Package dbus is not configured yet. dpkg: error processing dbus-x11 (--configure): dependency problems - leaving unconfigured Installation finished. No error reported. Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.32-28-server Found initrd image: /boot/initrd.img-2.6.32-28-server Found linux image: /boot/vmlinuz-2.6.32-21-server Found initrd image: /boot/initrd.img-2.6.32-21-server Found memtest86+ image: /boot/memtest86+.bin File descriptor 3 (pipe:[15705517]) leaked on lvs invocation. Parent PID 2110: /bin/sh /etc/grub.d/README: 2: All: not found /etc/grub.d/README: 4: 00_*:: not found /etc/grub.d/README: 5: 10_*:: not found /etc/grub.d/README: 6: Syntax error: "(" unexpected dpkg: error processing grub-pc (--configure): subprocess installed post-installation script returned error exit status 2 Running depmod. update-initramfs: Generating /boot/initrd.img-2.6.32-28-server Running postinst hook script /usr/sbin/update-grub. Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.32-28-server Found initrd image: /boot/initrd.img-2.6.32-28-server Found linux image: /boot/vmlinuz-2.6.32-21-server Found initrd image: /boot/initrd.img-2.6.32-21-server Found memtest86+ image: /boot/memtest86+.bin /etc/grub.d/README: 2: All: not found /etc/grub.d/README: 4: 00_*:: not found /etc/grub.d/README: 5: 10_*:: not found /etc/grub.d/README: 6: Syntax error: "(" unexpected User postinst hook script [/usr/sbin/update-grub] exited with value 2 dpkg: error processing linux-image-2.6.32-28-server (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of avahi-daemon: avahi-daemon depends on dbus (>= 1.2.16-0ubuntu3); however: Package dbus is not configured yet. dpkg: error processing avahi-daemon (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of uec-component-listener: uec-component-listener depends on avahi-daemon; however: Package avahi-daemon is not configured yet. dpkg: error processing uec-component-listener (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of avahi-utils: avahi-utils depends on avahi-daemon; however: Package avahi-daemon is not configured yet. dpkg: error processing avahi-utils (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-common: eucalyptus-common depends on avahi-utils; however: Package avahi-utils is not configured yet. dpkg: error processing eucalyptus-common (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-java-common: eucalyptus-java-common depends on eucalyptus-common; however: Package eucalyptus-common is not configured yet. dpkg: error processing eucalyptus-java-common (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-keyring: gnome-keyring depends on dbus-x11; however: Package dbus-x11 is not configured yet. dpkg: error processing gnome-keyring (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-walrus: eucalyptus-walrus depends on eucalyptus-common; however: Package eucalyptus-common is not configured yet. eucalyptus-walrus depends on eucalyptus-java-common; however: Package eucalyptus-java-common is not configured yet. dpkg: error processing eucalyptus-walrus (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-nc: eucalyptus-nc depends on eucalyptus-common; however: Package eucalyptus-common is not configured yet. eucalyptus-nc depends on libvirt-bin (>= 0.7.2-4ubuntu5); however: Package libvirt-bin is not configured yet. dpkg: error processing eucalyptus-nc (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-gl: eucalyptus-gl depends on eucalyptus-common; however: Package eucalyptus-common is not configured yet. dpkg: error processing eucalyptus-gl (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-cc: eucalyptus-cc depends on eucalyptus-common; however: Package eucalyptus-common is not configured yet. eucalyptus-cc depends on eucalyptus-gl; however: Package eucalyptus-gl is not configured yet. eucalyptus-cc depends on uec-component-listener; however: Package uec-component-listener is not configured yet. dpkg: error processing eucalyptus-cc (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-cloud: eucalyptus-cloud depends on eucalyptus-common; however: Package eucalyptus-common is not configured yet. eucalyptus-cloud depends on uec-component-listener; however: Package uec-component-listener is not configured yet. eucalyptus-cloud depends on eucalyptus-java-common; however: Package eucalyptus-java-common is not configured yet. dpkg: error processing eucalyptus-cloud (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-server: linux-image-server depends on linux-image-2.6.32-28-server; however: Package linux-image-2.6.32-28-server is not configured yet. dpkg: error processing linux-image-server (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-server: linux-server depends on linux-image-server (= 2.6.32.28.32); however: Package linux-image-server is not configured yet. dpkg: error processing linux-server (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of eucalyptus-sc: eucalyptus-sc depends on eucalyptus-common; however: Package eucalyptus-common is not configured yet. eucalyptus-sc depends on eucalyptus-java-common; however: Package eucalyptus-java-common is not configured yet. dpkg: error processing eucalyptus-sc (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: dbus hal libvirt-bin udisks consolekit dbus-x11 grub-pc linux-image-2.6.32-28-server avahi-daemon uec-component-listener avahi-utils eucalyptus-common eucalyptus-java-common gnome-keyring eucalyptus-walrus eucalyptus-nc eucalyptus-gl eucalyptus-cc eucalyptus-cloud linux-image-server linux-server eucalyptus-sc > Michael, did I miss anything obvious? -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam