Help - Search - Members - Calendar
Full Version: Ubuntu server won't update
Neowin Forums > *nix Customization & Support > Linux Server/BSD/Unix
MasterC
I tried to update my Ubuntu server install today, and whenever I run the upgrade command (after updating sources.list), it won't complete because of an error that I've never encountered before. Any idea how I can fix this? Thanks in advance smile.gif

CODE
chris@ubuntuserver:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be upgraded:
  libpcre3 libpq5 linux-image-2.6.20-16-server
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/24.3MB of archives.
After unpacking 12.3kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Setting up tzdata (2007k-0ubuntu0.7.04) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg: error processing tzdata (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)

pdog
Have you tried running: "sudo dpkg-reconfigure tzdata"? If that command fails, you might want to check out this topic on the ubuntu forums: http://ubuntuforums.org/showthread.php?t=654450
MasterC
Thank you so much! The instructions in the last post on the Ubuntu Forums worked perfectly. Thanks again smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.