...
Code Block |
---|
|
du3p03% sudo apt-get update
Hit:2 https://apt2.dilos.org/dilos dg3-unstable InRelease
Hit:1 http://mirrors.edge.kernel.org/debian buster-updates InRelease
Hit:3 https://apt2.dilos.org/dilos du3-unstable InRelease
Hit:4 https://apt2.dilos.org/dilos dg2-unstable InRelease
Hit:5 https://apt2.dilos.org/dilos du2-unstable InRelease
Hit:6 http://mirrors.edge.kernel.org/debian buster-proposed-updates InRelease
Hit:7 http://mirrors.edge.kernel.org/debian buster-backports InRelease
Hit:8 http://mirrors.edge.kernel.org/debian buster InRelease
Err:1 http://mirrors.edge.kernel.org/debian buster-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Err:6 http://mirrors.edge.kernel.org/debian buster-proposed-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Err:7 http://mirrors.edge.kernel.org/debian buster-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Err:8 http://mirrors.edge.kernel.org/debian buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY EF0F382A1A7B6500 NO_PUBKEY DCC9EFBF77E11517
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.edge.kernel.org/debian buster-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.edge.kernel.org/debian buster-proposed-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.edge.kernel.org/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.edge.kernel.org/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY EF0F382A1A7B6500 NO_PUBKEY DCC9EFBF77E11517
W: Failed to fetch http://mirrors.kernel.org/debian/dists/buster-updates/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
W: Failed to fetch http://mirrors.kernel.org/debian/dists/buster-proposed-updates/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
W: Failed to fetch http://mirrors.kernel.org/debian/dists/buster-backports/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
W: Failed to fetch http://mirrors.kernel.org/debian/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY EF0F382A1A7B6500 NO_PUBKEY DCC9EFBF77E11517
W: Some index files failed to download. They have been ignored, or old ones used instead.
|
This means you shoud should add these public keys to the system. Do it as:
Code Block |
---|
|
du3p03% sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 EF0F382A1A7B6500 DCC9EFBF77E11517
Executing: /tmp/apt-key-gpghome.0nsKnHHLVF/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 EF0F382A1A7B6500 DCC9EFBF77E11517
gpg: key DCC9EFBF77E11517: public key "Debian Stable Release Key (10/buster) <debian-release@lists.debian.org>" imported
gpg: key EF0F382A1A7B6500: public key "Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>" imported
gpg: key DC30D7C23CBBABEE: public key "Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>" imported
gpg: Total number processed: 3
gpg: imported: 3
|
Ok, now these keys have been imported, let's update it once again:
...
Code Block |
---|
language | bash |
---|
title | install dependencies |
---|
|
du3p01% sudo apt-get install debhelper bison jdupes libapr1-dev libaprutil1-dev libbrotli-dev liblua5.2-dev libnghttp2-dev libpcre3-dev libssl-dev libxml2-dev lsb-release zlib1g-dev libcurl4-openssl-dev libjansson-dev
sudo: unable to resolve host du3p01: node name or service name not known
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package jdupes |
...
Code Block |
---|
|
du3p03% apt-get source jdupes
Reading package lists... Done
NOTICE: 'jdupes' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian/jdupes.git
Please use:
git clone https://salsa.debian.org/debian/jdupes.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 124 kB of source archives.
Get:1 http://mirrors.edge.kernel.org/debian buster-backports/main jdupes 1.18.1-1~bpo10+1 (dsc) [1878 B]
Get:2 http://mirrors.edge.kernel.org/debian buster-backports/main jdupes 1.18.1-1~bpo10+1 (tar) [109 kB]
Get:3 http://mirrors.edge.kernel.org/debian buster-backports/main jdupes 1.18.1-1~bpo10+1 (diff) [13.0 kB]
Fetched 124 kB in 1s (80.2 kB/s)
dpkg-source: info: extracting jdupes in jdupes-1.18.1
dpkg-source: info: unpacking jdupes_1.18.1.orig.tar.gz
dpkg-source: info: unpacking jdupes_1.18.1-1~bpo10+1.debian.tar.xz
du3p03%
|
Code Block |
---|
title | check jdupes dependencies |
---|
|
du3p03% cd jdupes-1.18.1
du3p03% dpkg-checkbuilddeps
dpkg-checkbuilddeps: warning: cannot determine CC system type, falling back to default (native compilation)
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper-compat (= 13) |
...
Recheck build dependency again to be sure threse there are no unmet dependencies:
...
We add a new record to the file above the first line on top (like the LIFO or stack).
Code Block |
---|
|
jdupes (1.18.1-1~bpo10+1+dilos1) unstable; urgency=medium
* Build for DilOS.
-- DilOS Team <dilos@dilos.org> Mon, 10 Aug 2020 12:06:57 +0300
jdupes (1.18.1-1~bpo10+1) buster-backports; urgency=medium
* Rebuild for buster-backports.
-- Joao Eriberto Mota Filho <eriberto@debian.org> Wed, 15 Jul 2020 17:56:23 -0300
|
As you see we added +dilos1 to the version (to mark our changes), the repo now is unstable (if you plan to contribute the result to the main repo), the message says it is a build for DilOS and the last line shows who did the changes. To generate the date just use date -R command in the shell:
Code Block |
---|
|
du3p03% date -R
Mon, 10 Aug 2020 12:06:57 +0300 |
...