All Projects → abhigenie92 → Unattended_upgrades_repos

abhigenie92 / Unattended_upgrades_repos

Generates system-specific repositories to be added in configuration file for silently updating all packages via unattended upgrades.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Unattended upgrades repos

Rtinst
seedbox installation script for Ubuntu and Debian systems
Stars: ✭ 1,029 (+1559.68%)
Mutual labels:  ubuntu
Backintime
Back In Time - A simple backup tool for Linux
Stars: ✭ 1,066 (+1619.35%)
Mutual labels:  ubuntu
X11vnc Desktop
Docker image for Ubuntu with X11 and VNC
Stars: ✭ 57 (-8.06%)
Mutual labels:  ubuntu
Debootstick
Generate a bootable live image from any Debian/Ubuntu filesystem tree.
Stars: ✭ 48 (-22.58%)
Mutual labels:  ubuntu
Spocon
SpoCon - A Spotify Connect Client for Debian , Ubuntu and Raspberry Pi based on librespot-java
Stars: ✭ 51 (-17.74%)
Mutual labels:  ubuntu
Linux face unlock
A face authentication system for Ubuntu that works while logging in and running "sudo" commands with a friendly CLI to operate it.
Stars: ✭ 55 (-11.29%)
Mutual labels:  ubuntu
Tooloop Os
Tooloop OS is a minimal installation of Ubuntu Server with some post-install customization to fit the needs of public multimedia installations.
Stars: ✭ 44 (-29.03%)
Mutual labels:  ubuntu
Airspy Fmradion
Software decoder for FM/AM broadcast radio with AirSpy R2 / Mini, Airspy HF+, and RTL-SDR
Stars: ✭ 59 (-4.84%)
Mutual labels:  ubuntu
Ubuntu 16.04 Unattended Install
Stars: ✭ 50 (-19.35%)
Mutual labels:  ubuntu
Ubo Youtube
Easier way to exempt your favorite YouTube channels from adblocking.
Stars: ✭ 57 (-8.06%)
Mutual labels:  whitelist
Ansible Mariadb Galera Cluster
Stars: ✭ 49 (-20.97%)
Mutual labels:  ubuntu
Certbot Install
Install the latest Certbot in a breeze. Great for Ubuntu Focal 20.04, and other Linux/Mac.
Stars: ✭ 50 (-19.35%)
Mutual labels:  ubuntu
Dotfiles
💻 macOS / Ubuntu dotfiles
Stars: ✭ 1,074 (+1632.26%)
Mutual labels:  ubuntu
Xibo Linux
Xibo for Linux - Digital Signage Player
Stars: ✭ 47 (-24.19%)
Mutual labels:  ubuntu
Ansible Wordpress
Ansible role to set up (multiple) wordpress installations in Debian-like systems (using wp-cli)
Stars: ✭ 58 (-6.45%)
Mutual labels:  ubuntu
Sales Cashregister
Cash Register Version 2.0 with barcode logon and to 8 buttongroups with each 23 programmable product buttons and equipped with inventory management system
Stars: ✭ 45 (-27.42%)
Mutual labels:  ubuntu
Caddy Script
🐳 Caddy installation script
Stars: ✭ 53 (-14.52%)
Mutual labels:  ubuntu
Docker Ubuntu1804 Ansible
Ubuntu 18.04 LTS (Bionic) Docker container for Ansible playbook and role testing.
Stars: ✭ 61 (-1.61%)
Mutual labels:  ubuntu
Yaru Plus
Yaru++, an elegant and modern third-party icons theme, based on Ubuntu's Yaru
Stars: ✭ 59 (-4.84%)
Mutual labels:  ubuntu
Mulimgviewer
MulimgViewer is a multi-image viewer that can open multiple images in one interface, which is convenient for image comparison and image stitching.
Stars: ✭ 57 (-8.06%)
Mutual labels:  ubuntu

what is this?

How to enable silent automatic updates for any repository?(http://askubuntu.com/q/87849/417607)

Procedure:

Follow the steps below:

  1. Install unattended-upgrade sudo apt-get install unattended-upgrades

  2. Discover it works only for security updates from official repos. by default.

Problem:

To make it work for all repos, you need to add each source to the config file manually. This might become hassle each time you install a new software on your machine. It may even lead to duplicate or unwanted entries or just a mere waste of time!!!

Solution:

Run this simple code.

how to run this?

  • Check repositories to add:
$ python automatic_upgrade.py 
Add repos:
"Ubuntu:xenial";
"LP-PPA-kubuntu-ppa-backports:xenial";
"LP-PPA-tuxonice:xenial";
"LP-PPA-webupd8team-sublime-text-3:xenial";

Skipping files due to not present origin or suite. Or origin being a url.:
packagecloud.io_slacktechnologies_slack_debian_dists_jessie_InRelease
tiliado.eu_nuvolaplayer_repository_deb_dists_xenial_InRelease
  • Now edit /etc/apt/apt.conf.d/50unattended-upgrades to include them:
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
	"${distro_id}:${distro_codename}-security";
	"${distro_id}:${distro_codename}-updates";
	"${distro_id}:${distro_codename}-proposed";
	"${distro_id}:${distro_codename}-backports";
  "Ubuntu:xenial";
  "LP-PPA-kubuntu-ppa-backports:xenial";
  "LP-PPA-tuxonice:xenial";
  "LP-PPA-webupd8team-sublime-text-3:xenial";
};
....
....
  • Check to see if they are included:
$ sudo unattended-upgrade --dry-run --debug
Initial blacklisted packages: 
Initial whitelisted packages: 
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=xenial-security', 'o=Ubuntu,a=xenial-updates', 'o=Ubuntu,a=xenial-proposed', 'o=Ubuntu,a=xenial-backports', 'o=Ubuntu,a=xenial', 'o=LP-PPA-kubuntu-ppa-backports,a=xenial', 'o=LP-PPA-tuxonice,a=xenial', 'o=LP-PPA-webupd8team-sublime-text-3,a=xenial']
pkgs that look like they should be upgraded: 
Fetched 0 B in 0s (0 B/s)                                                                                  
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].