0
1

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 3 years have passed since last update.

python-aptについて

Last updated at Posted at 2020-01-23

Ubuntuユーザーならわけもわからず使っているであろうaptコマンド。実はタイトルのpython-aptが深く関わっている。以下、アップデートマネージャーの説明から引用しました。

python-aptとは

apt_pkg Python インターフェースは、Python プログラムから以下に示す様々な機 能の実行を簡単に行うことを可能とするために、内部の
libapt-pkg 機構への完全 なアクセスを提供します。
.

  • Access to the APT configuration system
  • Access to the APT package information database
  • Parsing of Debian package control files, and other files with a
    similar structure
    .
    同梱される 'aptsources' Python インターフェースは、sources.list ファイルの
    設定を、リポジトリやディストリビューションのレベルで抽象化する機能を提供します。

まとめ

pyenvいれたしシステム(/usr/bin/)のpythonは使わないから削除しちゃえ!と軽い気持ちで apt remove --force-depends pythonとかやらないように。大変な事態になります。

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?