0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

sudo dpkg -iでインストールできないとき

Last updated at Posted at 2023-07-07

普通にインストールしようとすると

shell
$ sudo dpkg -i Lark-linux_x64-6.5.11.deb
dpkg: regarding Lark-linux_x64-6.5.11.deb containing bytedance-lark-stable, pre-dependency problem:
 bytedance-lark-stable pre-depends on dpkg (>= 1.14.0)
  dpkg is not installed.

dpkg: error processing archive Lark-linux_x64-6.5.11.deb (--install):
 pre-dependency problem - not installing bytedance-lark-stable
Errors were encountered while processing:
 Lark-linux_x64-6.5.11.deb

となり、インストールできない。

対処法

--force-allオプションをつける。

dpkg: regarding Lark-linux_x64-6.5.11.deb containing bytedance-lark-stable, pre-dependency problem:
 bytedance-lark-stable pre-depends on dpkg (>= 1.14.0)
  dpkg is not installed.

dpkg: warning: ignoring pre-dependency problem!
(Reading database ... 26316 files and directories currently installed.)
Preparing to unpack Lark-linux_x64-6.5.11.deb ...
Unpacking bytedance-lark-stable (6.5.11-0) over (6.5.11-0) ...

あとはこのまま待てばインストールできます。

ちょっとだけてこずったので備忘録です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?