Ohk, so i understand your condition but not know what you trying to build
So i will answer your other question
As You need urgent . i am not going to explain all,
- Setup local repo & deb files
Yes we can, and your condition make sense for it.
- Download Your debs source which you want to add
sudo apt source Yourpackge
cd Yourpackge
Change a bit changealog
dpkg-buildpackage
it will build with depend
mkdir localrepo
cd localrepo
mkdir -p conf incoming dists/YourCode/main/binary-Yourarch pool/main db
touch conf/distributions
Now in distributions file add
Origin: Johnathan
Label: Johnathan-apt-repo
Suite: stable
Codename: Yourcodename
Architectures: Yourarchs
Components: main
Description: small description
Now,
You hace to make release file
Im which copy all your deb files control file content
WAIT WE USE REPO-MANAGER
sudo apt install reprepro
[Using repo-Manager is good idea, and also saves Your time, otherwise you can creste your own repo-manager]
reprepro includedeb YourcodeName yourdebfiles
Note:
[It will do all thus stuff automatically , sorry you not need to do anything before that i say in setting up repo, you just need to create conf ,but i changed idea during writing 😉]
Ohk now Your repo is ready
And look like this
[amzker][~/Amzux-repo]
localhost 08:33 $>>tree && cat conf/distributions .
|-- conf
| `-- distributions
|-- db
| |-- checksums.db
| |-- contents.cache.db
| |-- packages.db
| |-- references.db
| |-- release.caches.db
| `-- version
|-- dists
| `-- Zubbu
| |-- Release
| `-- main
| `-- binary-amd64
| |-- Packages
| |-- Packages.gz
| `-- Release
`-- pool
`-- main
|-- a
| `-- amsnap
| `-- amsnap_0.2_amd64.deb
|-- c
| `-- console
| `-- console_0.3_amd64.deb
`-- u
`-- update-23-6-2019
`-- update-23-6-2019_0.1_amd64.deb
14 directories, 14 files
Origin: Amzker
Label: Amzux-repo
Suite: stable
Codename: Zubbu
Architectures: amd64
Components: main
Description: Amzux-repo ,containing meta packages
Here Zubbu is my codename. You can set yours
- making server
python3 -m http.server 80
Now add This line into your sources.list
deb [trusted=yes arch=Yourarches] https://localhost:80 YourcodeName main
And then install
apt-transport-https
or simmilar package i forget exact packagename
run
sudo apt update
And all done ,
[Add into your source list as my mean into your build env]
- Setting Up at github
Good idea , Try this (maybe work)
Type this into your repo(which we created jist but ago)
- Create repository at github
- push it
suro rm -r .git
git init
git add -A
git --config global user.name "johnathon"
git --config global user.email "youmail"
git commit -a -m "Trying"
git remote add origin git@github.com:Yourusername/Repo
git pull
git push -u origin master
Then all done , try into your source file
deb [trusted=yes arch=Yourarchs] https://raw.githubusercontent.com/YourUsrbame/Repo/master Yourcodename main```
I was just thinking on that gpg won't interfere ,
Make sure you set your build Env into VM and in Debian not in Parrot