커서 패키지는 삭제되지 않습니다.

커서 패키지는 삭제되지 않습니다.

저는 Linux Mint 17.2 Cinnamon을 실행하고 있습니다. 미친 듯이 PPA를 추가하고(알아요...알아요) 수많은 테마, 아이콘, 커서를 다운로드했습니다. 문제는 내가 다운로드한 많은 패키지 중 하나가 어떻게든 손상되었다는 것입니다! 패키지는 mbuntu-y-icons-v4에서 제공됩니다 ppa:noobslab/themes.

이렇게 하면 다음과 같습니다 sudo apt-get install mbuntu-y-icons-v4.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
mbuntu-y-icons-v4 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 12.3 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/noobslab/themes/ubuntu/ trusty/main mbuntu-y-icons-v4 all 3.12.2~trusty~NoobsLab.com [12.3 MB]
Fetched 12.3 MB in 35s (347 kB/s)                        
dpkg: error processing package mbuntu-y-icons-v4 (--configure):
 package mbuntu-y-icons-v4 is not ready for configuration
 cannot configure (current status `half-installed')
Errors were encountered while processing:
 mbuntu-y-icons-v4
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo apt-get removeor clean또는 autoremoveor를 사용해 도 sudo apt-get install -f문제가 해결되지 않습니다.

이렇게 하면 다음과 같습니다 sudo dpkg --remove --force-remove-reinstreq mbuntu-y-icons-v4.

dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
dpkg: warning: files list file for package 'totem-mozilla' missing; assuming package has no files currently installed
(Reading database ... 2508592 files and directories currently installed.)
Removing mbuntu-y-icons-v4 (3.12.2~trusty~NoobsLab.com) ...
update-alternatives: warning: forcing reinstallation of alternative (null) because link group x-cursor-theme is broken
update-alternatives: using /usr/share/icons/DMZ-White/cursor.theme to provide /etc/alternatives/x-cursor-theme (x-cursor-theme) in auto mode
update-alternatives: error: unable to install `/etc/alternatives/x-cursor-theme.dpkg-tmp' as `/etc/alternatives/x-cursor-theme': No such file or directory
dpkg: error processing package mbuntu-y-icons-v4 (--remove):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 mbuntu-y-icons-v4

보시다시피, 문제 중 하나는 바닥이 명백히 x-cursor-theme손상 되었다는 것입니다 /etc/alternatives. 그런 다음 이 문제를 해결하는 방법을 찾아 다음과 같이 했습니다.

sudo rm -i /etc/alternatives/x-cursor-theme
sudo ln -sf /usr/share/icons/DMZ-White/cursor.theme /etc/alternatives/x-cursor-theme
CURSOR=DMZ-White
gsettings set org.gnome.desktop.interface cursor-theme "$CURSOR"
sudo update-alternatives --set x-cursor-theme /usr/share/icons/$CURSOR/cursor.theme

마지막 줄은 다음과 같은 결과를 제공합니다.

update-alternatives: warning: forcing reinstallation of alternative     /usr/share/icons/DMZ-White/cursor.theme because link group x-cursor-theme is broken
update-alternatives: error: unable to install `/etc/alternatives/x-cursor-theme.dpkg-tmp' as `/etc/alternatives/x-cursor-theme': No such file or directory

나는 단지 그 어리석은 패키지를 제거 mbuntu-y-icons-v4하고 커서가 다시 제대로 작동하도록 하고 싶습니다(마우스를 가리키고 있는 프로그램에 따라 변경됩니다). 5시간 걸렸어요! 도와주세요.

관련 정보