Unable to satisfy dependency 'python-httpx<0.22' required by python-httpx-socks

Is there any readily available fix for:

unable to satisfy dependency 'python-httpx<0.22' required by python-httpx-socks

This error shows up when trying to update.

this is the error message I get in the terminal:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-httpx (0.22.0-1) breaks dependency 'python-httpx<0.22' required by python-httpx-socks

Post your terminal/konsole in- and output as text (no pictures) from:

garuda-inxi

Without it, you will not receive any help from the Garuda team or your topic is likely to be closed without notice.

Before you open a new help request, read relevant sections of the Arch and Garuda wiki.
Thoroughly search your issue and any error messages in the forum and on the web.

Report everything you have already attempted to solve your problem.


Try

garuda-update
3 Likes

I have tried that and still get the error.

System:
  Kernel: 5.16.0-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=f9cd9da2-ca5c-484f-b90e-ab6d09081523
    rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1 loglevel=3
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
    dm: LightDM 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 3003 date: 12/09/2019
CPU:
  Info: model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ family: 0x17 (23) model-id: 8
    stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 768 KiB
    desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 3491 high: 3516 min/max: 1550/3500 boost: disabled scaling:
    driver: acpi-cpufreq governor: performance cores: 1: 3492 2: 3491 3: 3485 4: 3487 5: 3484
    6: 3473 7: 3485 8: 3476 9: 3487 10: 3493 11: 3510 12: 3516 13: 3494 14: 3493 15: 3491 16: 3501
    bogomips: 111788
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Tul driver: amdgpu
    v: kernel bus-ID: 09:00.0 chip-ID: 1002:67df class-ID: 0300
  Display: x11 server: X.Org 1.21.1.3 compositor: xfwm4 v: 4.16.1 driver: loaded: amdgpu,ati
    unloaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
  Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 88 size: 553x311mm (21.8x12.2")
    diag: 634mm (25")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Tul
    driver: snd_hda_intel v: kernel bus-ID: 09:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 0c:00.3 chip-ID: 1022:1457 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.0-zen1-1-zen running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.19 running: no
  Sound Server-4: PulseAudio v: 15.0 running: yes
  Sound Server-5: PipeWire v: 0.3.43 running: no
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel port: e000
    bus-ID: 04:00.0 chip-ID: 8086:1539 class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple driver: N/A
    modules: brcmfmac, wl bus-ID: 05:00.0 chip-ID: 14e4:43ba class-ID: 0280
  Device-3: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Foxconn driver: ath9k
    v: kernel modules: wl bus-ID: 08:00.0 chip-ID: 168c:0034 class-ID: 0280
  IF: wlp8s0 state: up mac: <filter>
  Device-4: Realtek RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter type: USB driver: rtl88XXau
    bus-ID: 1-4:2 chip-ID: 0bda:8812 class-ID: 0000 serial: <filter>
  IF: wlp2s0f0u4 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth Host Controller type: USB driver: btusb,hid-generic,usbhid
    bus-ID: 1-7:3 chip-ID: 05ac:8290 class-ID: fe01
  Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
  Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch sniff link-mode: peripheral accept
Drives:
  Local Storage: total: 7.73 TiB used: 175.14 GiB (2.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WDS100T3X0C-00SJG0
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 102000WD temp: 38.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 QVO 1TB size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
    scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM006-2DM164 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: CC26 scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST2000DX001-1CM164 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: CC43 scheme: GPT
  ID-5: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WDS100T2B0A-00SM50
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 20WD scheme: GPT
  ID-6: /dev/sde maj-min: 8:64 vendor: Western Digital model: WDS500G2B0A-00SM50
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 20WD scheme: GPT
  ID-7: /dev/sdf maj-min: 8:80 vendor: Western Digital model: WDS100T2B0A-00SM50
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 40WD scheme: GPT
Partition:
  ID-1: / raw-size: 951.26 GiB size: 951.26 GiB (100.00%) used: 175.14 GiB (18.4%) fs: btrfs
    dev: /dev/sdb3 maj-min: 8:19
  ID-2: /boot/efi raw-size: 200 MiB size: 196.9 MiB (98.44%) used: 1.9 MiB (1.0%) fs: vfat
    dev: /dev/sdb1 maj-min: 8:17
  ID-3: /home raw-size: 951.26 GiB size: 951.26 GiB (100.00%) used: 175.14 GiB (18.4%) fs: btrfs
    dev: /dev/sdb3 maj-min: 8:19
  ID-4: /var/log raw-size: 951.26 GiB size: 951.26 GiB (100.00%) used: 175.14 GiB (18.4%)
    fs: btrfs dev: /dev/sdb3 maj-min: 8:19
  ID-5: /var/tmp raw-size: 951.26 GiB size: 951.26 GiB (100.00%) used: 175.14 GiB (18.4%)
    fs: btrfs dev: /dev/sdb3 maj-min: 8:19
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.62 GiB used: 2.2 MiB (0.0%) priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 32 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb2
    maj-min: 8:18
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 161
Info:
  Processes: 438 Uptime: 32m wakeups: 0 Memory: 15.62 GiB used: 3.53 GiB (22.6%) Init: systemd
  v: 250 tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 6560 note: see --pkg
  apt: 3 pacman: 6557 lib: 431 Client: Unknown Client: garuda-assistant inxi: 3.3.11

Please edit your post to

and

I have posted my inxi and i have tried garuda-update twice. how do you use garuda-inxi when it's not recognized as a command?
❯ sudo garuda-inxi ─╯
[sudo] password for sevenday4:
sudo: garuda-inxi: command not found

Ok, try

Garuda-Assistant

Please post full in and output from Terminal as text from

sudo pacman -Syu --overwrite '*'

Hey,
Try

sudo pacman -S python-httpx-socks && sudo pacman -Syu

If it still doesn't help, please post output of

pacman -Ss python-httpx

As text

I have tried garuda-assistant as well as ```
sudo pacman -Syu --overwrite '*'

❯ sudo pacman -Syu --overwrite '*' ─╯
[sudo] password for sevenday4:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur is up to date
blackarch is up to date
:: Starting full system upgrade...
warning: bytecode-viewer: local (1:2.9.22-1) is newer than chaotic-aur (2.10.16-1)
warning: dislocker: local (553.1053356-2) is newer than chaotic-aur (0.7.3-2)
warning: garuda-settings-manager-git: local (1.0.0.r1.g15c4106-3) is newer than chaotic-aur (1.0.0.r1.g15c4106-1)
warning: gpredict: local (1619.a0a5636-1) is newer than chaotic-aur (2.2.1-2)
warning: gsocket: local (450.e4d734a-1) is newer than community (1.4.33-1)
warning: nbtscan: local (36.8ab6a70-1) is newer than community (1.7.2-1)
warning: plumber: local (18.3f1be68-3) is newer than community (1.0.1-1)
warning: python-crc16: local (0.1.1-7) is newer than blackarch (0.1.1-3)
warning: python-pyside: local (1.2.4-13) is newer than chaotic-aur (1.2.4-10)
warning: python-pyside-common: local (1.2.4-13) is newer than chaotic-aur (1.2.4-10)
warning: python-shiboken: local (1.2.4-9) is newer than chaotic-aur (1.2.4-8)
warning: python-tld: local (0.12.6-2) is newer than community (0.12.6-1)
warning: python2-pyside: local (1.2.4-13) is newer than chaotic-aur (1.2.4-10)
warning: python2-shiboken: local (1.2.4-9) is newer than chaotic-aur (1.2.4-8)
warning: python2-stringcase: local (1.2.0-4) is newer than chaotic-aur (1.2.0-1)
warning: syft: local (814.5e5312c-1) is newer than community (0.35.1-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-httpx (0.22.0-1) breaks dependency 'python-httpx<0.22' required by python-httpx-socks

This is a real head scratcher. I usually can figure things like this out, but...
❯ pacman -Ss python-httpx                                                    ─╯
community/python-httpx 0.22.0-1 [installed: 0.21.3-1]
    A next generation HTTP client for Python
chaotic-aur/python-httpx-socks 1:0.7.2-2 [installed]
    HTTP/SOCKS-proxy transports for httpx
blackarch/python-httpx-socks 0.7.2-1 [installed: 1:0.7.2-2]
    Proxy (HTTP, SOCKS) transports for httpx.

I have also tried
sudo pacman -S python-httpx-socks && sudo pacman -Syu twice rebooting ater each try.

sudo pacman -S python-httpx-socks && sudo pacman -Syu                      ─╯
[sudo] password for sevenday4:                
warning: python-httpx-socks-1:0.7.2-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) python-httpx-socks-1:0.7.2-2

Total Installed Size:  0.05 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
(1/1) checking available disk space                [----------------------] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/sdb3' at '/run/timeshift/backup'
Creating new backup...(BTRFS)
Saving to device: /dev/sdb3, mounted at path: /run/timeshift/backup
Created directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-01-27_12-59-20
Created subvolume snapshot: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-01-27_12-59-20/@
Created control file: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-01-27_12-59-20/info.json
BTRFS Snapshot saved successfully (5s)
Tagged snapshot '2022-01-27_12-59-20': ondemand
------------------------------------------------------------------------------

** (process:47611): CRITICAL **: 12:59:26.733: gee_abstract_collection_get_size: assertion 'self != NULL' failed
:: Processing package changes...
(1/1) reinstalling python-httpx-socks              [----------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Foreign/AUR package notification
cups-ocr 0.1.2-4
jre7-openjdk 7.u261_2.6.22-1
jre7-openjdk-headless 7.u261_2.6.22-1
nerd-fonts-hack 2.1.0-4
notepadqq-git 2.0.0.beta.r12.gd8000f25-1
pacaur 4.8.6-1
python-selenium 3.141.0-4
(3/5) Orphaned package notification...
=> No orphans found.
(4/5) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/nsswitch.conf.pacnew
/etc/default/grub.pacnew
/etc/default/grub-btrfs/config.pacnew
/etc/pamac.conf.pacnew
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
/etc/paru.conf.pacnew
/etc/systemd/system.conf.pacnew
/etc/systemd/user.conf.pacnew
Please check and merge
(5/5) Syncing all file systems...
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community               6.0 MiB  1193 KiB/s 00:05 [----------------------] 100%
 multilib is up to date
 chaotic-aur is up to date
 blackarch is up to date
:: Starting full system upgrade...
warning: bytecode-viewer: local (1:2.9.22-1) is newer than chaotic-aur (2.10.16-1)
warning: dislocker: local (553.1053356-2) is newer than chaotic-aur (0.7.3-2)
warning: garuda-settings-manager-git: local (1.0.0.r1.g15c4106-3) is newer than chaotic-aur (1.0.0.r1.g15c4106-1)
warning: gpredict: local (1619.a0a5636-1) is newer than chaotic-aur (2.2.1-2)
warning: gsocket: local (450.e4d734a-1) is newer than community (1.4.33-1)
warning: nbtscan: local (36.8ab6a70-1) is newer than community (1.7.2-1)
warning: plumber: local (18.3f1be68-3) is newer than community (1.0.1-1)
warning: python-crc16: local (0.1.1-7) is newer than blackarch (0.1.1-3)
warning: python-pyside: local (1.2.4-13) is newer than chaotic-aur (1.2.4-10)
warning: python-pyside-common: local (1.2.4-13) is newer than chaotic-aur (1.2.4-10)
warning: python-shiboken: local (1.2.4-9) is newer than chaotic-aur (1.2.4-8)
warning: python-tld: local (0.12.6-2) is newer than community (0.12.6-1)
warning: python2-pyside: local (1.2.4-13) is newer than chaotic-aur (1.2.4-10)
warning: python2-shiboken: local (1.2.4-9) is newer than chaotic-aur (1.2.4-8)
warning: python2-stringcase: local (1.2.0-4) is newer than chaotic-aur (1.2.0-1)
warning: syft: local (814.5e5312c-1) is newer than community (0.35.1-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-httpx (0.22.0-1) breaks dependency 'python-httpx<0.22' required by python-httpx-socks

I wonder if the conflict is between Blackarch install and Garuda install. how to isolate or update both?

I had to uninstall rapidscan, sniper, and wapiti in order to install python-httpx-socks then reinstall them after updating. Wonder why blackarch version of python-httpx-socks would not update, quite strange.

Because it's a third-party repo that does weird things (like overriding Arch repo packages).

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.