Packaging Suggestion - Debian based distros
See original GitHub issueAdd the following to the postinst file to automate repo and key installation:
echo "deb https://dl.bintray.com/resin-io/debian stable etcher" | sudo tee /etc/apt/sources.list.d/etcher.list
sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 379CE192D401AB61
of course you’ll need to include checks to ensure the information has not already been added in previous versions.
Add the following to the postrm file to automate repo and key removal:
sudo rm /etc/apt/sources.list.d/etcher.list
sudo apt-key del 379CE192D401AB61
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
The 11 Best Debian-based Linux Distributions - Tecmint
1. MX Linux · 2. Linux Mint · 3. Ubuntu · 4. Deepin · 5. AntiX · 6. PureOS · 7. Kali Linux...
Read more >How Software Producers Can Distribute Their ... - Debian
If you want to distribute your packages only yourself, you can either distribute the .deb files you got while packaging, or create a...
Read more >Top 10 Best Lightweight Linux Distros of 2020 - DigitalOcean
10 Best Lightweight Linux Distros of 2020 · 1. Crunchbang++ - Minimal Debian-based Linux Distro · 2. Manjaro XFCE - Best lightweight Arch-based...
Read more >Debian-based distribution - DistroWatch.com
Please note that the best way to obtain the GNOME version is by searching for "nautilus", while KDE Plasma is represented by the...
Read more >Getting Started With Dpkg on Debian-Based Linux Distros
Should there be a broken package, then the dpkg utility will give you advice on suggested fixes. dpkg --audit. Re-Configuring a Software Package....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t understand why you would set up the remote repository after installing the package. The point of setting up the repository is so that you can install the package with
apt
. Also having a package that removes an apt source when it is uninstalled is unprecedented, so I suspect it would catch a lot of people off guard.Actually, I wouldn’t use
apt-key
at all. The “right” way (according to some Debian maintainers I talked to) is to just put the key in/etc/apt/trusted.gpg.d
. (apt-key
is no longer a required package in Debian since Stretch, so as time goes on, I expect fewer people to have it installed.) So, in the README, I would replacewith
This way, if people want to inspect the key first instead of piping directly to gpg, they can.
Then you just have to add this line to the unintall steps:
We’ve had a few sporadic reports of the pgp.mit.edu keyserver being temporarily unavailable, but luckily it usually seems to be a fairly short outage.