Bug 27844 - [Anolis23][pkg][Nightly]安装cups-filters-doc失败
Summary: [Anolis23][pkg][Nightly]安装cups-filters-doc失败
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.3
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-09 14:46 UTC by gitpush
Modified: 2025-12-09 15:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gitpush alibaba_cloud_group 2025-12-09 14:46:11 UTC
[缺陷描述]:安装cups-filters-doc失败,依赖写得有问题
依赖的版本是2.0.1-1.an23,updates repo提供版本是1:2.0.1-1.an23 ,怀疑是把Epoch写到版本里了;cups-filters 这个包在os和update都存在,重复
[重现步骤]:
yum install cups-filters-doc -y
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:02:12 ago on Tue Dec  9 01:37:06 2025.
Error:
 Problem: conflicting requests
  - nothing provides cups-filters = 2.0.1-1.an23 needed by cups-filters-doc-1:2.0.1-1.an23.noarch from updates
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


[root@iZbp1ctw16joxy8iuwrwcaZ ~]# yum install cups-filters
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:01:52 ago on Tue Dec  9 01:37:06 2025.
Dependencies resolved.
=========================================================================================================================================================================================================================================================================================
 Package                                                                                 Architecture                                              Version                                                              Repository                                                  Size
=========================================================================================================================================================================================================================================================================================
Installing:
 cups-filters                                                                            x86_64                                                    1:2.0.1-1.an23                                                       updates                                                    191 k



[root@iZbp12xv5pxntpw8v53fy4Z ~]# yum --disablerepo="*" --enablerepo=os info cups-filters
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:09:54 ago on Mon Dec  8 02:21:30 2025.
Available Packages
Name         : cups-filters
Epoch        : 1
Version      : 2.0.0
Release      : 1.an23
Architecture : x86_64
Size         : 191 k
Source       : cups-filters-2.0.0-1.an23.src.rpm
Repository   : os
Summary      : OpenPrinting CUPS filters for CUPS 2.X
URL          : https://github.com/OpenPrinting/cups-filters
License      : Apache-2.0 WITH LLVM-exception
Description  : Contains backends, filters, and other software that was
             : once part of the core CUPS distribution but is no longer maintained by
             : Apple Inc. In addition it contains additional filters developed
             : independently of Apple, especially filters for the PDF-centric printing
             : workflow introduced by OpenPrinting.

[root@iZbp12xv5pxntpw8v53fy4Z ~]# yum --disablerepo="*" --enablerepo=updates info cups-filters
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:10:04 ago on Mon Dec  8 02:21:30 2025.
Available Packages
Name         : cups-filters
Epoch        : 1
Version      : 2.0.1
Release      : 1.an23
Architecture : x86_64
Size         : 191 k
Source       : cups-filters-2.0.1-1.an23.src.rpm
Repository   : updates
Summary      : OpenPrinting CUPS filters for CUPS 2.X
URL          : https://github.com/OpenPrinting/cups-filters
License      : Apache-2.0 WITH LLVM-exception
Description  : Contains backends, filters, and other software that was
             : once part of the core CUPS distribution but is no longer maintained by
             : Apple Inc. In addition it contains additional filters developed
             : independently of Apple, especially filters for the PDF-centric printing
             : workflow introduced by OpenPrinting.



[期望结果]:正常安装
[实际结果]:安装失败
[原因定位]:
[修复建议]:
Comment 1 mgb01105731 2025-12-09 15:14:42 UTC
问题已确认,由于cups-filters-doc的依赖没有使用epoch导致