설치 오류

설치 오류

저는 Linux를 처음 사용합니다. 며칠 전에 Ubuntu14.04를 설치했습니다. Ubuntu Software Center에 프로그램을 설치할 때마다 다음과 같은 메시지가 표시됩니다 Package operation failed:The installation or removal of a software package failed.

무슨 뜻이에요?

소프트웨어가 제대로 설치되지 않았다는 의미인가요?

세부 정보 부분에 표시된 오류는 다음과 같습니다.

installArchives() failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    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 = "en_IN.ISO8859-1"
    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 = "en_IN.ISO8859-1"
    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
Selecting previously unselected package libsqlite0.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 205852 files and directories currently installed.)
Preparing to unpack .../libsqlite0_2.8.17-10ubuntu2_amd64.deb ...
Unpacking libsqlite0 (2.8.17-10ubuntu2) ...
Selecting previously unselected package python-sqlite.
Preparing to unpack .../python-sqlite_1.0.1-11_amd64.deb ...
Unpacking python-sqlite (1.0.1-11) ...
Selecting previously unselected package python-kaa-base.
Preparing to unpack .../python-kaa-base_0.6.0+svn4596-1_amd64.deb ...
Unpacking python-kaa-base (0.6.0+svn4596-1) ...
Selecting previously unselected package python-kaa-metadata.
Preparing to unpack .../python-kaa-metadata_0.7.7+svn4596-4_amd64.deb ...
Unpacking python-kaa-metadata (0.7.7+svn4596-4) ...
Selecting previously unselected package python-support.
Preparing to unpack .../python-support_1.0.15_all.deb ...
Unpacking python-support (1.0.15) ...
Selecting previously unselected package subdownloader.
Preparing to unpack .../subdownloader_2.0.14-1.1_all.deb ...
Unpacking subdownloader (2.0.14-1.1) ...
Processing triggers for man-db (2.6.7.1-1) ...
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
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Setting up hspa-modem-dkms (1.02.35) ...
Removing old hspa-modem-1.02.35 DKMS files...

------------------------------
Deleting module version: 1.02.35
completely from the DKMS tree.
------------------------------
Done.
Loading new hspa-modem-1.02.35 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-34-generic
Building for architecture x86_64
Building initial module for 3.13.0-34-generic
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Skipped.
Removing old hspa-modem-1.02.35 DKMS files...

------------------------------
Deleting module version: 1.02.35
completely from the DKMS tree.
------------------------------
Done.
Loading new hspa-modem-1.02.35 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-34-generic
Building for architecture x86_64
Building initial module for 3.13.0-34-generic
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
dpkg: error processing package hspa-modem-dkms (--configure):
 subprocess installed post-installation script returned error exit status 9
Setting up libsqlite0 (2.8.17-10ubuntu2) ...
Setting up python-sqlite (1.0.1-11) ...
Setting up python-kaa-base (0.6.0+svn4596-1) ...
Setting up python-kaa-metadata (0.7.7+svn4596-4) ...
Setting up python-support (1.0.15) ...
Setting up subdownloader (2.0.14-1.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.1) ...
Processing triggers for python-support (1.0.15) ...
Error in function: 
Setting up hspa-modem-dkms (1.02.35) ...
Removing old hspa-modem-1.02.35 DKMS files...

------------------------------
Deleting module version: 1.02.35
completely from the DKMS tree.
------------------------------
Done.
Loading new hspa-modem-1.02.35 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-34-generic
Building for architecture x86_64
Building initial module for 3.13.0-34-generic
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Skipped.
Removing old hspa-modem-1.02.35 DKMS files...

------------------------------
Deleting module version: 1.02.35
completely from the DKMS tree.
------------------------------
Done.
Loading new hspa-modem-1.02.35 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-34-generic
Building for architecture x86_64
Building initial module for 3.13.0-34-generic
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
dpkg: error processing package hspa-modem-dkms (--configure):
 subprocess installed post-installation script returned error exit status 9

제발 이것이 무엇인지 말해 줄 수 있는 사람이 있나요?

이게 문제가 있는 걸까요, 아니면 아무것도 아닌 걸까요?

답변1

이는 로케일을 설정해야 함을 의미합니다.

sudo locale-gen en_IN en_IN.UTF-8
sudo dpkg-reconfigure locales

답변:stackoverflow.com

DKMS 문제를 처리하려면(경고: 이렇게 하면 hspa-modem 구성이 제거됩니다):

sudo apt-get purge hspa-modem-dkms
sudo apt-get install hspa-modem-dkms

물론 dpkg를 사용하여 hspa-modem-dkms를 설치한 경우 이전과 동일한 방식으로 설치하십시오.

관련 정보