devkitPro / pacman

GNU General Public License v2.0
170 stars 16 forks source link

failed retrieving file 'dkp-libs.db' from downloads.devkitpro.org : The requested URL returned error: 403 #22

Closed Midar closed 4 years ago

Midar commented 4 years ago

When trying to install devkitPro via gdebi as per instructions, it fails like this:

Preparing to unpack devkitpro-pacman.amd64.deb ...
Unpacking devkitpro-pacman (1.0.2) ...
Setting up devkitpro-pacman (1.0.2) ...
gpg: /opt/devkitpro/pacman/etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/opt/devkitpro/pacman/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
gpg: key 04C2149CF92B28F7 marked as ultimately trusted
gpg: directory '/opt/devkitpro/pacman/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/opt/devkitpro/pacman/etc/pacman.d/gnupg/openpgp-revocs.d/053A3EECDA2FC7D1EF39A22404C2149CF92B28F7.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from devkitpro.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signing key BC26F752D25B92CE272E0F44F7FD5492264BB9D0...
  -> Locally signing key 032F4C9D0B8FF3BC84019B7862C7609ADA219C60...
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   2  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   2  signed:   0  trust: 0-, 0q, 0n, 2m, 0f, 0u
:: Synchronizing package databases...
error: failed retrieving file 'dkp-libs.db' from downloads.devkitpro.org : The requested URL returned error: 403
error: failed to update dkp-libs (unexpected error)
error: failed retrieving file 'dkp-linux.db' from downloads.devkitpro.org : The requested URL returned error: 403
error: failed to update dkp-linux (unexpected error)
error: failed to synchronize all databases
dpkg: error processing package devkitpro-pacman (--install):
 installed devkitpro-pacman package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 devkitpro-pacman

I'm guessing the permissions on the server are set incorrectly?

Also, it seemes the download URL of the .deb changed a few times. It would be nice if it could be kept stable, at least for existing releases.

WinterMute commented 4 years ago

image

Midar commented 4 years ago

So, does this mean that all builds on Travis were intentionally broken?

Is there an example file for using Docker on Travis? Why force people to use Docker? It seems pointless to use Docker when there already is an existing package. Docker is for when someone couldn't be bothered to package it up properly. In this case, it seems like just a bunch of extra bloat for no gain?

WinterMute commented 4 years ago

It means that using pacman for CI is unsupported. Docker, unlike pacman is cached and directly supported by most CI build services. libnds has been using docker via Travis for over 2 years. https://github.com/devkitPro/libnds/blob/master/.travis.yml

Today I'd probably consider using github's CI docker support. https://github.com/devkitPro/wut/blob/master/.github/workflows/ci.yml