Replace python-sgmllib with extra/python-sgmllib3k / failed to prepare transaction

I keep getting the below. I don’t want to force install the file cause I do not want to break Emby. I’ve updated the mirrors to see if that would resolve the issue and no it didn’t.

    ~  sudo pacman -Syu                                                                    ✔ 
[sudo] password for locutus: 
:: 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                   1569.2 KiB  2.48 MiB/s 00:01 [################################] 100%
 herecura is up to date
:: Starting full system upgrade...
warning: gsettings-desktop-schemas: local (41.0-1) is newer than extra (40.0-3)
:: Replace python-sgmllib with extra/python-sgmllib3k? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing x264 (3:0.163.r3060.5db6aa6-1) breaks dependency 'libx264.so=161-64' required by emby-server-beta
    ~  inxi -Faz                                                                                               ✔ 
System:    Kernel: 5.14.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.14-x86_64 root=UUID=0e474eb0-4b46-41af-8757-51221e62c250 rw
           rootflags=subvol=@ quiet apparmor=1 security=apparmor udev.log_priority=3
           Desktop: KDE Plasma 5.23.1 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux
           base: Arch Linux
Machine:   Type: Desktop System: ASUS product: N/A v: N/A serial: <filter>
           Mobo: ASUSTeK model: ROG STRIX B550-F GAMING v: Rev X.0x serial: <filter> UEFI: American Megatrends
           v: 2423 date: 08/10/2021
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M325 serial: <filter>
           charge: 55% (should be ignored) rechargeable: yes status: Discharging
           Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard K360 serial: <filter>
           charge: 50% (should be ignored) rechargeable: yes status: Discharging
CPU:       Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 family: 17 (23)
           model-id: 71 (113) stepping: 0 microcode: 8701021 cache: L2: 3 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86271
           Speed: 2111 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 2111 2: 3544 3: 2191 4: 3465
           5: 2057 6: 2196 7: 2196 8: 2194 9: 3594 10: 3594 11: 2054 12: 2196
           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 and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: conditional, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] vendor: eVga.com. driver: nvidia v: 470.74
           alternate: nouveau,nvidia_drm bus-ID: 08:00.0 chip-ID: 10de:2187 class-ID: 0300
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: nvidia display-ID: :0 screens: 1
           Screen-1: 0 s-res: 2560x1080 s-dpi: 97 s-size: 670x283mm (26.4x11.1") s-diag: 727mm (28.6")
           Monitor-1: HDMI-0 res: 2560x1080 hz: 60 dpi: 97 size: 673x284mm (26.5x11.2") diag: 730mm (28.8")
           OpenGL: renderer: NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74 direct render: Yes
Audio:     Device-1: NVIDIA TU116 High Definition Audio vendor: eVga.com. driver: snd_hda_intel v: kernel
           bus-ID: 08:00.1 chip-ID: 10de:1aeb class-ID: 0403
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel
           v: kernel bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
           Sound Server-1: ALSA v: k5.14.13-1-MANJARO 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.38 running: yes
