Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法从 athena-os.github.io : The requested URL returned error: 404 获取文件 'athena-repository.db' #8

Open
tzyyyyyyy opened this issue Jan 11, 2024 · 26 comments

Comments

@tzyyyyyyy
Copy link

我在用pacman更新时 无法同步更新数据库 并用安装每个工具的时候都会提示:警告:database file for 'athena-repository' does not exist (use '-Sy' to download) 请问我该如何解决?
微信图片_20240111114054
微信图片_20240111114100

@D3vil0p3r
Copy link
Member

You are using an old ISO

@tzyyyyyyy
Copy link
Author

You are using an old ISO
我更换了新版的iso,并且重新安装了 但是还是报错和数据库相关的问题
微信图片_20240112092915

@D3vil0p3r
Copy link
Member

Did you ever use an Arch Linux distro?

@tzyyyyyyy
Copy link
Author

您使用过 Arch Linux 发行版吗?

很抱歉,我用过unbuntu debian centos,还没有用过arch linux

@tzyyyyyyy
Copy link
Author

我对照你之前回答的一些问题 解决了数据库的报错问题 但是现在还有一个报错
微信图片_20240112100005

@D3vil0p3r
Copy link
Member

First you should avoid to use root account for activities, because not secure. Then, if you get issues related to single mirrors, you can comment them in the mirrorlist files.

@m310ct
Copy link

m310ct commented Jan 21, 2024

我对照你之前回答的一些问题 解决了数据库的报错问题 但是现在还有一个报错 微信图片_20240112100005

哥们,你之前无法从 athena-os.github.io : The requested URL returned error: 404 获取文件 'athena-repository.db'这个问题是咋解决的,我解决不了,换了源也没用

@D3vil0p3r
Copy link
Member

  • Solution: edit /etc/pacman.conf and replace [athena-repository] by [athena]. Then replace the content of /etc/pacman.d/athena-mirrorlist by:
# Global
Server = https://athena-os.github.io/$repo-repository/$arch

# Lithuania
Server = https://hub.athenaos.org/$repo/$arch

@m310ct
Copy link

m310ct commented Jan 21, 2024

  • 解决方案:编辑并替换为 。然后将以下内容替换为:/etc/pacman.conf``[athena-repository]``[athena]``/etc/pacman.d/athena-mirrorlist
# Global
Server = https://athena-os.github.io/$repo-repository/$arch

# Lithuania
Server = https://hub.athenaos.org/$repo/$arch

I replaced the contents of "/etc/pacman.d/athena-mirrorlist" as you said, but when I execute "pacman -syu", it still prompts: "athena-repository .db download failed".Could it be because I'm in China and can't access foreign networks due to regional network restrictions?

@D3vil0p3r
Copy link
Member

D3vil0p3r commented Jan 21, 2024

Did you replace the string also in /etc/pacman.conffile?

@m310ct
Copy link

m310ct commented Jan 21, 2024

Yes, I replace the string in file /etc/pacman.conf. But it still failed to get athena-repository

@D3vil0p3r
Copy link
Member

Maybe because you are using s lowercase in pacman command. Run sudo pacman -Syyu.

@m310ct
Copy link

m310ct commented Jan 21, 2024

I tried using the latest system version, but when I clicked the reboot button, the screen went black。。。

@D3vil0p3r
Copy link
Member

but it reboots? Are you in baremetal or VM? Which environment are u using (GNOME, XFCE, etc.)?

@m310ct
Copy link

m310ct commented Jan 21, 2024

I am in VM. And I use GNOME

@D3vil0p3r
Copy link
Member

Wayland or Xorg?

@m310ct
Copy link

m310ct commented Jan 21, 2024

It should be Xorg

@D3vil0p3r
Copy link
Member

what if you open the terminal and run sudo reboot?

@m310ct
Copy link

m310ct commented Jan 21, 2024

When I turn on the system, it doesn't show any text, but gets stuck on a black screen

@D3vil0p3r
Copy link
Member

Currently we are working on migration from Arch to Nix. I suggest you to wait until our pre-release and try it.

@m310ct
Copy link

m310ct commented Jan 21, 2024

Thank you for your answer. In my opinion, Athena OS is a great operating system, the UI is very cool. Hopefully, the Athena system will be a success!

@Eric-Zhang007
Copy link

实际上出现黑屏是因为其实根本没安装上,如果我没猜错你用的新版应该只有在线安装吧,然后因为国内网络的原因,这东西根本下不下来,然后就报了个error然后就跳到下一环节直接让你reboot了,我这里之前是这种情况,所以用了旧版的iso,因为有离线安装。 @Gravel-1019

@m310ct
Copy link

m310ct commented Feb 7, 2024

实际上出现黑屏是因为其实根本没安装上,如果我没猜错你用的新版应该只有在线安装吧,然后因为国内网络的原因,这东西根本下不下来,然后就报了个error然后就跳到下一环节直接让你reboot了,我这里之前是这种情况,所以用了旧版的iso,因为有离线安装。 @Gravel-1019

我也尝试过旧版的安装包,可是升级软件包的时候有一个database的文件总是装不上

@D3vil0p3r
Copy link
Member

实际上出现黑屏是因为其实根本没安装上,如果我没猜错你用的新版应该只有在线安装吧,然后因为国内网络的原因,这东西根本下不下来,然后就报了个error然后就跳到下一环节直接让你reboot了,我这里之前是这种情况,所以用了旧版的iso,因为有离线安装。 @Gravel-1019

我也尝试过旧版的安装包,可是升级软件包的时候有一个database的文件总是装不上

It was one of the reasons we switched to NixOS

@404lol13
Copy link

404lol13 commented Mar 8, 2024

  • Solution: edit /etc/pacman.conf and replace [athena-repository] by [athena]. Then replace the content of /etc/pacman.d/athena-mirrorlist by:
# Global
Server = https://athena-os.github.io/$repo-repository/$arch

# Lithuania
Server = https://hub.athenaos.org/$repo/$arch

is there any server in china?foreign server is not available in china mainland.
the same problem with athena installed by nixos,the VM machine cant link to github

@D3vil0p3r
Copy link
Member

  • Solution: edit /etc/pacman.conf and replace [athena-repository] by [athena]. Then replace the content of /etc/pacman.d/athena-mirrorlist by:
# Global
Server = https://athena-os.github.io/$repo-repository/$arch

# Lithuania
Server = https://hub.athenaos.org/$repo/$arch

is there any server in china?foreign server is not available in china mainland. the same problem with athena installed by nixos,the VM machine cant link to github

Mmm what about GitLab in China?
GitHub is not accessible from China?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants