Page 1 of 1

cant install 3ds-dev with pacman on fedora

Posted: Thu May 08, 2025 7:58 pm
by itsmgxb

Hello everyone
how are you?

I had a problem while installing 3ds-dev on my fedora 42 PC. i followed the wiki, and when I got to

Code: Select all

sudo pacman -S 3ds-dev

my terminal said something along the lines of "Couldn't find database" (I'd provide a log but its in my language which is polish and I doubt anyone would understand it).


Re: cant install 3ds-dev with pacman on fedora

Posted: Fri May 09, 2025 9:41 pm
by WinterMute

It's worth providing the error message anyway. We can try & figure it out.

did you run sudo pacman -Syy before trying to install 3ds-dev?


Re: cant install 3ds-dev with pacman on fedora

Posted: Sat May 10, 2025 11:24 pm
by itsmgxb

Okay,
i ran

Code: Select all

sudo pacman -Syy

and i got following error message:

Code: Select all

itsmgxb@fedora:~$ sudo pacman -Syy
[sudo] hasło użytkownika itsmgxb: 
:: Synchronizowanie baz danych z pakietami…
 core                    117,7 KiB   148 KiB/s 00:01 [############################] 100%
Nie udało się pobrać community.db
 extra                     7,8 MiB  3,85 MiB/s 00:02 [############################] 100%
 dkp-libs                201,7 KiB   291 KiB/s 00:01 [############################] 100%
Nie udało się pobrać dkp.db
 dkp-linux                21,0 KiB  14,8 KiB/s 00:01 [############################] 100%
błąd:  nie udało się pobrać pliku 'community.db' z mirror.rackspace.com : The requested URL returned error: 404
błąd:  nie udało się pobrać pliku 'dkp.db' z downloads.devkitpro.org : The requested URL returned error: 404
błąd:  nie udało się pobrać pliku 'community.db' z mirrors.kernel.org : The requested URL returned error: 404
błąd:  nie udało się zsynchronizować wszystkich baz danych (niespodziewany błąd)

it says "counldnt fdownload file 'community'db from mirror.rackspace.com" and at the end it says 'Error= Couldnt synchronize databases (unexpected error)

my pacman.conf file looks correct:

Code: Select all

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/packages
[core]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/mirrorlist

[dkp-libs]
Server = https://pkg.devkitpro.org/packages

[dkp]
Server = https://downloads.devkitpro.org/packages

[dkp-linux]
Server = https://pkg.devkitpro.org/packages/linux/$arch/

'

and when i run sudo pacman -S 3ds-dev:

Code: Select all

itsmgxb@fedora:~$ sudo pacman -S 3ds-dev
[sudo] hasło użytkownika itsmgxb: 
ostrzeżenie: database file for 'community' does not exist (use '-Sy' to download)
ostrzeżenie: database file for 'dkp' does not exist (use '-Sy' to download)
:: Znaleziono 17 pakietów w grupie 3ds-dev:
:: Repozytorium dkp-libs
   1) 3ds-cmake  2) 3ds-examples  3) 3ds-pkg-config  4) catnip  5) citro2d  6) citro3d  7) devkitarm-cmake  8) devkitarm-crtls  9) libctru
:: Repozytorium dkp-linux
   10) 3dslink  11) 3dstools  12) devkit-env  13) devkitARM  14) devkitARM-gdb  15) general-tools  16) picasso  17) tex3ds

Wybierz pakiety (domyślnie=wszystkie): 
błąd:  nie udało się przygotować transakcji (nie udało się odnaleźć bazy danych)

(the same error as in pacman -Syy


Re: cant install 3ds-dev with pacman on fedora

Posted: Thu May 15, 2025 7:41 am
by WinterMute

You have extra repositories in your pacman.conf. Reduce these to just core, extra, dkp-libs and dkp-linux. I'm not really sure what the first two are so double check that those were already in your system installed pacman.conf

Code: Select all

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/packages
[core]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/mirrorlist

[dkp-libs]
Server = https://pkg.devkitpro.org/packages

[dkp-linux]
Server = https://pkg.devkitpro.org/packages/linux/$arch/