hamonikr / nimf

다국어 입력기 프레임워크 Nimf is a lightweight, fast and extensible input method framework
GNU Lesser General Public License v3.0
145 stars 25 forks source link

kde neon (ubuntu 20.04 기반) 에서 설치가 안됩니다. #36

Closed eubnara closed 3 years ago

eubnara commented 3 years ago

버그 설명

kde neon (ubuntu 20.04 기반) 에서 설치가 안됩니다.

버그 재현 과정 어떤 과정으로 버그가 발생하는지 단계별로 과정을 설명해주세요.

  1. curl -sL https://apt.hamonikr.org/setup_hamonikr.jin | sudo -E bash -
  2. sudo apt install nimf nimf-libhangul 에서 qtbase-abi-5-12-8 의존성 해결 못함

예상한 결과

정상설치

Screenshots

~ $ sudo apt install nimf nimf-libhangul
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) nimf:amd64 < none -> 1.2.0hamonikr30.1 @un puN Ib >
Broken nimf:amd64 Depends on libxklavier16:amd64 < none | 5.4-4 @un uH > (>= 5.0)
  Considering libxklavier16:amd64 0 as a solution to nimf:amd64 10000
  Re-Instated libxklavier16:amd64
Broken nimf:amd64 Depends on qtbase-abi-5-12-8:amd64 < none @un H >
  Considering libqt5core5a:amd64 3314 as a solution to nimf:amd64 10000
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nimf : Depends: qtbase-abi-5-12-8
E: Unable to correct problems, you have held broken packages.

자신의 PC 환경

~ $ uname -a
Linux eub-swiftsf31442 5.9.12-050912-generic #202012020835 SMP Wed Dec 2 09:10:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Neon
Description:    KDE neon User Edition 5.20
Release:    20.04
Codename:   focal
chaeya commented 3 years ago

패키지를 업데이트 하고 새로운 APT 저장소에 업로드했습니다. nimf 패키지 저장소를 독립적으로 제공하는 방식으로 변경되었으니 이전에 사용하던 하모니카 APT 설정이 있는 경우 다음과 같이 삭제해주세요.

sudo rm -f /etc/apt/sources.list.d/hamonikr.list

Ubuntu 20.04 버전에서는 다음과 같이 설치하시기 바랍니다.

curl -sL https://pkg.hamonikr.org/add-hamonikr.apt | sudo -E bash -

sudo apt install nimf nimf-libhangul

# 만약 일본어, 중국어 등 다른언어를 사용하고 싶은경우에는 다음과 같이 추가 패키지를 설치해줍니다.
# Install additional packages as follows if you want to use other languages(Japanese, Chinese, etc.)
sudo apt install libnimf1 nimf nimf-anthy nimf-dev nimf-libhangul nimf-m17n nimf-rime

im-config -n nimf
eubnara commented 3 years ago
~ $ sudo rm -f /etc/apt/sources.list.d/hamonikr.list
~ $ 
~ $ curl -sL https://pkg.hamonikr.org/add-hamonikr.apt | sudo -E bash -

## Installing the HamoniKR PKGs Repo...

## Detected Neon

+ rm -f /etc/apt/sources.list.d/hamonikr-pkg.list

## Removing Repository for Previous HamoniKR PKGs Repo

## Adding the HamoniKR PKGs signing key to your keyring...

+ curl -s https://pkg.hamonikr.org/hamonikr-pkg.key | apt-key add -
OK

## Creating apt sources list file for the HamoniKR PKGs repo...

+ echo 'deb [arch=amd64] https://pkg.hamonikr.org focal main' > /etc/apt/sources.list.d/hamonikr-pkg.list
+ echo '#deb-src [arch=amd64] https://pkg.hamonikr.org focal main' >> /etc/apt/sources.list.d/hamonikr-pkg.list

## Running `apt-get update` for you...

+ apt-get update
받기:1 file:/var/lib/preinstalled-pool focal InRelease
무시:1 file:/var/lib/preinstalled-pool focal InRelease
받기:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
받기:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
기존:4 https://download.docker.com/linux/ubuntu focal InRelease                                                              
기존:5 http://packages.microsoft.com/repos/vscode stable InRelease                                                           
기존:6 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                                                              
기존:7 https://pkg.hamonikr.org focal InRelease                                                                              
기존:8 http://dl.google.com/linux/chrome/deb stable InRelease                                                                
기존:9 http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu focal InRelease                                                      
기존:10 http://security.ubuntu.com/ubuntu focal-security InRelease                                                           
기존:11 http://archive.ubuntu.com/ubuntu focal InRelease                                                                     
기존:12 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease                                          
기존:13 http://archive.ubuntu.com/ubuntu focal-updates InRelease                                                             
기존:14 http://ppa.launchpad.net/mattrose/terminator/ubuntu focal InRelease                                                  
받기:15 http://archive.neon.kde.org/user focal InRelease [155 kB]                                      
기존:16 http://ppa.launchpad.net/solaar-unifying/stable/ubuntu focal InRelease                         
내려받기 155 k바이트, 소요시간 3초 (53.3 k바이트/초)                     
패키지 목록을 읽는 중입니다... 완료

