You are not logged in.

#1 2025-04-22 00:15:07

johnspack
Member
Registered: 2024-09-16
Posts: 6

Trying to build Arch with KDE, but setuptools is too old [solved]

It keeps trying to install python-setuptools 1:78.1.0,  but only 1:78.1.1 seems to be available.  It just gives me a 404 error,  which makes sense as 1.0 is deprecated.
Using the latest archlinux 2025.04.01 iso.  Any ideas?  I can't get my KDE desktop installed until this is resolved.  And yes I refreshed mirrors,  added new mirrors...  nothing works.

Last edited by johnspack (2025-04-23 20:44:44)

Offline

#2 2025-04-22 00:43:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,666

Re: Trying to build Arch with KDE, but setuptools is too old [solved]

404 pretty much always means full system update.

Offline

#3 2025-04-22 01:57:46

johnspack
Member
Registered: 2024-09-16
Posts: 6

Re: Trying to build Arch with KDE, but setuptools is too old [solved]

This is while doing a brand new install.  It just keeps saying 404 not found on every repo server.  It will install every other file needed except for that one.  I have done many arch installs with kde to this point.
I see that python-setuptools was just updated to 1.1 in the repos,  but the script is still calling for 1.0.  I have run pacman -Syu,  -Syyu,  I've added additional ranked repos,  nothing works....

Last edited by johnspack (2025-04-22 01:58:23)

Offline

#4 2025-04-22 03:43:55

dakota
Member
Registered: 2016-05-20
Posts: 373

Re: Trying to build Arch with KDE, but setuptools is too old [solved]

johnspack wrote:

The script is still calling for 1.0.

What script? You mean

sudo pacman -Syu

???

If pacman can connect to the first mirror in your mirror list, it won't check any of the other mirrors. So it won't matter if you "add additional" mirrors. The problem is not with python-setuptools, but with whatever is calling it as a dependency. *That* software has not been updated. That's why Scimmia said this is a full system update issue.

Please post your mirrorlist, the exact command you issue which generates the error, and the exact error message.

Cheers,

P.S. And it doesn't matter if this is a new install or not, or even if the .iso is the most recent: the system will still need to be updated.


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#5 2025-04-23 14:53:56

veox
Member
Registered: 2008-10-28
Posts: 49
Website

Re: Trying to build Arch with KDE, but setuptools is too old [solved]

johnspack wrote:

And yes I refreshed mirrors,  added new mirrors...  nothing works.

TL;DR: Add a non-stale mirror as the first entry in `/etc/pacman.d/mirrorlist`. Perhaps even as the only one. This thread was most helpful.

-----

Long:

I've also encountered this problem, on a freshly installed "remote" system using `archlinux-2025.04.01-x86_64.iso`. Here's how to check if the above applies to your case.

The "error", slightly edited:

% sudo pacman -Syyu
resolving dependencies...
looking for conflicting packages...

Packages (9) python-autocommand-2.2.2-7  python-jaraco.collections-5.1.0-1  python-jaraco.context-6.0.1-1  python-jaraco.functools-4.1.0-1  python-jaraco.text-4.0.0-2  python-more-itertools-10.6.0-1  python-platformdirs-4.3.6-2
             python-wheel-0.45.1-1  python-setuptools-1:78.1.0-1

Total Download Size:   1.30 MiB
Total Installed Size:  9.94 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 python-setuptools-1:78.1.0-1-any.pkg.tar.zst failed to download
error: failed retrieving file 'python-setuptools-1:78.1.0-1-any.pkg.tar.zst' from cdnmirror.com : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:78.1.0-1-any.pkg.tar.zst' from mirrors.niyawe.de : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:78.1.0-1-any.pkg.tar.zst' from mirror.pseudoform.org : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:78.1.0-1-any.pkg.tar.zst' from archlinux.mailtunnel.eu : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:78.1.0-1-any.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
<... all the mirrors ...>
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

`pacman -Sy` shows syncing as regularly, nothing to notice.

Went to a "random" mirror's HTTPS, archlinux.mailtunnel.eu, and verified that the new package is indeed there, for my workstation's browser at least.

On the workstation, `pacman -Ss python-setuptools` lists `extra/python-setuptools 1:78.1.1-1` as newest. On the remote - not so. hmm

Then noticed that even doing `sudo pacman -Syy --verbose` on the remote does not update the files in `/var/lib/pacman/sync`.

Going to cdnmirror.com, which in my case is the first listed mirror, I see that `lastsync` is indeed Sat, 19 Apr 2025 17:03:01 +0000, which is ~4 days ago ATM.

Moving the `mailtunnel.eu` mirror up the list fixed the problem.

Sent a mail to cdnmirror's admin. My mail often goes to spam.

P.S. If this helped, please add [SOLVED] to title.

Last edited by veox (2025-04-23 15:08:46)

Offline

#6 2025-04-23 20:45:41

johnspack
Member
Registered: 2024-09-16
Posts: 6

Re: Trying to build Arch with KDE, but setuptools is too old [solved]

The mirrors finally updated today.  I didn't have to do anything different and this time it just installed and booted up my desktop.
Also I would remove cdmirror.com from your mirrorlist.

Last edited by johnspack (2025-04-25 01:38:58)

Offline

#7 2025-04-25 14:12:13

cdnmirror
Member
Registered: 2025-04-25
Posts: 1

Re: Trying to build Arch with KDE, but setuptools is too old [solved]

Hey. I just wanted to point out that I got your email @veox and I did answer it. Not sure if you got it and thanks for pointing it out.
Sorry about that. The cache flush seems to have had some failed calls. It's fixed now.

Last edited by cdnmirror (2025-04-25 14:15:25)

Offline

Board footer

Powered by FluxBB