You are not logged in.

#1 2023-05-24 11:14:32

Section8
Member
Registered: 2023-05-12
Posts: 23

[Solved] Can't retrieve package for python-setuptools-1:67.7.1

Hello,
I am trying to do pacman -S python-setuptools --asdep, but from every mirror I have defined, I get:

error: failed retrieving file 'python-setuptools-1:67.7.1-1-any.pkg.tar.zst' from mirrors.rit.edu : The requested URL returned error: 404

I have run reflector --latest 50 --sort rate --save /etc/pacman.d/mirrorlist, but still can't retrieve this package.
I have also run pacman -Syu "pacman>=6.0.2-7" since the git migration, and merged pacnew.  This is my current /etc/pacman.conf:

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
CacheDir    = /var/cache/pacman/pkg/ /home/john/custompkgs
CleanMethod = KeepCurrent
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
NoExtract   = usr/share/fonts/noto/* !*NotoMono-* !*NotoSansDisplay-* !*NotoSansMono-* !*NotoSansSymbols* !*NotoSerif-* !*NotoSerifDisplay-*

# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

#[extra-testing]
#Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# 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/john/custompkgs

Do I have something misconfigured, or is this just fallout from the migration?

Last edited by Section8 (2023-05-24 12:06:44)

Offline

#2 2023-05-24 11:21:00

dogknowsnx
Guest

Re: [Solved] Can't retrieve package for python-setuptools-1:67.7.1

Try syncing your databases again

pacman -Syu python-setuptools --asdeps

Last edited by dogknowsnx (2023-05-24 11:21:34)

#3 2023-05-24 11:37:47

Section8
Member
Registered: 2023-05-12
Posts: 23

Re: [Solved] Can't retrieve package for python-setuptools-1:67.7.1

Thank you, that did it.  I'm an Arch noob, just installed last week.  A couple of times using pacman, I've gotten 404s from all of my mirrors trying to install something.  I then updated my mirrors with reflector, trying to get past it.  Is installing using "pacman -Syu" the first thing to try when that happens?

Offline

#4 2023-05-24 11:41:13

dogknowsnx
Guest

Re: [Solved] Can't retrieve package for python-setuptools-1:67.7.1

It is generally recommended running an up-to-date system when installing packages - so yes I guess...

EDIT: Please always remember to mark solved threads by prepending "[SOLVED]" to the title, so that others know that there's a solution to be found...

Last edited by dogknowsnx (2023-05-24 11:52:00)

#5 2023-05-24 14:46:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,652

Re: [Solved] Can't retrieve package for python-setuptools-1:67.7.1

Section8 wrote:

Thank you, that did it.  I'm an Arch noob, just installed last week.  A couple of times using pacman, I've gotten 404s from all of my mirrors trying to install something.  I then updated my mirrors with reflector, trying to get past it.  Is installing using "pacman -Syu" the first thing to try when that happens?

I'm afraid you picked a bad time to install Arch as we have just gone through a complete change in how our source and packages are managed.  The transition is pretty much over and you should have fewer issue going forward.  It's actually impressive you navigated the change during your first install.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB