- Explaining the issue
Setting up r-base-core (3.3.2-1trusty0) ... Preserving user changes to /usr/share/bash-completion/completions/R (renamed from /etc/bash_completion.d/R)... mv: cannot stat ‘/usr/share/bash-completion/completions/R’: No such file or directory dpkg: error processing package r-base-core (--configure): subprocess installed post-installation script returned error exit status 1
The post-installation script (/var/lib/dpkg/info/r-base-core.postinst
) didn't check if/usr/share/bash-completion/completions/R
file exist before trying to move it. - Quick fix / Workaround
- Just create copy of the file.
sudo cp /etc/bash_completion.d/R /usr/share/bash-completion/completions/R
- Fix the interrupted installation
sudo apt-get -f install
- Definitive fixAs bodhi.zazen said, raise a bug report to the project.
Rabu, 30 November 2016
Problem updating R
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar