임베디드 | 라즈베리파이 | ARM | 리눅스 | Qt | 딥러닝




root@raspberrypi:/home/pi# apt-get install samba samba-common-bin

Reading package lists... Done

Building dependency tree       

Reading state information... Done

samba is already the newest version.

samba-common-bin is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

1 not fully installed or removed.

Need to get 0 B/863 kB of archives.

After this operation, 0 B of additional disk space will be used.

Do you want to continue? [Y/n] y

dpkg: error processing package samba (--configure):

 package samba is not ready for configuration

 cannot configure (current status `half-installed')

Errors were encountered while processing:

 samba

E: Sub-process /usr/bin/dpkg returned an error code (1)


위와같인 에러 메시지가 나타났다.

맙소사

 cannot configure (current status `half-installed')

에러가 뭐다냐


별짓을 다해봐도 안되길래

검색해보니 역시 답은 나와있었다.

나의경우

sudo apt-get install --reinstall packagename

이렇게 해주니 

이상없이 설치가 됐다.