Bug 2294 - [5.17内核][Anolis 23][ecs] aspell 命令因源中缺少 aspell词典而无法正常使用
Summary: [5.17内核][Anolis 23][ecs] aspell 命令因源中缺少 aspell词典而无法正常使用
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-27 16:31 UTC by Janos
Modified: 2022-10-31 15:48 UTC (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janos alibaba_cloud_group 2022-09-27 16:31:14 UTC
[缺陷描述]:
 aspell 命令因源中缺少 aspell词典而无法正常使用

[重现概率]:
必现

[重现环境]:
环境信息:云上ECS
OS:
#cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

内核版本: 
# uname -r
5.17.0-1.an23.x86_64

RPM包版本:
# rpm -qa | grep aspell
aspell-0.60.8-1.an23.x86_64


[重现步骤]:
yum install -y aspell aspell-en
echo "this is a test file" > testfile
aspell check testfile

[期望结果]:
可以正常使用aspell,至少有基本的英文词典

[实际结果]:
1、源中无任何 aspell 词典可供使用
# yum list aspell*
Last metadata expiration check: 1:59:09 ago on Tue 27 Sep 2022 02:30:21 PM CST.
Installed Packages
aspell.x86_64                                                     12:0.60.8-1.an23                                               @BaseOS
Available Packages
aspell-devel.x86_64                                               12:0.60.8-1.an23                                               AppStream

2、基本功能 aspell check 无法正常使用
# aspell check testfile
Error: No word lists can be found for the language "en_US".
Comment 1 happy_orange alibaba_cloud_group 2022-10-31 15:48:03 UTC
aspell-en 已经引入:http://8.131.87.1/koji/buildinfo?buildID=22649
测试安装:
[root@iZbp14ub0x084rkaiux0krZ a]# rpm -ivh aspell-en-2020.12.07-1.an23.x86_64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:aspell-en-50:2020.12.07-1.an23   ################################# [100%]