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 open up Ubuntu Software Center and every time I do this, it says:

New Software Can't Be Installed Because There Is A Problem With The Software Already Installed. Do You Want To Repair This Problem?

I press 'Repair' and it says the package operation failed, that "The installation or removal of a software package failed." Here are the details that it gives me:

installArchives() failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "None.None"
    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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "None.None"
    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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "None.None"
    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
dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory
Error in function: 

Also, if it helps, I am using Ubuntu 14.04 64-bit. Before this problem, I deleted all sources from sources.list. It said:

The information about available software is out-of-date

To install software and updates from newly added or changed sources, you have to reload the information about available software.

You need a working Internet connection to continue.

So I press 'Reload' and then I run apt-get update in terminal. Then I'm here. I want to thank everyone ahead of time for any help.

share|improve this question
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.