deb-get: ERROR! Missing required information of github package emby-server

Reporting a bug 🐛

Expected behavior

deb-get runs w/o errors

Actual behavior

deb-get runs with errors

Steps to reproduce

env DEBGET_TOKEN=ghp_XXX deb-get update

System information

Run the following a paste the output below:

/etc/os-release

> cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

/etc/lsb-release

> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"

deb-get version

> deb-get version
0.4.0

deb-get update

> env DEBGET_TOKEN=ghp_XXX deb-get update
  [+] Updating /etc/deb-get/01-main
-=#=-#   #     #
  [+] Updating /etc/deb-get/91-fixes
-=#=-#   #     #
  [+] Updating cache of supported apps in the background
  [+] Updating /var/cache/deb-get/deb-get.json
Hit:10 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:11 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
[…]
  [!] ERROR! Missing required information of github package emby-server:
URL=
VERSION_PUBLISHED=
[…]
Fetched 4.778 kB in 41s (116 kB/s)
Reading package lists...

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

Always glad to help, or at least try. Glad it’s working for you again.

@philclifford Thank you for details.

> curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | bash -s install deb-get
  [+] Updating /var/cache/deb-get/deb-get.json
  [*] WARNING! Updating /var/cache/deb-get/deb-get.json failed.
  [+] deb-get_0.4.0-1_all.deb is up to date.

> deb-get show glab
  [!] ERROR! Missing required information of direct package glab:
URL=
VERSION_PUBLISHED=

So I went forcible =)

> curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | tee /bin/deb-get

And now it’s all fine. Thanks for the insights and hints.

Odd. I think I know the reason though: I think glab needs a new function for getting its info from gitlab which went into deb-get alongside the PR that addded glab using it. If you update your deb-get to the one from head (or any after the commit that merged glab in) it should work for you as it does for me.

Note to self and @wimpysworld/deb-get-devs : if a package is to be added that requires new functionality in deb-get to work we need to hold off adding the package definition until after the relevant code is merged and released.

deb-get show glab
Glab
  Package:	glab
  Repository:	90-contribs
  Updater:	deb-get
  Installed:	No
  Published:	1.40.0
  Architecture:	amd64
  Download:	https://gitlab.com/gitlab-org/cli/-/releases/v1.40.0/downloads/glab_1.40.0_Linux_x86_64.deb
  Website:	https://gitlab.com/gitlab-org/cli
  Summary:	A GitLab CLI tool bringing GitLab to your command line

for end users around troubleshooting and FAQ-type questions.

That would be indeed great. Maybe also spit out a short one-step direction on what may help, like Try deleting "/var/cache/deb-get/<package>.{json,html}" file along the error message.

Glad it’s working for you. We do need better documentation for end users around troubleshooting and FAQ-type questions. Your input is very valuable in this effort. Thanks

Aha, so the “cached json” is /var/cache/deb-get/emby-server.json. Now it runs w/o error.