RedHat에서 패키지 업데이트/재설치 실패

RedHat에서 패키지 업데이트/재설치 실패

bcftools 버전 1.10에서 최소 1.14로 업데이트하여 RedHat 서버에 bcftools를 다시 설치하려고 합니다.

cat /etc/redhat-release

주어진

Red Hat Enterprise Linux Server release 7.9 (Maipo)

bcftools --version생산하다

bcftools 1.10.2
Using htslib 1.10.2
Copyright (C) 2019 Genome Research Ltd.
License Expat: The MIT/Expat license
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

그래서 나는 그것이 bcftools설치되어 있다는 것을 압니다.

업데이트하려고 합니다:

user@server:~$ sudo yum update bcftools
Loaded plugins: auto-update-debuginfo, product-id, search-disabled-repos, subscription-manager
Package(s) bcftools available, but not installed.
No packages marked for update

이것은 분명히 작동하지 않습니다.

내가 업데이트하려고 할 때

Loaded plugins: auto-update-debuginfo, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package bcftools.x86_64 0:1.9-3.el7 will be installed
--> Processing Dependency: libhts.so.2()(64bit) for package: bcftools-1.9-3.el7.x86_64
--> Running transaction check
---> Package htslib.x86_64 0:1.9-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================
 Package                  Arch                   Version                     Repository            Size
========================================================================================================
Installing:
 bcftools                 x86_64                 1.9-3.el7                   epel                 609 k
Installing for dependencies:
 htslib                   x86_64                 1.9-5.el7                   epel                 343 k

Transaction Summary
========================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 953 k
Installed size: 2.6 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): bcftools-1.9-3.el7.x86_64.rpm                                             | 609 kB  00:00:00     
(2/2): htslib-1.9-5.el7.x86_64.rpm                                               | 343 kB  00:00:00     
--------------------------------------------------------------------------------------------------------
Total                                                                   1.3 MB/s | 953 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : htslib-1.9-5.el7.x86_64                                                              1/2 
  Installing : bcftools-1.9-3.el7.x86_64                                                            2/2 
  Verifying  : bcftools-1.9-3.el7.x86_64                                                            1/2 
  Verifying  : htslib-1.9-5.el7.x86_64                                                              2/2 

Installed:
  bcftools.x86_64 0:1.9-3.el7                                                                           

Dependency Installed:
  htslib.x86_64 0:1.9-5.el7                                                                             

Complete!

그러나 동일한 bcftools 이전 버전 1.10.2가 표시됩니다.

bcftools를 업데이트하는 방법은 무엇입니까?

답변1

원하는 버전이 아직 저장소에 없는 것 같습니다. 어쩌면 이것이 당신에게 도움이 될 수 있습니다:

RedHat/CentOS 종속성:

sudo yum install -y autoconf automake make gcc perl-Data-Dumper zlib-devel bzip2 bzip2-devel xz-devel curl-devel openssl-devel bsdtar wget
wget -qO- https://github.com/samtools/bcftools/releases/download/1.15/bcftools-1.15.tar.bz2 | bsdtar -xvf- -C /tmp/
cd /tmp/bcftools-1.15
make install
ln -s /usr/local/bin/bcftools /bin/bcftools
bcftools --version

유용하길 바랍니다.

관련 정보