Debian Buster/sid でパッケージ libmysql++-dev が見つかりません。

Debian Buster/sid でパッケージ libmysql++-dev が見つかりません。

Debianサーバーにインストールしようとしていますが、libmysql++-dev「パッケージが見つかりません」というエラーが表示されます。

root@rs-dal-karthik-test:~# apt-cache search libmysql++-dev
root@rs-dal-karthik-test:~# apt-get install libmysql++-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libmysql++-dev
E: Couldn't find any package by regex 'libmysql++-dev'

/etc/apt/sources.list次のように更新しました。

root@rs-dal-karthik-test:~# cat /etc/apt/sources.list
deb http://mirror.rackspace.com/debian buster main contrib non-free
deb-src http://mirror.rackspace.com/debian buster main contrib non-free

deb http://mirror.rackspace.com/debian-security/ buster/updates main contrib non-free
deb-src http://mirror.rackspace.com/debian-security/ buster/updates main contrib non-free
root@rs-dal-karthik-test:~# 

ファイルをapt-get upgrade更新した後に実行しましたが、何も機能しないようです。sources.list

公式のDebianバスター/SIDリンクにはパッケージ情報があります。https://packages.debian.org/sid/libmysql++-dev

オペレーティングシステムの詳細は次のとおりです。

root@rs-dal-karthik-test:~# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux buster/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@rs-dal-karthik-test:~# 

私のサーバーにこのパッケージをインストールする方法がわかりません。

編集以下の説明で述べたように、source.listを変更して出力セットを更新します。

root@rs-dal-karthik-test:~# cat /etc/apt/sources.list
deb http://mirror.rackspace.com/debian buster main contrib non-free
deb-src http://mirror.rackspace.com/debian buster main contrib non-free

deb http://mirror.rackspace.com/debian-security/ buster/updates main contrib non-free
deb-src http://mirror.rackspace.com/debian-security/ buster/updates main contrib non-free

deb http://ftp.us.debian.org/debian unstable main contrib non-free
deb http://ftp.us.debian.org/debian testing main contrib non-free
root@rs-dal-karthik-test:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  gir1.2-glib-2.0 libgirepository-1.0-1 libjs-sphinxdoc libjs-underscore libpython-all-dev python-all python-all-dev python-asn1crypto python-cffi-backend python-configparser python-crypto python-cryptography python-dbus
  python-entrypoints python-enum34 python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-pip-whl python-secretstorage python-six python-wheel python-xdg
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@rs-dal-karthik-test:~# apt-get install libmysql++-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libmysql++-dev
E: Couldn't find any package by regex 'libmysql++-dev'
root@rs-dal-karthik-test:~# 

ベストアンサー1

あなたのリポジトリはBusterのみを参照し、パッケージmysql++ングにエラーがあるため、そのパッケージセットはBusterの一部ではありません(参照:#871302そして#919377)。

ユーザーテストのベストプラクティステストしていないときに不安定なパッケージをインストールできるように、テスト(現在のBuster)と不安定なリポジトリを設定することをお勧めします。ただし、ここのように、欠陥のあるソフトウェアをインストールする可能性があります。

特に、今はサーバーでテストを実行することをお勧めしません。 Debian の次のリリースを準備するためにテストが中断されたため、アップデート (セキュリティ修正を含む) がサーバーで利用可能になるまで通常より長くかかることがあります。

おすすめ記事