
처음에는
$ xpra --version
xpra v3.0.7-r25627
그런 다음 xpra로 업그레이드했습니다.
$ sudo apt install xpra
[sudo] password for t:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
xpra
1 upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
2 not fully installed or removed.
Need to get 314 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Get:1 https://xpra.org bionic/main amd64 xpra amd64 3.0.8-r25889-1 [314 kB]
Fetched 314 kB in 1s (267 kB/s)
(Reading database ... 485411 files and directories currently installed.)
Preparing to unpack .../xpra_3.0.8-r25889-1_amd64.deb ...
Unpacking xpra (3.0.8-r25889-1) over (3.0.7-r25627-1) ...
Setting up xpra (3.0.8-r25889-1) ...
그러나 이후에
$ xpra --version
xpra v3.0.7-r25627
그리고
$ dpkg -l | grep -i xpra
ii python2-xpra 3.0.7-r25627-1 amd64 tool to detach/reattach running X programs
ii python3-xpra 3.0.7-r25627-1 amd64 tool to detach/reattach running X programs
ii xpra 3.0.8-r25889-1 amd64 tool to detach/reattach running X programs
ii xpra-html5 3.0.7-r25627-1 amd64 html5 xpra client
그리고
$ sudo apt install xpra
[sudo] password for t:
Reading package lists... Done
Building dependency tree
Reading state information... Done
xpra is already the newest version (3.0.8-r25889-1).
xpra 버전 불일치가 표시되는 이유는 무엇입니까?
xpra 패키지, apt 또는 dpkg로 인해 발생합니까?
감사해요.
답변1
패키지를 업그레이드했지만 아직 패키지를 업그레이드하지 않았습니다. 이에 따라 실제로 사용 중인 Xpra 버전이 결정됩니다.
Ypres가 말했듯이,업스트림 Xpra 패키지콘텐츠를 xpra
실행기 스크립트(및 구성 등)가 포함된 작은 패키지와 구현이 포함된 Python 패키지로 나눕니다.
Xpra를 업그레이드하려면 모든 Xpra 관련 패키지를 업그레이드해야 합니다.
sudo apt install xpra xpra-html5 python3-xpra
xpra
패키지할 수 있다다른 Xpra 패키지에 대해 엄격한 버전 종속성을 선언하면 해당 패키지가 모두 업그레이드됩니다 sudo apt install xpra
. 하지만 그렇지 않기 때문에 사용자는 모두 동기화 상태를 유지해야 합니다. (업스트림 패키저에서는 사용자가 항상 모든 패키지를 업그레이드한다고 가정합니다.)
Python 2 패키지를 제거하면 더 이상 필요하지 않습니다.
sudo apt purge python2-xpra