## `Updated HamoniKR Repo Settings.`
## If you have any questions, please visit the link below :
     https://hamonikr.org

================================================================================
================================================================================

  하모니카 OS의 저장소를 추가하고 설치가능한 패키지 목록을 업데이트 했습니다.
  이제 하모니카 팀에서 제공하는 패키지를 설치할 수 있습니다.

================================================================================
================================================================================
~ $ sudo apt install nimf nimf-libhangul
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) nimf:amd64 < none -> 1.3.0hamonikr40.4 @un puN Ib >
Broken nimf:amd64 의존 on libxklavier16:amd64 < none | 5.4-4 @un uH > (>= 5.0)
  Considering libxklavier16:amd64 0 as a solution to nimf:amd64 10000
  Re-Instated libxklavier16:amd64
Broken nimf:amd64 의존 on qtbase-abi-5-12-8:amd64 < none @un H >
  Considering libqt5core5a:amd64 3343 as a solution to nimf:amd64 10000
Done
몇몇 패키지를 설치할 수 없습니다. 요청한 상황이 불가능할 수도 있고,
불안정 배포판을 사용해서 일부 필요한 패키지를 아직 만들지 않았거나,
아직 Incoming에서 나오지 않은 경우일 수도 있습니다.
이 상황을 해결하는데 다음 정보가 도움이 될 수도 있습니다:

다음 패키지의 의존성이 맞지 않습니다:
 nimf : 의존: qtbase-abi-5-12-8
E: 문제를 바로잡을 수 없습니다. 망가진 고정 패키지가 있습니다.

말씀하신대로 진행했지만 동작하지 않네요 ㅠ

chaeya commented 3 years ago

의존성이 깨진 패키지를 설치하기 위해 다음과 같이 해보세요.

sudo apt install -y libxklavier16 libqt5core5a
sudo apt install -f
eubnara commented 3 years ago
~ $ sudo apt install -y libxklavier16 libqt5core5a
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
패키지 libxklavier16는 이미 최신 버전입니다 (5.4-4).
패키지 libqt5core5a는 이미 최신 버전입니다 (5.15.2+dfsg-0xneon+20.04+focal+build23).
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  enchant-2 fluid-soundfont-gm fluid-soundfont-gs fonts-wine fuseiso
  gir1.2-gdesktopenums-3.0 gir1.2-gnomedesktop-3.0 gir1.2-javascriptcoregtk-4.0
  gir1.2-nm-1.0 gir1.2-soup-2.4 gir1.2-webkit2-4.0 gstreamer1.0-gl gstreamer1.0-plugins-good
  gstreamer1.0-pulseaudio gstreamer1.0-x libdv4 libenchant-2-2 libgraphene-1.0-0
  libgstreamer-gl1.0-0 libgstreamer-plugins-good1.0-0 libharfbuzz-icu0 libhyphen0
  libiec61883-0 libjavascriptcoregtk-4.0-18 libllvm10 libllvm10:i386 libwebkit2gtk-4.0-37
  libwine-development libwoff1 linux-headers-5.4.0-54 linux-headers-5.4.0-54-generic
  linux-image-5.4.0-54-generic linux-modules-5.4.0-54-generic
  linux-modules-extra-5.4.0-54-generic python3-evdev python3-magic python3-setproctitle
  wine-stable wine-stable-amd64 wine-stable-i386:i386 winetricks
'sudo apt autoremove'를 이용하여 제거하십시오.
0개 업그레이드, 0개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
~ $ sudo apt install -f
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  enchant-2 fluid-soundfont-gm fluid-soundfont-gs fonts-wine fuseiso
  gir1.2-gdesktopenums-3.0 gir1.2-gnomedesktop-3.0 gir1.2-javascriptcoregtk-4.0
  gir1.2-nm-1.0 gir1.2-soup-2.4 gir1.2-webkit2-4.0 gstreamer1.0-gl gstreamer1.0-plugins-good
  gstreamer1.0-pulseaudio gstreamer1.0-x libdv4 libenchant-2-2 libgraphene-1.0-0
  libgstreamer-gl1.0-0 libgstreamer-plugins-good1.0-0 libharfbuzz-icu0 libhyphen0
  libiec61883-0 libjavascriptcoregtk-4.0-18 libllvm10 libllvm10:i386 libwebkit2gtk-4.0-37
  libwine-development libwoff1 linux-headers-5.4.0-54 linux-headers-5.4.0-54-generic
  linux-image-5.4.0-54-generic linux-modules-5.4.0-54-generic
  linux-modules-extra-5.4.0-54-generic python3-evdev python3-magic python3-setproctitle
  wine-stable wine-stable-amd64 wine-stable-i386:i386 winetricks
'sudo apt autoremove'를 이용하여 제거하십시오.
0개 업그레이드, 0개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.

말씀해 주신 절차를 진행하고 다시 해보았는데 실패했습니다.

~ $ sudo rm -f /etc/apt/sources.list.d/hamonikr.list
~ $ curl -sL https://pkg.hamonikr.org/add-hamonikr.apt | sudo -E bash -

## Installing the HamoniKR PKGs Repo...

## Detected Neon

+ rm -f /etc/apt/sources.list.d/hamonikr-pkg.list

## Removing Repository for Previous HamoniKR PKGs Repo

## Adding the HamoniKR PKGs signing key to your keyring...

+ curl -s https://pkg.hamonikr.org/hamonikr-pkg.key | apt-key add -
OK

## Creating apt sources list file for the HamoniKR PKGs repo...

+ echo 'deb [arch=amd64] https://pkg.hamonikr.org focal main' > /etc/apt/sources.list.d/hamonikr-pkg.list
+ echo '#deb-src [arch=amd64] https://pkg.hamonikr.org focal main' >> /etc/apt/sources.list.d/hamonikr-pkg.list

## Running `apt-get update` for you...

+ apt-get update
받기:1 file:/var/lib/preinstalled-pool focal InRelease
무시:1 file:/var/lib/preinstalled-pool focal InRelease
받기:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
받기:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
기존:3 https://download.docker.com/linux/ubuntu focal InRelease                
기존:5 http://packages.microsoft.com/repos/vscode stable InRelease                           
기존:6 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                              
기존:7 http://dl.google.com/linux/chrome/deb stable InRelease                                
받기:8 https://pkg.hamonikr.org focal InRelease [5,350 B]                                    
받기:9 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]                   
기존:10 http://archive.ubuntu.com/ubuntu focal InRelease                                     
기존:11 http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu focal InRelease                     
받기:12 https://pkg.hamonikr.org focal/main amd64 Packages [3,627 B]                         
받기:13 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                    
기존:14 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease                   
받기:15 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.2 kB]
기존:16 http://ppa.launchpad.net/mattrose/terminator/ubuntu focal InRelease                  
받기:17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [56.6 kB]
받기:18 http://archive.neon.kde.org/user focal InRelease [155 kB]                            
받기:19 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [391 kB]           
기존:20 http://ppa.launchpad.net/solaar-unifying/stable/ubuntu focal InRelease               
받기:21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [699 kB]          
받기:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [263 kB]
받기:23 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [705 kB]
받기:24 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [524 kB]
받기:25 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [205 kB]
받기:26 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
내려받기 3,257 k바이트, 소요시간 4초 (749 k바이트/초)                  
패키지 목록을 읽는 중입니다... 완료

## `Updated HamoniKR Repo Settings.`
## If you have any questions, please visit the link below :
     https://hamonikr.org

================================================================================
================================================================================

  하모니카 OS의 저장소를 추가하고 설치가능한 패키지 목록을 업데이트 했습니다.
  이제 하모니카 팀에서 제공하는 패키지를 설치할 수 있습니다.

================================================================================
================================================================================
~ $ sudo apt install nimf nimf-libhangul
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) nimf:amd64 < none -> 1.3.0hamonikr40.4 @un puN Ib >
Broken nimf:amd64 의존 on qtbase-abi-5-12-8:amd64 < none @un H >
  Considering libqt5core5a:amd64 3343 as a solution to nimf:amd64 10000
Done
몇몇 패키지를 설치할 수 없습니다. 요청한 상황이 불가능할 수도 있고,
불안정 배포판을 사용해서 일부 필요한 패키지를 아직 만들지 않았거나,
아직 Incoming에서 나오지 않은 경우일 수도 있습니다.
이 상황을 해결하는데 다음 정보가 도움이 될 수도 있습니다:

다음 패키지의 의존성이 맞지 않습니다:
 nimf : 의존: qtbase-abi-5-12-8
E: 문제를 바로잡을 수 없습니다. 망가진 고정 패키지가 있습니다.
chaeya commented 3 years ago

다른분이 작성한 글 https://www.nemonein.xyz/2018/10/1033/ 에서 보니 KDE Neon 에서 설치할 때 버그가 있는것 같습니다.

가상패키지를 조금 전 만들었으니 아래 패키지를 다운로드 해서 다음과 같이 설치하고 다시 nimf 를 설치해보시기 바랍니다.

wget https://pkg.hamonikr.org/pool/main/q/qtbase-abi-5-12-8/qtbase-abi-5-12-8_1.0_all.deb
sudo dpkg -i qtbase-abi-5-12-8_1.0_all.deb
eubnara commented 3 years ago

@chaeya 성공했습니다!!! 살펴봐주셔서 정말 감사합니다!

atvsipi commented 4 months ago

저도 같은 방법으로 성공했습니다! 모두에게 감사드립니다.