Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I did a sudo apt-get update and sudo apt-get upgrade and keep getting this error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libunity-core-5.0-5 linux-headers-linaro-lt-origen linux-image-linaro-lt-origen linux-tools
  linux-tools-linaro-lt-origen unity unity-common unity-services
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "en_US.UTF-8",
    LANG = "C.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_ALL to default locale: No such file or directory
Setting up jockey-common (0.9.7-0ubuntu7.7) ...
Sorry: TypeError: ('compile() expected string without null bytes',)
Sorry: TypeError: ('compile() expected string without null bytes',)
Sorry: TypeError: ('compile() expected string without null bytes',)
Sorry: TypeError: ('compile() expected string without null bytes',)
Sorry: TypeError: ('compile() expected string without null bytes',)
Sorry: TypeError: ('compile() expected string without null bytes',)
dpkg: error processing jockey-common (--configure):
 subprocess installed post-installation script returned error exit status 101
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.9.7-0ubuntu7.7); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 jockey-common
 jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

First how can I fix that perl warning that always comes up? And second, how can I get jockey-common and jockey-gtk to install correctly?

share|improve this question
    
for the perl error - Try to add english locale to your desktop. sudo locale-gen en_US.UTF-8 Source:ubuntuforums.org/showthread.php?t=2172604 - for the other try sudo apt-get install -f –  Elder Geek Jun 25 at 15:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.