Я новичок в 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-модема):
sudo apt-get purge hspa-modem-dkms
sudo apt-get install hspa-modem-dkms
Конечно, если вы установили hspa-modem-dkms с помощью dpkg, то продолжайте установку тем же способом, что и раньше.