LINBIT / linstor-server

High Performance Software-Defined Block Storage for container, cloud and virtualisation. Fully integrated with Docker, Kubernetes, Openstack, Proxmox etc.
https://docs.linbit.com/docs/linstor-guide/
GNU General Public License v3.0
988 stars 76 forks source link

Missing Components in InRelease (proxmox-7 repo) #289

Closed cirruspl closed 2 years ago

cirruspl commented 2 years ago

Just like described in subject.

InRelease file contains

Architectures: amd64 arm64 ppc64el s390x
Codename: proxmox-7
Date: Thu, 28 Apr 2022 17:21:00 +0000
Origin: LINBIT

but apt update doesn't download any Packages file

rck commented 2 years ago

works as expected for me. I ran this in a bullseye (which is basically proxmox-7) container:

root@8bc343203654:/# wget -O- https://packages.linbit.com/package-signing-pubkey.asc | apt-key add -
--2022-05-09 11:22:23--  https://packages.linbit.com/package-signing-pubkey.asc
Resolving packages.linbit.com (packages.linbit.com)... Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
159.69.154.96, 2a01:4f8:1c1c:6ab9::1
Connecting to packages.linbit.com (packages.linbit.com)|159.69.154.96|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18706 (18K) [text/plain]
Saving to: 'STDOUT'

-                                       100%[==============================================================================>]  18.27K  --.-KB/s    in 0s

2022-05-09 11:22:23 (86.9 MB/s) - written to stdout [18706/18706]

OK
root@8bc343203654:/# PVERS=7 && echo "deb http://packages.linbit.com/proxmox/ proxmox-$PVERS drbd-9" > \
        /etc/apt/sources.list.d/linbit.list
root@8bc343203654:/# apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Get:2 https://packages.linbit.com/proxmox proxmox-7 InRelease [2136 B]
Get:5 https://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages [19.2 kB]
Fetched 21.3 kB in 0s (44.9 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
11 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@8bc343203654:/# apt policy linstor-controller
linstor-controller:
  Installed: (none)
  Candidate: 1.18.0-1
  Version table:
     1.18.0-1 500
        500 http://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages
     1.17.0-1 500
        500 http://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages
     1.16.0-1 500
        500 http://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages
     1.15.0-1 500
        500 http://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages
     1.14.0-1 500
        500 http://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages
     1.13.1-1 500
        500 http://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages
     1.11.1-1 500
        500 http://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 Packages
root@8bc343203654:/# apt download linstor-controller
Get:1 https://packages.linbit.com/proxmox proxmox-7/drbd-9 amd64 linstor-controller all 1.18.0-1 [10.7 MB]
Fetched 10.7 MB in 2s (6804 kB/s)
W: Download is performed unsandboxed as root as file '//linstor-controller_1.18.0-1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
root@8bc343203654:/# ls
bin  boot  dev  etc  home  lib  lib64  linstor-controller_1.18.0-1_all.deb  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

so please help me to help you, how does your linbit.list look like exactly? did you fetch our signing key? what does "does not download any Packages" even mean (i.e., exact apt commands you ran and their output)?

rck commented 2 years ago

the Component should not matter

cirruspl commented 2 years ago

Hi, i had to fix my linbit.list file. I had: deb http://packages.linbit.com/proxmox/ proxmox-7 drbd-9.0

Now with deb http://packages.linbit.com/proxmox/ proxmox-7 drbd-9 it works as in your test.

Thank you very much for your time.

rck commented 2 years ago

you are welcome. as a note for those that might find that issue later: the drbd-9.0 repo was for 9.0 DRBD kernel modules only (i.e., no 9.1 kernel module in that repo). And I think I gave that repo up when I rewrote our repo management tool as back then 9.1 already was the new stable DRBD release. the drbd-9 repo, as the name suggests, will contain all of the DRBD 9.x modules.