对特定版本使用 apt-get 不起作用

using apt-get for specific version not working

我使用下面的代码工作正常

apt-get install --yes --no-install-recommends curl git  && \

现在我想为 curl 放一个版本并使用下面的

apt-get install --yes --no-install-recommends curl=7.68.0 git  && \

这里我遇到了找不到版本的错误...有什么想法吗? 我尝试使用旧版本并得到相同的结果...

https://curl.haxx.se/docs/releases.html

我想你用 Ubuntu Linux Ubuntu 仿生 7.58.0 二进制
Linux Ubuntu 宇宙 7.61.0 二进制
Linux Ubuntu 迪斯科 7.64.0 二进制文件
Linux Ubuntu 可靠的 7.35.0 二进制文件
Linux Ubuntu xenial 7.47.0 二进制 所以在 Ubuntu 7.68.0 中不能作为最新版本使用 在

可用
Mac OS X    7.68.0  source  MacPorts
Mac OS X    7.68.0  source  Homebrew

Linux T2    7.68.0  source  T2
Linux Suse i386 7.68.0  binary  openSUSE
Linux Suse i386 7.68.0  devel   openSUSE
Linux Suse i386 7.68.0  libcurl openSUSE
Linux Suse x86_64   7.68.0  binary  openSUSE
Linux SliTaz    7.68.0  source  SliTaz
Linux Slackware x86_64  7.68.0  binary  Slackware
Linux Slackware ARM 7.68.0  binary  ARMedslack
Linux Slackware i386    7.68.0  binary  Slackware
Linux Redhat RHEL6 x86_64   7.68.0  binary  Paul Howarth
Linux Redhat RHEL7 x86_64   7.68.0  binary  Paul Howarth
Linux Redhat RHEL6 i386 7.68.0  binary  Paul Howarth
Linux PLD   7.68.0  source  
Linux OpenEmbedded  7.68.0  source  
Linux NixOS x86_64  7.68.0  binary  NixOS
Linux NixOS 7.68.0  source  NixOS
Linux Mageia    7.68.0  binary  Mageia
Linux Linux From Scratch    7.68.0  source  
Linux Gentoo    7.68.0  source  
Linux Frugalware    7.68.0  binary  
Linux Fedora 13 x86_64  7.68.0  binary  Paul Howarth
Linux Fedora 14 x86_64  7.68.0  binary  Paul Howarth
Linux Fedora 15 x86_64  7.68.0  binary  Paul Howarth
Linux Fedora 16 x86_64  7.68.0  binary  Paul Howarth
Linux Fedora 20 x86_64  7.68.0  binary  Paul Howarth
Linux Fedora 21 x86_64  7.68.0  binary  Paul Howarth
Linux Fedora 26 x86_64  7.68.0  binary  Paul Howarth
Linux Fedora 13 i386    7.68.0  binary  Paul Howarth
Linux Fedora 14 i386    7.68.0  binary  Paul Howarth
Linux Fedora 15 i386    7.68.0  binary  Paul Howarth
Linux Fedora 16 i386    7.68.0  binary  Paul Howarth
Linux Fedora 17 i386    7.68.0  binary  Paul Howarth
Linux Fedora 18 i386    7.68.0  binary  Paul Howarth
Linux Fedora 19 i386    7.68.0  binary  Paul Howarth
Linux Fedora 20 i386    7.68.0  binary  Paul Howarth
Linux Fedora 26 i386    7.68.0  binary  Paul Howarth
Linux Arch StrongARM    7.68.0  binary  Arch Linux
Linux Arch x86_64   7.68.0  binary  Arch Linux
Linux Alt   7.68.0  binary  
Linux Alt   7.68.0  devel   
Linux Alt   7.68.0  libcurl 
Linux Alt   7.68.0  source  
HPUX 11.00 HPPA 7.68.0  binary  connect.org.uk
HPUX 11.11 HPPA 7.68.0  binary  connect.org.uk
HPUX 11.23 ia64 7.68.0  binary  connect.org.uk
Haiku   7.68.0  source  
FreeBSD 7.68.0  source  
DOS 7.68.0  binary  Michael Kostylev
AIX 5.3 7.68.0  binary  Michael Felt

NetBSD  7.68.0  source  
OpenBSD 7.68.0  source  Christian Weisgerber
Solaris i386    7.68.0  binary  OpenCSW
Solaris i386    7.68.0  libcurl OpenCSW
Solaris Sparc   7.68.0  binary  OpenCSW
Solaris Sparc   7.68.0  libcurl OpenCSW
Solaris Sparc64 7.68.0  binary  OpenCSW
Solaris Sparc64 7.68.0  libcurl OpenCSW
Solaris x86_64  7.68.0  binary  OpenCSW
Solaris x86_64  7.68.0  libcurl OpenCSW
VMS 8.3 Alpha   7.68.0  binary  John E. Malmberg
VMS 8.4 Alpha   7.68.0  binary  John E. Malmberg
VMS 8.4 ia64    7.68.0  binary  John E. Malmberg
VMS 7.3 VAX 7.68.0  binary  John E. Malmberg

Windows 32 bit  7.68.0  binary  the curl project
Windows 32 bit  7.68.0  binary  Chocolatey
Windows 32 bit  7.68.0  binary  Viktor Szakats
Windows 32 bit  7.68.0  binary  Dirk Paehl

Windows 64 bit  7.68.0  binary  the curl project
Windows 64 bit  7.68.0  binary  Chocolatey
Windows 64 bit  7.68.0  binary  Viktor Szakats
Windows 64 bit  7.68.0  libcurl Vcpkg