Skip to content

Repo script does not support Debian 13 #101

@memilanuk

Description

@memilanuk

Bug Info

Describe the bug
Apt packages are woefully out of date (years). Attempting to run the add-repo script results in a) warnings about an unsupported version (Debian 13 is about as main-stream as they get) and b) it fills the sources file with some garbage html tags.

To Reproduce
Steps to reproduce the behavior:

  1. Download script
  2. Run it

Expected behavior
Actually add a functional sources.list - or better yet, newer deb822 compliant .sources file with the appropriate information

Screenshots
If applicable, add screenshots to help explain your problem.

Console Output

me@file-server:~$ curl -sSL https://repo.45drives.com/setup -o setup-repo.sh
me@file-server:~$ ls
cockpit-identities_0.1.12-1focal_all.deb  output.log     snapraid-runner-output.log
mergerfs.balance-output.log               setup-repo.sh
mergerfs-tools                            snapraid.log
me@file-server:~$ vim setup-repo.sh 
me@file-server:~$ sudo bash setup-repo.sh 
[sudo] password for me: 
Detected Debian-based distribution. Continuing...
There were no existing 45Drives repos found. Setting up the new repo...
Updating ca-certificates to ensure certificate validity...
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Get:3 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB]
Hit:4 http://deb.debian.org/debian trixie-backports InRelease                            
Hit:5 https://mirror.it.ubc.ca/debian trixie InRelease                                   
Hit:6 http://mirror.keystealth.org/debian trixie InRelease                               
Hit:7 http://mirror.estone.ca/debian trixie InRelease                                    
Fetched 43.4 kB in 1s (72.4 kB/s)
All packages are up to date.    
ca-certificates is already the newest version (20250419).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
You are on an unsupported version of Debian/Ubuntu. Current repo support is Ubuntu 22 (jammy), Ubuntu 20(focal), and Debian 12 (Bookworm)
me@file-server:~$ sudo nala update

Error: Malformed line 1 in source list /etc/apt/sources.list.d/45drives-enterprise-trixie.list (type)
Error: The list of sources could not be read.
me@file-server:~$ cat /etc/apt/sources.list.d/45drives-enterprise-trixie.list 
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions