ubuntu 10.04.2 LTS hangs after dist-upgrade ( i get some apt errors )

Asked by Venugopal

Hi,

we have a ubuntu 10.04.2 LTS box which needs patch & security updates. Initiated apt-get update & apt-get -V upgrade, there was an error regarding x11-common package. Otherwise upgrade reported no more errors. But the machine hangs during reboot at the network-setup stage.

Can someone provide pointers on this.

Regards,
Venugopal

-------------------------------------------
ubuntu@jird-dev:~$ sudo apt-get -V upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
.
.

Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  facter libfreetype6 initramfs-tools libdrm2 libdrm-radeon1 libjs-jquery libwbclient0 libxfont1 linux-libc-dev memtest86+ x11-common
  nagios-plugins-standard nagios-plugins
Install these packages without verification [y/N]? y
.
.
Preconfiguring packages ...
x11-common Template parse error: Template parse error near `<email address hidden>: Samo glavni korisnik, Samo za korisnike konzole, Svako', in stanza #1 of /tmp/x11-common.template.128082
.
.
Processing triggers for python-central ...
Errors were encountered while processing:
 x11-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
--------------------------------------------------------

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
zvacet
Solved:
Last query:
Last reply:
Revision history for this message
zvacet (ivicakolic) said :
#1

sudo dpkg --configure -a

Revision history for this message
Venugopal (venu-jakkina) said :
#2

Hi, I tried with the command, it gives the same error while processing x11-package.
-------------------------------
x11-common Template parse error: Template parse error near `<email address hidden>: Samo glavni korisnik, Samo za korisnike konzole, Svako', in stanza #1 of /tmp/x11-common.template.128082
------------------------------

 x11 isnt important for server, so I just moved the template file & got rid of this error. But the server still hangs upon reboot and below is the message on console & it hangs for ever.

----------------------------------------------
Kernel panic - not syncing: VFS: Unable to mount root fs wn-block(0,0)

--------------------------------------------

Revision history for this message
Venugopal (venu-jakkina) said :
#3

apt-get update gave some errors, could this be the actual problem?

------------------------------------------------------------------------
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C6635D3CAFF68B78
W: GPG error: http://backports.debian.org squeeze-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
------------------------------------------------------------------------

Revision history for this message
Best zvacet (ivicakolic) said :
#4

sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com C6635D3CAFF68B78

sudo apt-get update

I believe that Debian repo can make you trouble.It will be better if you can find somewhere else packages you are receiving from that repo.

Revision history for this message
Venugopal (venu-jakkina) said :
#5

Hi, You are right. The debian backports repo caused the issue by pulling initramfs-tools package. Somehow unvalidated package initramfs-tools (0.92bubuntu78 => 0.99~bpo60+1) was selected by default & it broke the system. After reverting this to old version, machine is working fine.

Thanks to all who helped.

Revision history for this message
Venugopal (venu-jakkina) said :
#6

Thanks zvacet, that solved my question.