Announcement

Collapse
No announcement yet.

Adept error while installing tzdata update

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adept error while installing tzdata update

    Hi,

    I have been a new Kubuntu user for about a month now, All was fine until today when I received a error in adept while updating Kubuntu, I received the following error while updating tzdata

    Could not commit changes
    There was a error committing changes. Possibly, there was a problem downloading some packages or the commit would break packages.

    I then opened a terminal window and typed:

    magnum@kubuntu:~$ sudo dpkg --configure -a
    Setting up tzdata (2007h-0ubuntu0.7.10) ...
    dpkg: error processing tzdata (--configure):
    subprocess post-installation script returned error exit status 10
    Errors were encountered while processing:
    tzdata
    magnum@kubuntu:~$



    sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 0B of additional disk space will be used.
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    Setting up tzdata (2007h-0ubuntu0.7.10) ...
    dpkg: error processing tzdata (--configure):
    subprocess post-installation script returned error exit status 10
    Errors were encountered while processing:
    tzdata
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    magnum@kubuntu:~$ sudo dpkg --configure -a
    Setting up tzdata (2007h-0ubuntu0.7.10) ...
    dpkg: error processing tzdata (--configure):
    subprocess post-installation script returned error exit status 10
    Errors were encountered while processing:
    tzdata
    magnum@kubuntu:~$



    After the update my time zone will not adjust to the proper time and I can not set my monthly calender proper weekday. Is there anything that I can do to repair this problem? Do I have to reinstall Kubuntu?

    Thank you


    #2
    Re: Adept error while installing tzdata update

    Verify that your Regional & Language information is actually set. K Menu | System Settings | Regional & Language
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Adept error while installing tzdata update

      Originally posted by Snowhog
      Verify that your Regional & Language information is actually set. K Menu | System Settings | Regional & Language
      Hi Snowhog,

      My Regional & Language is set correctly to New York and to English. My timeclock on the task bar is 5 hours behind. If I right mouse click on the time and select Adjust Date and Time to BamaKco Africa my time clock on my task bar is now adjusted 5 hours ahead to my correct time in Maryland. The time and day in settings | Regional & Language does not match my adjust date and time on my taskbar time clock.

      Thank you

      Comment


        #4
        Re: Adept error while installing tzdata update

        Hmm... If reinstalling the tzdata package doesn't fix it, try this:
        Code:
        sudo apt-get -d tzdata
        sudo dpkg --force-depends --purge tzdata
        sudo apt-get install tzdata
        It's a little drastic (and risky), but it should work. It'll first download the tzdata package (just to make sure), then purge it (but leaving packages that depend on it intact), and then installing it again.
        I'd use the --simulate option on the dpkg --purge before doing it for real, just to make sure. It does what it's supposed to here (with --simulate).
        For external use only.

        Comment


          #5
          Re: Adept error while installing tzdata update

          Thank you, SheeEttin. That worked great. My time appears to be working properly now.

          Comment


            #6
            Re: Adept error while installing tzdata update

            Which did you do, the simple reinstall or the full purge-install?
            If you did the purge-install, did you try the reinstall first?
            For external use only.

            Comment


              #7
              Re: Adept error while installing tzdata update

              Originally posted by SheeEttin
              Which did you do, the simple reinstall or the full purge-install?
              If you did the purge-install, did you try the reinstall first?

              Hi, SheeEttin,

              I first tried the reinstall and it did not work due to a processing error. l then tried the full purge install. My time is still correct this morning, after setting it last night.

              Thank you, again for your help.

              Comment

              Working...
              X