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

deb-get update failing on Linux Mint #822

Closed
Daeraxa opened this issue Apr 28, 2023 · 9 comments · Fixed by #829
Closed

deb-get update failing on Linux Mint #822

Daeraxa opened this issue Apr 28, 2023 · 9 comments · Fixed by #829
Labels
bug Something isn't working

Comments

@Daeraxa
Copy link
Contributor

Daeraxa commented Apr 28, 2023

Reporting a bug 🐛

Expected behavior

deb-get update performs the update and provides a list of installable packages via deb-get list

Actual behavior

Stops on the following error:

  [!] ERROR! Missing required information of github package jellyfin-media-player:
                                                                                  URL=
                                                                                      VERSION_PUBLISHED=

deb-get list now stops at jellyfin as does the content of /var/cache/deb-get

Steps to reproduce

deb-get update

Also ran deb-get clean first but still shows the same issue (but on the first update it instead prints the above error into the terminal prompt:

 ~$ deb-get update                                                                                  
  [+] Updating /etc/deb-get/01-main
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  107k    0  107k    0     0   138k      0 --:--:-- --:--:-- --:--:--  138k
  [+] Updating /var/cache/deb-get/deb-get.json
  [+] Updating cache of supported apps in the background
  [+] Updating /var/cache/deb-get/pulsar.json
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:7 https://cli.github.com/packages stable InRelease
Hit:8 https://deb.nodesource.com/node_14.x focal InRelease
Hit:9 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:10 http://ppa.launchpad.net/fish-shell/release-3/ubuntu jammy InRelease
Hit:11 http://packages.microsoft.com/repos/code stable InRelease
Hit:12 https://updates.signal.org/desktop/apt xenial InRelease
Hit:13 http://ppa.launchpad.net/lutris-team/lutris/ubuntu jammy InRelease
Hit:14 http://repository.spotify.com stable InRelease
Hit:15 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Hit:16 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu jammy InRelease
Hit:17 http://ppa.launchpad.net/teejee2008/ppa/ubuntu jammy InRelease
Ign:18 http://packages.linuxmint.com vera InRelease
Hit:19 https://packages.element.io/debian default InRelease
Hit:20 http://packages.linuxmint.com vera Release
Hit:21 https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye InRelease
Get:22 https://dl.cloudsmith.io/public/infisical/infisical-cli/deb/linuxmint vanessa InRelease [5,134 B]
Ign:23 https://proget.makedeb.org makedeb InRelease
Get:24 https://proget.makedeb.org makedeb Release [7,608 B]
Fetched 120 kB in 1s (93.7 kB/s)
Reading package lists...
 ~ $  [!] ERROR! Missing required information of github package jellyfin-media-player:                                               
URL=
VERSION_PUBLISHED=

System information

Run the following a paste the output below:

/etc/os-release

NAME="Linux Mint"
VERSION="21.1 (Vera)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.1"
VERSION_ID="21.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=vera
UBUNTU_CODENAME=jammy

/etc/lsb-release

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=21.1
DISTRIB_CODENAME=vera
DISTRIB_DESCRIPTION="Linux Mint 21.1 Vera"

deb-get version

0.3.8

deb-get update

  [+] Updating /etc/deb-get/01-main
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  107k  100  107k    0     0   151k      0 --:--:-- --:--:-- --:--:--  258k
  [+] Updating cache of supported apps in the background
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Hit:6 http://ppa.launchpad.net/fish-shell/release-3/ubuntu jammy InRelease
Hit:7 http://repository.spotify.com stable InRelease
Hit:8 https://updates.signal.org/desktop/apt xenial InRelease
Hit:9 http://ppa.launchpad.net/lutris-team/lutris/ubuntu jammy InRelease
Hit:10 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Hit:11 https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye InRelease
Hit:12 https://deb.nodesource.com/node_14.x focal InRelease
Hit:13 https://packages.element.io/debian default InRelease
Hit:14 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu jammy InRelease
Hit:15 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:16 http://ppa.launchpad.net/teejee2008/ppa/ubuntu jammy InRelease
Get:17 https://dl.cloudsmith.io/public/infisical/infisical-cli/deb/linuxmint vanessa InRelease [5,134 B]
Ign:18 http://packages.linuxmint.com vera InRelease
Hit:19 http://packages.linuxmint.com vera Release
Ign:21 https://proget.makedeb.org makedeb InRelease
Get:22 https://proget.makedeb.org makedeb Release [7,608 B]
  [!] ERROR! Missing required information of github package jellyfin-media-player:
                                                                                  URL=
                                                                                      VERSION_PUBLISHED=
                                                                                                        Hit:24 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:25 http://packages.microsoft.com/repos/code stable InRelease
Hit:26 https://cli.github.com/packages stable InRelease
Fetched 120 kB in 6s (21.6 kB/s)
Reading package lists...
@philclifford
Copy link
Member

Hmm - what's the bash version on Mint 21 ?
bash --version|grep bash ...

@Daeraxa
Copy link
Contributor Author

Daeraxa commented Apr 28, 2023

GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

Just in case it matters I use the fish shell but saw the same issue with bash (not that I assume it matters what the terminal shell is when running the commands).

This was working before but I realised I just upgraded very recently from Mint 21 to 21.1 so it is possible something broke there.

@philclifford
Copy link
Member

philclifford commented Apr 28, 2023

I can reproduce this on a Mint 21 VM (which is struggling to apt update because gpg keys cycling, but that's unrelated - just very unhelpful!)
Installing deb-get required a dance too that either needs documenting or I should read the docs first next time ...

As to the problem in hand 🤷 it makes no sense - this will take some time to find I fear. I suspect this may also apply to debian 😿

Update: debian has issues (usual app/release support pain) but it is nothing like this. Just a datapoint, no closer to an idea

@philclifford
Copy link
Member

@Daeraxa could you change the issue title to include "on Linux Mint" please

@Daeraxa Daeraxa changed the title deb-get update failing deb-get update failing on Linux Mint Apr 28, 2023
@philclifford philclifford added the bug Something isn't working label May 2, 2023
@philclifford
Copy link
Member

Aha! I think I have the solution: the definition of jellyfin-media-player needs 's/ OS_CODENAME/UPSTREAM_CODENAME/' . Worked on my VM. I'll drop it in my branches and so on, but for immediate relief this should help :

sed   's/OS_CODENAME/UPSTREAM_CODENAME/' /etc/deb-get/01-main.d/jellyfin-media-player >/etc/deb-get/99-local.d/jellyfin-media-player

@Daeraxa
Copy link
Contributor Author

Daeraxa commented May 10, 2023

That is great that you managed to find it, I'll have a go on my PC in a bit and let you know!

@Daeraxa
Copy link
Contributor Author

Daeraxa commented May 10, 2023

Yay it worked! I get a full list now after running deb-get update.

@philclifford
Copy link
Member

Thanks! Sorry it took so long to spot.

@Daeraxa
Copy link
Contributor Author

Daeraxa commented May 10, 2023

No need to apologise, its an open source project. I'm only thankful for the time and effort being put into it.

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

Successfully merging a pull request may close this issue.

2 participants