I'm creating my own repository to host my scripts. I wrote a shell script and wanted to package into a .deb file. I created the DEBIAN directory and the control file inside. The .deb is created successfully after this command
dpkg -b addpath addpath.deb
I, then, copied it to my web server directory. I went to another machine and added the repository to /etc/apt/sources.list.d.
Executed the commands
sudo apt-get update sudo apt-get install addpath
When the installation process begins, it complains, saying the architecture is missing. Here is my control file.
Package: addpath Version: 0.1b Maintainer: NAME <EMAIL> Installed-size: 1024 Architecture: all Provides: addpath Description: Used to add directory entries to PATH
The architecture parameter is there, so I don't know what's causing this issue.
Ask if you need more information.
I found out I was forgetting to update the Packages.gz file. When I did that, it "completed" the installation. I quoted the word completed because I can't access the script after the installation