我正在尝试使用git实现一个解决方案。为此,我将转到此页面LaunchPad Git并尝试下载此文件git_2.10.2-2.dsc。我需要这个特定的文件才能解决问题。但是,当我单击此文件开始下载时,我被重定向到具有以下内容的页面:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 3.0 (quilt)
Source: git
Binary: git, git-man, git-core, git-doc, git-arch, git-cvs, git-svn, git-mediawiki, git-email, git-daemon-run, git-daemon-sysvinit, git-gui, gitk, git-el, gitweb, git-all
Architecture: any all
Version: 1:2.10.2-2
Maintainer: Gerrit Pape <pape@smarden.org>
Uploaders: Jonathan Nieder <jrnieder@gmail.com>, Anders Kaseorg <andersk@mit.edu>
Homepage: https://git-scm.com/
Standards-Version: 3.9.6.0
Vcs-Browser: http://repo.or.cz/w/git/debian.git/
Vcs-Git: https://repo.or.cz/r/git/debian.git/
Build-Depends: libz-dev, libpcre3-dev, gettext, libcurl4-gnutls-dev, libexpat1-dev, subversion, libsvn-perl, libyaml-perl, tcl, libhttp-date-perl | libtime-modules-perl, python, cvs, cvsps, libdbd-sqlite3-perl, unzip, libio-pty-perl, debhelper (>= 9), dh-exec (>= 0.7), dh-apache2, dpkg-dev (>= 1.16.2~)
Build-Depends-Indep: asciidoc, xmlto, docbook-xsl
Package-List:
git deb vcs optional arch=any
git-all deb vcs optional arch=all
git-arch deb vcs optional arch=all
git-core deb vcs optional arch=all
git-cvs deb vcs optional arch=all
git-daemon-run deb vcs optional arch=all
git-daemon-sysvinit deb vcs extra arch=all
git-doc deb doc optional arch=all
git-el deb vcs optional arch=all
git-email deb vcs optional arch=all
git-gui deb vcs optional arch=all
git-man deb doc optional arch=all
git-mediawiki deb vcs optional arch=all
git-svn deb vcs optional arch=all
gitk deb vcs optional arch=all
gitweb deb vcs optional arch=all
Checksums-Sha1:
2023975ae0061bd569b8529025428e3eca53be2e 4106108 git_2.10.2.orig.tar.xz
00d7776b0dd941c4b5e7ee1041b860a3dce4697d 511468 git_2.10.2-2.debian.tar.xz
Checksums-Sha256:
94802903dd707d85ca3b9a2be35e936a54ce86375f52c6a789efe7ce7e238671 4106108 git_2.10.2.orig.tar.xz
6b39f43c310f756042769f7aa72e1f8a6859192f28f9fedc3435514977738cdb 511468 git_2.10.2-2.debian.tar.xz
Files:
3cd1dca37be60668f482545716923b72 4106108 git_2.10.2.orig.tar.xz
336a35cbe1f1d6b04375cd87a302eb06 511468 git_2.10.2-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJYHdRXAAoJEOXKjEkl5CBfxLMP/jmJWlcRQ1mMmUwMIjREb/6l
LQlvxLVO/le2aBysuOjSBRjGFNUmZsq6BF9vtzkG/YMPZjm6m70CJblKKtqb4+S5
RwMn9R+7fIehFv4r4OJs2Vggfqsm7DPAztdwjYr0CtBiFIdLy/1URL02EiDl0gp/
D6pIWLHdNLOW2p9hK7EPePaUeJiotZQmZUR9WABvtztE5tUxWcHJKmWeGZscJTUo
6CiY+yByiO1XemI45GdlWybreSrjtN29v32XvJHra2C2aWUyYWymUOjp/OyF7GKm
t/qEkI313smPeM7IXNjet1/Oh6c0FQxeRnIr4ZPYpqAxDlOpsSQawEMPFqK7yRGk
lM6FfP14Bgt6MakCk3rCsVovLYCp03SI2PmOf1hyHWWSNi6vOORWhXoZSPIaG5Mv
rj7r9GNvvHzbWTRcyWxGnSLzKUgy9HmKS4VxKrvkAVuwpBeBKdP+zSdO/UGb06uE
FckxEhdzCK9+/eO6pQJaJJgEk4iNXCXcSI8LkTuXtKep3P+Bm8biX4KO6+ofnjyO
54zyn7yQ0ZY3mA8OTmlWQ+roLge1jDw39S5lTF68HnMIrPjikY1dicY8sbEe92NW
HRnGMGKmAp6tlNFylBIlHiMfLxLkdJ8U6Inh5LWRhdGOynXYE/2o5EZKwxkCMF33
1LsccaEk8bNNuV8ZWwP+
=ngpD
-----END PGP SIGNATURE-----
所有这一切都是网页git 2.10 dsc文件中的文字。这是这个文件应该是怎样的?我到底该怎么办?
答案 0 :(得分:2)
该文本实际上是dsc文件的内容。如果您保存它,并对关联的.orig.tar.xz
和.debian.tar.xz
文件执行相同操作,请运行dpkg-source -x git_2.10.2-2.dsc
以提取它们。
如果deb-src
中有/etc/apt/sources.list
条目,则可以在一个命令中完成所有下载和解包:apt-get source git
。
接下来你可能想知道如何构建这个东西......我感觉你在一个比你想象的更长的过程的开始,并且之前会有更多的问题你已经完成了,也许你应该解释你的总体目标,这样有人可以判断你的计划是否有任何意义。