Pop!_OS 18.04を実行していて、Microsoft VS Codeをインストールしました。 apt
。今、私は利用可能なアップグレードがあるのを見ます、しかし、いいえ。
$ sudo apt list --upgradable
Listing... Done
code/bionic 1.27.2-1536736588 amd64 [upgradable from: 1.27.2-1536736588]
N: There are 45 additional versions. Please use the '-a' switch to see them.
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
code
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/45.4 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 422930 files and directories currently installed.)
Preparing to unpack .../code_1.27.2-1536736588_amd64.deb ...
Unpacking code (1.27.2-1536736588) over (1.27.2-1536736588) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Setting up code (1.27.2-1536736588) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
$ sudo apt list --upgradable
Listing... Done
code/bionic 1.27.2-1536736588 amd64 [upgradable from: 1.27.2-1536736588]
N: There are 45 additional versions. Please use the '-a' switch to see them.
無限ループに陥っているようです。どうやってこのサイクルを止めて伝えることができますか apt
「いいえ、本当に、このパッケージの新しいバージョンはありません。」
@ Xen2050が尋ねたので....
これにより、「最新」バージョンがインストールされていないように見えますが、インストール方法がわかりません。
sudo apt-cache policy code
code:
Installed: 1.27.2-1536736588
Candidate: 1.27.2-1536736588
Version table:
1.27.2-1536736588 500
500 http://apt.pop-os.org/proprietary bionic/main amd64 Packages
*** 1.27.2-1536736588 500
500 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
100 /var/lib/dpkg/status
1.27.1-1536226049 500
500 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
1.27.0-1536125615 500
500 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
[... dozens of older versions ...]
$ sudo apt-cache show code
Package: code
Architecture: amd64
Version: 1.27.2-1536736588
Priority: optional
Section: devel
Maintainer: Microsoft Corporation
Installed-Size: 200215
Provides: visual-studio-code
Depends: libnotify4, libnss3 (>= 2:3.26), gnupg, apt, libxkbfile1, libgconf-2-4, libsecret-1-0, libgtk-3-0 (>= 3.10.0)
Conflicts: visual-studio-code
Origin: system76
Filename: pool/bionic/main/binary-amd64/c/code/code_1.27.2-1536736588_amd64.deb
Size: 45361876
Md5Sum: 56597e66d42240738e0f704d5682762b
SHA1: c990d18754012c9d666e519541349d6335938bd5
SHA256: bc5db10c45151cf45b435abbb481ff10bb20cb6ab7d7e1b068ab10448de1911f
SHA512: 6399a3a4acd2ea7943d53e7bfc06c277ad167810a8809992bd1f3cb5e8e01865830137cde54462f3b6af3ed79510aaaed4353dbfd9f89b7a92a327badd80b87e
Homepage: https://code.visualstudio.com/
Description: Code editing. Redefined.
Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See https://code.visualstudio.com/docs/setup/linux for installation instructions and FAQ.
Description-md5: b38f8538d3cead7a194af6aeeaf02e6a
Package: code
Priority: optional
Section: devel
Installed-Size: 200215
Maintainer: Microsoft Corporation
Architecture: amd64
Version: 1.27.2-1536736588
Replaces: visual-studio-code
Provides: visual-studio-code
Depends: libnotify4, libnss3 (>= 2:3.26), gnupg, apt, libxkbfile1, libgconf-2-4, libsecret-1-0, libgtk-3-0 (>= 3.10.0)
Conflicts: visual-studio-code
Filename: pool/main/c/code/code_1.27.2-1536736588_amd64.deb
Size: 45365022
MD5sum: e488406a124c3dd617b922be4c073e48
SHA1: 8c9b279ed949e0fae8bb736be2cee6c09f70f914
SHA256: 35aedf314a3d886e1affac8591904ba0b1ffb7e20075acabf7bfeec1fa2b6515
SHA512: 6956b09bbba360fc65ec4d50bf3a9539684f639695ccfa4761b9fd84755e6afeac8696a0f30d8664950310de019eb8d2b3d0e8613ebfed269c100e9520b16b4d
Description: Code editing. Redefined.
Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See https://code.visualstudio.com/docs/setup/linux for installation instructions and FAQ.
Description-md5: b38f8538d3cead7a194af6aeeaf02e6a
Homepage: https://code.visualstudio.com/
[...dozens of older versions...]
[... normal stuff ...]
行を貼り付けてすべてを貼り付けるとうまくいくかもしれませんが、インストールが完全ではないかもしれません。 Synapticを使っていますか?壊れたパッケージがあると言っていますか?それは示唆するかもしれません apt-get -f [install/upgrade]
。
apt-cache policy <package-name>
参考になります。