I get an error when I do a $sudo apt update on the Debian10 bash shell.

Asked 2 years ago, Updated 2 years ago, 92 views

Thank you for your help.
If you run $sudo apt update on the Debian10 bash shell, you will get an error and I want to resolve it.
Below is the terminal message.

$sudo apt update
Get:1 http://security.debian.org/debian-security cluster/updates InRelease [65.4kB]
Hit:2 http://ftp.jaist.ac.jp/debian cluster InRelease                               
Hit:3 http://ftp.jaist.ac.jp/debian cluster-updates InRelease                                         
Get:4 http://security.debian.org/debian-security stretch/updates InRelease [94.3kB]                                 
Ign:5 http://ftp.jp.debian.org/debian stretch InRelease                                                                                           
Hit—6 http://ftp.jp.debian.org/debian stretch-updates InRelease                                         
Hit—7 http://ftp.jp.debian.org/debian stretch release               
Hit—8 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu trusty InRelease
Ign:11 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease             
Hit—9 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease                   
Err:12 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal Release               
 404 Not Found [IP: 91.189.95.8380]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu local Release 'does not have a Release file.
N: Updating from such a repository can't be done securely, and there is before disabled by default.
N—See apt-secure(8)manpage for repository creation and user configuration details.

Also, I deleted the Ubuntu repository and wrote /etc/apt/sources.list as below, but I still get an error.The following is a description after deleting the Ubuntu repository in /etc/apt/sources.list.

By the way, the reason I added Ubuntu repository is because I wanted to install fingerprint-gui.

#
# debug cdrom: [Debian GNU/Linux 10.2.0_Buster_-Official amd64 NETINST 20191116-09:56] /buster main
# debug cdrom: [Debian GNU/Linux 10.2.0_Buster_-Official amd64 NETINST 20191116-09:56] /buster main
deb http://ftp.jaist.ac.jp/debian/ master main contrib non-free
deb-src http://ftp.jaist.ac.jp/debian/ master main contrib non-free
deb http://security.debian.org/debian-security master/updates main contrib non-free
deb-src http://security.debian.org/debian-security master/updates main contrib non-free
# master-updates, previously known as 'volatile'
deb http://ftp.jaist.ac.jp/debian/ master-updates main contrib non-free
deb-src http://ftp.jaist.ac.jp/debian/ master-updates main contrib non-free
# fingerprint-gui
# Debian GNU/Linux 9.1.0_Stretch
# debug cdrom: [Debian GNU/Linux 9.1.0_Stretch_-Official amd64xfce-CD Binary-120170722-11:29] /stretch main
debug http://ftp.jp.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ stretch main contrib non-free
debug http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
debug http://ftp.jp.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ stretch-updates main contrib non-free
# This system was installed using small removable media
# (e.g.netinst, live or single CD).The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list (5) manual.

Then I ran $sudo apt update and got the following error:

Get:1 http://security.debian.org/debian-security cluster/updates InRelease [65.4kB]
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3kB]
Hit:3 http://ftp.jaist.ac.jp/debian cluster InRelease                                                         
Get:4 http://ftp.jaist.ac.jp/debian cluster-updates InRelease [49.3kB]                                       
Ign:5 http://ftp.jp.debian.org/debian stretch InRelease                                                                                           
Get: 6 http://ftp.jp.debian.org/debian stretch-updates InRelease [91.0 kB]                                                                         
Hit—7 http://ftp.jp.debian.org/debian stretch release                                                                                     
Ign—8 http://repo.vivaldi.com/stable/deb stable InRelease                                                             
Hit—9 http://repo.vivaldi.com/stable/deb stable release                                   
Ign—10 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease
Err:14 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal Release               
 404 Not Found [IP: 91.189.95.8380]
Hit:11 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease     
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu local Release 'does not have a Release file.
N: Updating from such a repository can't be done securely, and there is before disabled by default.
N—See apt-secure(8)manpage for repository creation and user configuration details.

I would like to resolve the above error.I look forward to your kind cooperation.

linux bash debian apt

2022-09-30 11:13

1 Answers

Once you have removed /etc/apt/sources.list.d/fingerprint-ubuntu-fingerprint-gui-local.list,
$sudo apt update no longer produces errors.

Supplement

/etc/apt/sources.list.d/ Files located below contain information about the APT repository, but these files are usually added and deleted using the add-apt-repository command.

For this fingerprint-gui package, the Fingerprint GUI installation should look like the following (run with root privileges):

##Added
$ sudo add-apt-repositoryppa —fingerprint/fingerprint-gui

## Deleted
$ sudo add-apt-repository-rppa —fingerprint/fingerprint-gui

I wrote "delete", but actually all the contents of the file (fingerprint-ubuntu-fingerprint-gui-local.list) are deleted and the file itself remains (so-called truncate).


2022-09-30 11:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.