Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: -S switch for add-apt-repository unsupported, causes error #141

Open
ibonobo opened this issue Nov 16, 2024 · 1 comment
Open

[bug]: -S switch for add-apt-repository unsupported, causes error #141

ibonobo opened this issue Nov 16, 2024 · 1 comment
Labels
bug Something isn't working triage Triage

Comments

@ibonobo
Copy link

ibonobo commented Nov 16, 2024

FreePBX Version

FreePBX 17

Issue Description

The install script fails on my Debian 10.13 buster because apt-add-repository does not support the switch -S used in the script, only -s

Operating Environment

4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64 GN│
U/Linux │
Distributor ID: Debian │
Description: Debian GNU/Linux 10 (buster) │
Release: 10 │
Codename: buster │
10.13

Relevant log output

2024-11-15 07:17:17 (285 MB/s) - written to stdout [3139/3139]

Usage: add-apt-repository <sourceline>

add-apt-repository is a script for adding apt sources.list entries.
It can be used to add any repository and also provides a shorthand
syntax for adding a Launchpad PPA (Personal Package Archive)
repository.

<sourceline> - The apt repository source line to add. This is one of:
  a complete apt line in quotes,
  a repo url and areas in quotes (areas defaults to 'main')
  a PPA shortcut.
  a distro component

  Examples:
    apt-add-repository 'deb http://myserver/path/to/repo stable myrepo'
...
add-apt-repository: error: no such option: -S
2024-11-15 07:17:17 - Exiting script
@ibonobo ibonobo added bug Something isn't working triage Triage labels Nov 16, 2024
@JoseGoncalves
Copy link
Contributor

This script is for latest stable Debian version (12). Debian 10 (buster) is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Triage
Projects
None yet
Development

No branches or pull requests

2 participants