googleをシークレットモードで起動させるdebianのコマンドを教えて
- User
googleをシークレットモードで起動させるdebianのコマンドを教えて
- Assistant
DebianでGoogle Chromeをシークレットモード(シークレットウィンドウ)で起動するには、以下のコマンドをターミナルに入力してください。
bashgoogle-chrome --incognitoもしくは、Google Chromeが
google-chrome-stableという名前でインストールされている場合はbashgoogle-chrome-stable --incognitoと入力します。
もしChromiumブラウザを使っている場合は、
bashchromium --incognitoで起動できます。
ポイント
--incognitoオプションがシークレットモードで起動するための指定です。- コマンドが見つからない場合は、
which google-chromeなどでインストールパスを確認してください。
もしコマンドが分からない場合は、以下のコマンドでインストールしてください:
bashsudo apt update sudo apt install google-chrome-stable(Google Chromeのリポジトリ設定が済んでいる場合)
または
bashsudo apt install chromium(Chromiumの場合)
- User
Hit:1 https://deb.debian.org/debian bookworm InRelease Hit:2 https://deb.debian.org/debian bookworm-updates InRelease
Hit:3 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://packages.microsoft.com/repos/edge stable InRelease
Ign:5 https://storage.googleapis.com/cros-packages/135 bookworm InRelease
Hit:7 https://storage.googleapis.com/cros-packages/135 bookworm Release
Ign:6 https://repo.sparkylinux.org sparkylinux InRelease
Err:9 https://repo.sparkylinux.org sparkylinux Release 404 Not Found [IP: 184.174.34.74 443] Reading package lists... Done E: The repository ' sparkylinux Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. - Assistant
このエラーメッセージは、
repo.sparkylinux.orgのリポジトリが存在しないか、URLが間違っているため、Debianのapt updateが失敗していることを示しています。
問題の原因
codeE: The repository 'http://repo.sparkylinux.org sparkylinux Release' does not have a Release file.つまり、
http://repo.sparkylinux.orgのsparkylinuxリポジトリにリリースファイルが見つからず、更新できません。
対応方法
1. リポジトリを無効化または削除する
Sparkylinuxのリポジトリが不要なら、以下のいずれかで無効化または削除しましょう。
bashsudo nano /etc/apt/sources.listまたは
bashsudo nano /etc/apt/sources.list.d/*****該当の行(
repo.sparkylinux.orgを含む行)をコメントアウト(行の先頭に#をつける)するか、削除してください。編集例:
bash# deb http://repo.sparkylinux.org sparkylinux main