Skip to content

Conversation

isac322
Copy link
Contributor

@isac322 isac322 commented Oct 27, 2019

Since pacman 5.2.0 --force option is removed. (related blog)
So I replaced the option with --overwrite

Because of this, Linux deploy currently occur this error while setup arch linux.

[00:35:48] + chroot /data/local/mnt /bin/su - root -c 'pacman -Syq --force --noconfirm openssh'
[00:35:48] Error: invalid option '--force'
[00:35:48] + rm -f '/data/local/mnt/var/cache/pacman/pkg/*'
[00:35:48] + exit 0
[00:35:48] + return 0
[00:35:48] + do_configure
[00:35:48] + msg ':: Configuring extra/ssh ... '
[00:35:48] + echo ':: Configuring extra/ssh ... '
[00:35:48] :: Configuring extra/ssh ... 
[00:35:48] + local sshd_config
[00:35:48] + sshd_config=/data/local/mnt/etc/ssh/sshd_config
[00:35:48] + sed -i -E 's/#?PasswordAuthentication .*/PasswordAuthentication yes/g' /data/local/mnt/etc/ssh/sshd_config
[00:35:48] sed: /data/local/mnt/etc/ssh/sshd_config: No such file or directory
[00:35:48] + sed -i -E 's/#?PermitRootLogin .*/PermitRootLogin yes/g' /data/local/mnt/etc/ssh/sshd_config
[00:35:48] sed: /data/local/mnt/etc/ssh/sshd_config: No such file or directory
[00:35:48] + sed -i -E 's/#?AcceptEnv .*/AcceptEnv LANG/g' /data/local/mnt/etc/ssh/sshd_config
[00:35:48] sed: /data/local/mnt/etc/ssh/sshd_config: No such file or directory
[00:35:48] + return 0
[00:35:48] + set -e
[00:35:48] + COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/init/run-parts
[00:35:48] + '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/init/run-parts ]
[00:35:48] + unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
[00:35:48] + TARGET='*:*:*'
[00:35:48] + . /data/user/0/ru.meefik.linuxdeploy/files/include/init/run-parts/deploy.conf

@meefik meefik merged commit 850ff8e into meefik:master Oct 27, 2019
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

Successfully merging this pull request may close these issues.

2 participants