Network:   Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel port: N/A bus-ID: 07:00.0
           chip-ID: 8086:15f3 class-ID: 0200
           IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 20.71 TiB used: 11.11 TiB (53.6%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: Seagate model: XPG GAMMIX S11 Pro size: 476.94 GiB block-size:
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 32B3T8EB
           temp: 33.9 C scheme: GPT
           ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Patriot model: Viper M.2 VPN100 size: 238.47 GiB block-size:
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: ECFM22.6
           temp: 30.9 C scheme: GPT
           ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Seagate model: ST8000AS0002-1NA17Z size: 7.28 TiB
           block-size: physical: 4096 B logical: 512 B type: HDD rpm: 5980 serial: <filter> scheme: GPT
           ID-4: /dev/sdb maj-min: 8:16 type: USB vendor: Seagate model: Expansion HDD size: 7.28 TiB block-size:
           physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 1801 scheme: GPT
           ID-5: /dev/sdc maj-min: 8:32 type: USB vendor: Seagate model: ST330006 51NS size: 2.73 TiB block-size:
           physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 7101 scheme: GPT
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
           ID-6: /dev/sdd maj-min: 8:48 type: USB vendor: Seagate model: ST3000DM 001-1E6166 size: 2.73 TiB
           block-size: physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 7101 scheme: GPT
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition: ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 77.86 GiB (16.3%) fs: btrfs
           dev: /dev/nvme0n1p2 maj-min: 259:3
           ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 568 KiB (0.2%) fs: vfat
           dev: /dev/nvme0n1p1 maj-min: 259:2
           ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 77.86 GiB (16.3%) fs: btrfs
           dev: /dev/nvme0n1p2 maj-min: 259:3
           ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 77.86 GiB (16.3%) fs: btrfs
           dev: /dev/nvme0n1p2 maj-min: 259:3
Swap:      Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
           ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2 file: /swap/swapfile
Sensors:   System Temperatures: cpu: 39.5 C mobo: N/A gpu: nvidia temp: 46 C
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:      Processes: 430 Uptime: 15h 15m wakeups: 77 Memory: 31.27 GiB used: 7.39 GiB (23.6%) Init: systemd v: 249
           tool: systemctl Compilers: gcc: 11.1.0 Packages: 1677 pacman: 1637 lib: 442 flatpak: 30 snap: 10
           Shell: Zsh v: 5.8 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

So I can’t do any of today’s testing updates then? I don’t think that is accurate with the number of apps that depend on that file. Emby may the one mentioned but make no mistake if one attempts to remove it one gets a whole list of other apps that the system wants to remove as well.

Hi @Locutus,

I’m in no way an expert and most definitely not sure if this’ll even work, but I saw you trying to use pacman:

Have you tried using pamac rather?

Once again, I’m not sure if this will work or not, but if you haven’t tried it, it might…

Maybe if you uninstall the emby package it complains about, then update the system and then re-install/build the emby package again.

OK just attempted and it wants to remove emby-server-beta, python-sgmlib, and python-sgmlib3k.

that might be worth a shot since I would lose any of my settings. Let me see what they think on the Emby forums about this.

Then try @Strit’s suggestion,

But use pamac and not pacman.

one is terminal and one is GUI. It’s really a matter of what one prefers. No need to repeat yourself on this.

Well. Emby is an AUR package, so the first will always be to remove the AUR package and then update the system. AUR packages that are built against certain versions of libraries behave this way. But problems with an AUR package, is not in the scope if Manjaro to fix.

As I stated let me check with Emby and make sure they have Emby setup to work with the new file(s) before I go ahead and uninstall Emby, update, then reinstall Emby.

EDIT:

Check with Emby and the AUR maintainer.

https://aur.archlinux.org/packages/emby-server-beta/

Just did the uninstall of Emby, installed the updates, reinstalled and tested Emby, and going to reboot now.

Uninstalling Emby, installing the updates, and reinstalling Emby did the trick.

1 Like

That’s basically normal process with AUR packages, if they block system update, you remove them, update the system and then reinstall them, or if they break after update you rebuild them. Basic procedure.

1 Like

Now to think of it couldn’t I have just stopped the Emby service and have the updates install without issue then start it’s service again?

No, the package manager doesn’t care if you run programs, it looks for installed packages.

I keep getting the below. I don’t want to force install the file cause I do not want to break Emby. I’ve updated the mirrors to see if that would resolve the issue and no it didn’t.

    ~  sudo pacman -Syu                                                                    ✔ 
[sudo] password for locutus: 
:: 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                   1569.2 KiB  2.48 MiB/s 00:01 [################################] 100%
 herecura is up to date
:: Starting full system upgrade...
warning: gsettings-desktop-schemas: local (41.0-1) is newer than extra (40.0-3)
:: Replace python-sgmllib with extra/python-sgmllib3k? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing x264 (3:0.163.r3060.5db6aa6-1) breaks dependency 'libx264.so=161-64' required by emby-server-beta

Emby is from the AUR, so you need to wait for the maintainer to update this package.

So I can’t do any of today’s testing updates then? I don’t think that is accurate with the number of apps that depend on that file. Emby may the one mentioned but make no mistake if one attempts to remove it one gets a whole list of other apps that the system wants to remove as well.

Remove your AUR package, and update, but then if the AUR package is not updated you probably will not be able to reinstall it. Anyway you should report the issue to the AUR package maintainer, as this is not a Manjaro issue (and still the AUR issues should be reported from Arch users).

omano please see my thread which I linked to above. Thanks