Copr repo for ghostty issues

zkab

New Member
Joined
Dec 23, 2023
Messages
13
Reaction score
1
Credits
124
I upgraded to Fedora44 and got this ... how can this be fixed?
Code:
sudo dnf upgrade --refresh
Removed 1 files, 1 directories (total of 0 B). 0 errors occurred.
Updating and loading repositories:
 Copr repo for ghostty owned by pgdev                                                                                                                                                                                 100% | 661.0   B/s | 632.0   B |  00m01s
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml (IP: 2600:9000:272c:7600:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml (IP: 2600:9000:272c:7600:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml (IP: 2600:9000:272c:7600:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml (IP: 2600:9000:272c:7600:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-rawhide-x86_64/repodata/repomd.xml
>>> Usable URL not found
 RPM Fusion for Fedora 44 - Nonfree - NVIDIA Driver                                                                                                                                                                   100% |   4.7 KiB/s |  18.0 KiB |  00m04s
 RPM Fusion for Fedora 44 - Nonfree - Updates                                                                                                                                                                         100% |   5.8 KiB/s |  27.8 KiB |  00m05s
 RPM Fusion for Fedora 44 - Nonfree - Steam                                                                                                                                                                           100% |   3.0 KiB/s |  13.3 KiB |  00m04s
 RPM Fusion for Fedora 44 - Free - Updates                                                                                                                                                                            100% |  13.1 KiB/s |  38.3 KiB |  00m03s
 Copr repo for PyCharm owned by phracek                                                                                                                                                                               100% |   3.8 KiB/s |   4.1 KiB |  00m01s
 Copr repo for yazi owned by lihaohong                                                                                                                                                                                100% |   3.1 KiB/s |   3.3 KiB |  00m01s
 RPM Fusion for Fedora 44 - Nonfree                                                                                                                                                                                   100% |  27.4 KiB/s | 100.1 KiB |  00m04s
 google-chrome                                                                                                                                                                                                        100% |   2.4 KiB/s |   3.3 KiB |  00m01s
 Adoptium                                                                                                                                                                                                             100% |   5.6 KiB/s |   7.4 KiB |  00m01s
 Fedora 44 - x86_64 - Updates                                                                                                                                                                                         100% |   1.3 MiB/s |   7.5 MiB |  00m06s
 Fedora 44 openh264 (From Cisco) - x86_64                                                                                                                                                                             100% |   2.1 KiB/s |   5.3 KiB |  00m03s
 Fedora 44 - x86_64                                                                                                                                                                                                   100% |  15.0 MiB/s |  36.4 MiB |  00m02s
 RPM Fusion for Fedora 44 - Free                                                                                                                                                                                      100% |  34.9 KiB/s | 157.6 KiB |  00m05s
Repositories loaded.
Nothing to do.
╭─forsete@asus-nuc ~ 
╰─➤  dnf repolist     
repo id                                                                                                           repo name                                                                                                                                   
adoptium-temurin-java-repository                                                                                  Adoptium                                                                                                                                   
copr:copr.fedorainfracloud.org:lihaohong:yazi                                                                     Copr repo for yazi owned by lihaohong                                                                                                       
copr:copr.fedorainfracloud.org:pgdev:ghostty                                                                      Copr repo for ghostty owned by pgdev                                                                                                       
copr:copr.fedorainfracloud.org:phracek:PyCharm                                                                    Copr repo for PyCharm owned by phracek                                                                                                     
fedora                                                                                                            Fedora 44 - x86_64                                                                                                                         
fedora-cisco-openh264                                                                                             Fedora 44 openh264 (From Cisco) - x86_64                                                                                                   
google-chrome                                                                                                     google-chrome                                                                                                                               
rpmfusion-free                                                                                                    RPM Fusion for Fedora 44 - Free                                                                                                             
rpmfusion-free-updates                                                                                            RPM Fusion for Fedora 44 - Free - Updates                                                                                                   
rpmfusion-nonfree                                                                                                 RPM Fusion for Fedora 44 - Nonfree                                                                                                         
rpmfusion-nonfree-nvidia-driver                                                                                   RPM Fusion for Fedora 44 - Nonfree - NVIDIA Driver                                                                                         
rpmfusion-nonfree-steam                                                                                           RPM Fusion for Fedora 44 - Nonfree - Steam                                                                                                 
rpmfusion-nonfree-updates                                                                                         RPM Fusion for Fedora 44 - Nonfree - Updates                                                                                               
updates                                                                                                           Fedora 44 - x86_64 - Updates
 


ghostty maintainers have not released a repository for Fedora 44, it seems. You need to wait, or ask them when they are going to do so, or ask them if there's updated procedure for Fedora 44.
 
What I had with another COPR (niri with dank) is getting 404 for the older release. That can happen too. After upgrading release, it all updated smooth again. I guess it's a matter of what releases a COPR maintainer can support / build packages for.
 
copr is user maintained, (I have projects on copr). Not maintained by the vendor.
Anyone can quit supporting an app any time they want to.
 
dnf copr enable scottames/ghostty
dnf install ghostty
https://copr.fedorainfracloud.org/api_3/rpmrepo/scottames/ghostty/fedora-44/ 100% | 1.8 KiB/s | 558.0 B | 00m00s
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.

The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
Is this ok [y/N]: y
Updating and loading repositories:
Copr repo for ghostty owned by scottames 100% | 11.5 KiB/s | 4.9 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
ghostty x86_64 0:1.3.1-2.fc44 copr:copr.fedorainfracloud.org:scottames:ghostty 129.7 MiB
Installing dependencies:
gtk4-layer-shell x86_64 0:1.3.0-1.fc44 fedora 69.1 KiB
ncurses-term noarch 0:6.6-1.fc44 fedora 1.8 MiB
zlib-ng x86_64 0:2.3.3-3.fc44 fedora 186.0 KiB
Installing weak dependencies:
ghostty-bash-completion noarch 0:1.3.1-1.fc44 terra 25.7 KiB
ghostty-shell-integration noarch 0:1.3.1-1.fc44 terra 69.4 KiB
ghostty-terminfo noarch 0:1.3.1-1.fc44 terra 3.8 KiB

Transaction Summary:
Installing: 7 packages

Total size of inbound packages is 37 MiB. Need to download 37 MiB.
After this operation, 132 MiB extra will be used (install 132 MiB, remove 0 B).
Is this ok [y/N]: y
[1/7] ghostty-0:1.3.1-2.fc44.x86_64 100% | 41.4 MiB/s | 35.5 MiB | 00m01s
[2/7] zlib-ng-0:2.3.3-3.fc44.x86_64 100% | 107.7 KiB/s | 98.7 KiB | 00m01s
[3/7] gtk4-layer-shell-0:1.3.0-1.fc44.x86_64 100% | 39.7 KiB/s | 36.5 KiB | 00m01s
[4/7] ghostty-bash-completion-0:1.3.1-1.fc44.noarch 100% | 20.9 KiB/s | 12.5 KiB | 00m01s
[5/7] ghostty-terminfo-0:1.3.1-1.fc44.noarch 100% | 17.9 KiB/s | 9.6 KiB | 00m01s
[6/7] ghostty-shell-integration-0:1.3.1-1.fc44.noarch 100% | 47.3 KiB/s | 27.0 KiB | 00m01s
[7/7] ncurses-term-0:6.6-1.fc44.noarch 100% | 924.0 KiB/s | 994.3 KiB | 00m01s
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[7/7] Total 100% | 11.4 MiB/s | 36.6 MiB | 00m03s
[1/8] https://download.copr.fedorainfracloud.org/results/scottames/ghostty/pubkey.gpg ???% [<=> ] | 0.0 B/s | 0.0 B | 00m00s
[1/8] https://download.copr.fedorainfracloud.org/results/scottames/ghostty/pubkey.gpg 100% | 13.9 KiB/s | 1.0 KiB | 00m00s
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[8/8] Total 100% | 11.4 MiB/s | 36.6 MiB | 00m03s
Importing OpenPGP key 0xFEB5DAFB:
UserID : "scottames_ghostty (None) <scottames#[email protected]>"
Fingerprint: 2DEFB319CCC3F393B6DAEAB297C83CA0FEB5DAFB
From : https://download.copr.fedorainfracloud.org/results/scottames/ghostty/pubkey.gpg
Is this ok [y/N]: y
The key was successfully imported.
[1/9] Verify package files 100% | 58.0 B/s | 7.0 B | 00m00s
[2/9] Prepare transaction 100% | 15.0 B/s | 7.0 B | 00m00s
[3/9] Installing ncurses-term-0:6.6-1.fc44.noarch 100% | 13.5 MiB/s | 2.2 MiB | 00m00s
[4/9] Installing zlib-ng-0:2.3.3-3.fc44.x86_64 100% | 61.0 MiB/s | 187.4 KiB | 00m00s
[5/9] Installing gtk4-layer-shell-0:1.3.0-1.fc44.x86_64 100% | 17.3 MiB/s | 71.0 KiB | 00m00s
[6/9] Installing ghostty-0:1.3.1-2.fc44.x86_64 100% | 508.9 MiB/s | 129.8 MiB | 00m00s
[7/9] Installing ghostty-bash-completion-0:1.3.1-1.fc44.noarch 100% | 25.4 MiB/s | 26.0 KiB | 00m00s
[8/9] Installing ghostty-terminfo-0:1.3.1-1.fc44.noarch 100% | 3.9 MiB/s | 4.0 KiB | 00m00s
[9/9] Installing ghostty-shell-integration-0:1.3.1-1.fc44.noarch 100% | 116.4 KiB/s | 70.9 KiB | 00m01s
Complete!
 
scottames? This is someone else's private repo? It is different from what OP was using (pgdev).

This is the repo in copr. copr is pretty good about code checking, and vetting/ They dont just let anything get added.
 
This is the repo in copr. copr is pretty good about code checking, and vetting/ They dont just let anything get added.
But still, which one is official, and which one is a private guy repo?
Fedora does not have resources to check every binary, and builds are not reproducible, meaning, anyone can sneak malicious code one day. Same thing happens in Google Play on Android, Chrome addons, Firefox addons, Apple Appstore, very often.
 
Fedora does not have resources to check every binary,

They DO have the resources to check every app that goes in copr.

Here are the official installation instructions fromhre official site.


It uses the same repo, I posted above.
 
They DO have the resources to check every app that goes in copr.

Here are the official installation instructions fromhre official site.


It uses the same repo, I posted above.
I doubt they check every single binary that goes into repos and not sure if builds are reproducible but I may be wrong.

As you say, main source lists scottames repository as official.
What is the OP using then?
 
I doubt they check every single binary that goes into repos and not sure if builds are reproducible but I may be wrong.

You are absolutely wrong, every .. I mean EVERY single app goes thru 5 automated code checkers. But here's the thing, I can't upload a binary to copr, you have to include the source, it can live in github, or some public accessible place, but the source code has to be accessible. You never upload a binary to copr. I only submit source code. copr builds it on the fly, and thats the binary you get. Now of course you can by-pass copr and download from a 3rd party website.

This is the biggest difference between fedora and most other repos.
 
You are absolutely wrong, every .. I mean EVERY single app goes thru 5 automated code checkers. But here's the thing, I can't upload a binary to copr, you have to include the source, it can live in github, or some public accessible place, but the source code has to be accessible. You never upload a binary to copr. I only submit source code. copr builds it on the fly, and thats the binary you get. Now of course you can by-pass copr and download from a 3rd party website.

This is the biggest difference between fedora and most other repos.
Oh that's great to hear. I learn something new every day, thank you.

This question remain why OP cited different repo while ghostty now sources scottames one as official.
 
Last edited:
This question remain why OP cited different repo while ghostty now sources scottames one as official.
Yes, good you noticed that. @zkab you definitely want to check that. Also, it shows they released it for your new release already.
 


Follow Linux.org

Staff online

Members online


Top