Project

General

Profile

Actions

Bug #13741

closed

apt configuration issue - add apost-check to validate generated line

Added by Florian Heigl about 6 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
58
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Getting this on a Rudder 5.0 node on 4.3 master:

root@ubu-hg:/etc/apt/sources.list.d# cat *
  1. Managed by Rudder, edit with care ###
    deb http://de.archive.ubuntu.com/ubuntu ${apt_detected_distro} universe multiverse

breaks updates and OS install.

This is an LTS ubuntu that came out ages ago, no idea what is going wrong.

root@ubu-hg:/etc/apt/sources.list.d# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

since I see that there's a preexisting issue for the same problem a few years back... please could you consider a cleaner solution, that validates the generated url before writing it.

https://www.rudder-project.org/redmine/issues/11336

I know it's just Ubuntu, but still :)


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #18352: Add Ubuntu 20.x in Technique Package sources and settings (APT) RejectedVincent MEMBRÉActions
Actions

Also available in: Atom PDF