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

SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) #8

Open
AlexQuaken opened this issue Dec 24, 2023 · 3 comments
Open

SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) #8

AlexQuaken opened this issue Dec 24, 2023 · 3 comments

Comments

@AlexQuaken
Copy link

Ранее ставил уже раз 5 (после каждого обновления ессно слетает). При последней попытке вылезло вот такое, ни вручную ни автоматически не ставится, полагаю вопрос скорее не к скрипту но сам поправить версии не смог.

(1)(deck@steamdeck ~)$ sudo pacman -Sy samba
:: Synchronizing package databases...
jupiter-rel is up to date
holo-rel is up to date
core-rel is up to date
extra-rel is up to date
community-rel is up to date
multilib-rel is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) samba-4.17.1-1

Total Installed Size: 56.35 MiB

:: Proceed with installation? [Y/n] y
(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%
:: Processing package changes...
(1/1) installing samba [#######################################################] 100%
Optional dependencies for samba
python-dnspython: samba_dnsupdate and samba_upgradedns in AD setup
python-markdown: for samba-tool domain schemeupgrade
glusterfs: for vfs_glusterfs support
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
/usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring.
/usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring.
(3/3) Arming ConditionNeedsUpdate...
(deck@steamdeck ~)$ sudo systemctl enable smb.service
(deck@steamdeck ~)$ sudo smbpasswd -a deck
smbpasswd: /usr/lib/samba/libsamba3-util-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libmsrpc3-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libgenrand-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libreplace-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libcliauth-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/liblibsmb-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libsecrets3-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libsamba-debug-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libcli-smb-common-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libdcerpc-samba-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
(1)(deck@steamdeck ~)$

@malordin
Copy link
Owner

@AlexQuaken привет!

Столкнулся с точной такой же проблемой, решил удалить самбу и собрать ее из исходников через AUR, но в итоге что-то настолько сильно сломалось что пришлось восстанавливать стим дек с флэшки.

Я обновил прошивку SteamOS до последней возможной, ввел некоторые изменения в текущий скрипт на гитхабе и пролил его, всё обрабатывается корректно:

➜  ~ sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)"
WARNING: This script will install Samba server on your system.
Did you change the password via passwd? [Y/N] Y
Please enter your password: Continuing with Samba server installation...
Disabling steamos-readonly...
Editing pacman.conf file...
Initializing pacman keys...
Populating pacman keys...
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2023-12-31
Installing samba...
:: Synchronizing package databases...
 jupiter-3.5 is up to date
 holo-3.5 is up to date
 core-3.5 is up to date
 extra-3.5 is up to date
 community-3.5 is up to date
 multilib-3.5 is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) samba-4.18.3-1

Total Installed Size:  56.41 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%
:: Processing package changes...
(1/1) installing samba                                                                        [#######################################################] 100%
Optional dependencies for samba
    python-dnspython: netads_dns.py, dnsresolver.py and traffic_packets.py 
    python-markdown: ms_schema_markdown.py and ms_forest_updates_markdown.py
    python-cryptography: lockout_tests.py gp_cert_auto_enroll_ext.py gpo.py and kcrypto.py
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
/usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring.
/usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring.
(3/3) Arming ConditionNeedsUpdate...
Writing new smb.conf file...
Adding 'deck' user to samba user database...
New SMB password:
Retype new SMB password:
Enabling and starting smb service...
Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service.
Restarting smb service...
Filesystem now read-only
Samba server set up successfully! You can access the 'steamapps', 'downloads' and 'mmcblk0p1' folders on your Steam Deck from any device on your local network.
Press Enter to continue...
➜  ~ sudo cat /etc/*-release
DISTRIB_ID="SteamOS"
DISTRIB_RELEASE="rolling"
DISTRIB_CODENAME="Holo"
DISTRIB_DESCRIPTION="SteamOS Holo"
NAME="SteamOS"
PRETTY_NAME="SteamOS"
VERSION_CODENAME=holo
ID=steamos
ID_LIKE=arch
ANSI_COLOR="1;35"
HOME_URL="https://www.steampowered.com/"
DOCUMENTATION_URL="https://support.steampowered.com/"
SUPPORT_URL="https://support.steampowered.com/"
BUG_REPORT_URL="https://support.steampowered.com/"
LOGO=steamos
VARIANT_ID=steamdeck
VERSION_ID=3.5.7
BUILD_ID=20231122.1
➜  ~ 

Предварительно я бы советовал попробовать удалить samba через команду sudo pacman -R samba . Как я понимаю, при обновлении прошивки SteamOS обновляется какая-то библиотека которая работает не так как нужно с самбой, поэтому нужно немного потанцевать с бубном)

@AlexQuaken
Copy link
Author

AlexQuaken commented Dec 26, 2023 via email

@B33T
Copy link

B33T commented Dec 28, 2023

I have the same problem with my steamdeck after updating the OS, I cant seem to fix it, even after removing samba and reinstalling, I have also tried "sudo pacman -Rsnu samba" but that did not resolve the problem either

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

3 participants