Bitbucket Pipelines.ymlにFTPの問題があります。

Bitbucket Pipelines.ymlにFTPの問題があります。

samueldebruyn/debian-gitで使用しているコードがあります。

数ヶ月間働いていましたが、突然エラーが発生しました。

+ apt-get update
Ign:1 http://security.debian.org/debian-security stable/updates InRelease
Get:2 http://deb.debian.org/debian stable InRelease [113 kB]
Err:3 http://security.debian.org/debian-security stable/updates Release
  404  Not Found [IP: 151.101.54.132 80]
Get:4 http://deb.debian.org/debian stable-updates InRelease [36.8 kB]
Get:5 http://deb.debian.org/debian stable/main amd64 Packages [8178 kB]
Reading package lists...
E: The repository 'http://security.debian.org/debian-security stable/updates Release' does not have a Release file.

コードは以下のように表示されます。

image: samueldebruyn/debian-git

pipelines:
  branches:  # Pipelines that run automatically on a commit to a branch can also be triggered manually
    live:
      - step:
          script:
            - apt-get update
            - apt-get -qq install git-ftp
            - git ftp push -u $FTP_USERNAME_LIVE -p $FTP_PASSWORD_LIVE $FTP_URL_LIVE
    dev:
      - step:
          script:
            - apt-get update
            - apt-get -qq install git-ftp
            - git ftp push -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL

この問題の解決にご協力いただきありがとうございます。

ベストアンサー1

404エラーが表示されるのは、Debianが新しい安定版Bullseyeをリリースしたばかりで、セキュリティストアが以前の安定版Busterとは異なるパスを使用しているためです。あなたの場合は明示的に指定したので、stable一度安定したら自動的にブルズアイを使い始めます。

Bullseyeを使い続けるには、正しい入力/etc/apt/sources.listは次のとおりです。

deb https://deb.debian.org/debian-security/ stable-security main

それ以外の場合は、に変更する必要があり、以前のstableバージョンbusterを引き続き使用します。イメージマネージャに連絡して、適切に更新するよう依頼することもできます。

おすすめ記事