お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2023-04-14 11:49:48

Souya
新しいメンバ
登録日: 2023-04-14

Ubuntu18.04でのsnapdバージョンアップについて

初投稿です。
Ubuntuのsnapdのバージョンアップが上手くいきません。
以下症例です。

Ubuntu18.04のサーバ2台に対してsnapdのパッケージバージョンを上げる作業をしました(以下サーバA,サーバBとする)。

サーバAはバージョンアップ前はバージョン「2.57.5+18.04ubuntu0.1」であり
サーバBはバージョンアップ前は「2.54.3+18.04.2ubuntu0.2」でした。

apt install --only-upgrade snapdで両サーバにバージョンアップを試みたところ

サーバAはバージョン「2.58+18.04」と最新になりましたが
サーバBはバージョン「2.57.5+18.04ubuntu0.1」となり、これ以上のバージョンアップは行えませんでした
(apt install --only-upgrade snapdを行っても2.57.5が最新ですと表示される)

レポジトリはA,Bともにbionic-updateです。
以下サイトを見る限りレポジトリがupdateの場合だと最新バージョンは2.58+18.04のはずですが
この2サーバで差異が出てしまう原因をご教示いただけますと幸いです。

https://www.ubuntuupdates.org/package/core/bionic/main/updates/snapd

以上、宜しくお願い致します。

オフライン

 

#2 2023-04-14 21:31:09

elliptic
メンバ
登録日: 2020-03-05

Re: Ubuntu18.04でのsnapdバージョンアップについて

シェルでコマンド
apt policy snapd
snap info snapd
を実行したなら、それぞれどのような応答がありますか?


本題ではありませんが Ubuntu 18.04 LTSの通常サポート終了が 今年5月31日に
迫ってます。終了後のプランはたててますか?
Ubuntu 18.04 その467 - サポート期間の終了が迫る・アップグレードの検討を - kledgeb
https://kledgeb.blogspot.com/2023/03/ubuntu-1804-467.html
Ubuntu 18.04 その468 - Ubuntu 18.04 LTSのサポート期間が2023年5月まで延長 - kledgeb
https://kledgeb.blogspot.com/2023/04/ubuntu-1804-468-ubuntu-1804-lts20235.html

オフライン

 

#3 2023-04-17 09:31:16

Souya
新しいメンバ
登録日: 2023-04-14

Re: Ubuntu18.04でのsnapdバージョンアップについて

elliptic様
ご返信ありがとうございます。
以下それぞれのサーバでコマンドを実行した結果です。
見づらくて申し訳ございませんがご確認頂けますと幸いです。
■サーバA
root@サーバA :~# apt policy snapd
snapd:
  Installed: 2.58+18.04
  Candidate: 2.58+18.04
  Version table:
*** 2.58+18.04 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.57.5+18.04ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     2.32.5+18.04 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages


root@サーバA:~# snap info snapd
name:      snapd
summary:   Daemon and tooling that enable snap packages
publisher: Canonical?
store-url: https://snapcraft.io/snapd
license:   GPL-3.0+
description: |
  Install, configure, refresh and remove snap packages. Snaps are
  'universal' packages that work across many different Linux systems,
  enabling secure distribution of the latest apps and utilities for
  cloud, servers, desktops and the internet of things.

  Start with 'snap list' to see installed snaps.
type:    snapd
snap-id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
channels:
  latest/stable:    2.58.3                 2023-03-21 (18596) 52MB -
  latest/candidate: 2.59.1                 2023-04-11 (18933) 55MB -
  latest/beta:      2.59.1                 2023-03-29 (18933) 55MB -
  latest/edge:      2.59.1+git777.g023c8ea 2023-04-14 (19071) 55MB -

■サーバB
root@サーバB:~# apt policy snapd
snapd:
  Installed: 2.57.5+18.04ubuntu0.1
  Candidate: 2.57.5+18.04ubuntu0.1
  Version table:
*** 2.57.5+18.04ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.54.3+18.04.2ubuntu0.2 500
        500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     2.32.5+18.04 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages


root@サーバB:~# snap info snapd
name:      snapd
summary:   Daemon and tooling that enable snap packages
publisher: Canonical?
store-url: https://snapcraft.io/snapd
license:   GPL-3.0+
description: |
  Install, configure, refresh and remove snap packages. Snaps are
  'universal' packages that work across many different Linux systems,
  enabling secure distribution of the latest apps and utilities for
  cloud, servers, desktops and the internet of things.

  Start with 'snap list' to see installed snaps.
type:    snapd
snap-id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
channels:
  latest/stable:    2.58.3                 2023-03-21 (18596) 52MB -
  latest/candidate: 2.59.1                 2023-04-11 (18933) 55MB -
  latest/beta:      2.59.1                 2023-03-29 (18933) 55MB -
  latest/edge:      2.59.1+git777.g023c8ea 2023-04-14 (19071) 55MB -


また、終了後のプランについては現状プランを立てられておりませんので
立てるように致します。

オフライン

 

Board footer

Powered by FluxBB