<div dir="ltr"><div dir="ltr">Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 21, 2021 at 2:57 PM Perry Hutchison <<a href="mailto:pluto@agora.rdrop.com">pluto@agora.rdrop.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ralph Little <<a href="mailto:skelband@gmail.com" target="_blank">skelband@gmail.com</a>> wrote:<br>
> On Fri, May 21, 2021 at 11:47 AM Perry Hutchison via sane-devel<br>
> <<a href="mailto:sane-devel@alioth-lists.debian.net" target="_blank">sane-devel@alioth-lists.debian.net</a>> wrote:<br>
><br>
> > In attempting to add the sane-release repository, I got a 404 error<br>
> > and subsequently a "... disabled by default." message. Did I do<br>
> > something wrong?<br>
> ><br>
> > $ sudo add-apt-repository<br>
> > <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a><br>
> > ...<br>
> > Err:5 <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a><br>
> > bionic Release<br>
> > 404 Not Found [IP: 91.189.89.222 443]<br>
> > ...<br>
> > Reading package lists... Done<br>
> ><br>
> > E: The repository '<br>
> > <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a> bionic<br>
> > Release' does not have a Release file.<br>
> > N: Updating from such a repository can't be done securely, and is<br>
> > therefore disabled by default.<br>
> > N: See apt-secure(8) manpage for repository creation and user<br>
> > configuration details.<br>
> ><br>
> > $ cat /usr/lib/os-release<br>
> > NAME="Ubuntu"<br>
> > VERSION="18.04.5 LTS (Bionic Beaver)"<br>
> > ID=ubuntu<br>
> > ID_LIKE=debian<br>
> > PRETTY_NAME="Ubuntu 18.04.5 LTS"<br>
> > VERSION_ID="18.04"<br>
> > HOME_URL="<a href="https://www.ubuntu.com/" rel="noreferrer" target="_blank">https://www.ubuntu.com/</a>"<br>
> > SUPPORT_URL="<a href="https://help.ubuntu.com/" rel="noreferrer" target="_blank">https://help.ubuntu.com/</a>"<br>
> > BUG_REPORT_URL="<a href="https://bugs.launchpad.net/ubuntu/" rel="noreferrer" target="_blank">https://bugs.launchpad.net/ubuntu/</a>"<br>
> > PRIVACY_POLICY_URL="<br>
> > <a href="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" rel="noreferrer" target="_blank">https://www.ubuntu.com/legal/terms-and-policies/privacy-policy</a>"<br>
> > VERSION_CODENAME=bionic<br>
> > UBUNTU_CODENAME=bionic<br>
> ><br>
> I believe that all you need do is the following:<br>
><br>
> sudo add-apt-repository ppa:sane-project/sane-release<br>
><br>
> Before that, I would go into /etc/apt/sources.list.d and remove anything<br>
> SANE related in there.<br>
> Looks like you have some items in there that are not correct.<br>
<br>
After checking /etc/apt/sources.list.d (which was empty), I tried<br>
adding ppa:sane-project/sane-release, with very similar 404 error<br>
and "... disabled by default" messages.<br>
<br>
$ sudo add-apt-repository ppa:sane-project/sane-release<br>
Ubuntu SANE packages from SANE Stable Source (<a href="https://gitlab.com/sane-project/backends/-/releases" rel="noreferrer" target="_blank">https://gitlab.com/sane-project/backends/-/releases</a>).<br>
<br>
Please send scanner related questions to the SANE mailing list:<br>
sane-devel at alioth-lists dot debian dot net.<br>
<br>
If you need the more recent scanner driver from git, you can use my other PPA: <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-git" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-git</a>.<br>
More info: <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a><br>
Press [ENTER] to continue or Ctrl-c to cancel adding it.<br>
<br>
Hit:1 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic InRelease<br>
Get:2 <a href="http://security.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://security.ubuntu.com/ubuntu</a> bionic-security InRelease [88.7 kB] <br>
Get:3 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates InRelease [88.7 kB] <br>
Get:4 <a href="http://ppa.launchpad.net/sane-project/sane-release/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/sane-project/sane-release/ubuntu</a> bionic InRelease [15.9 kB]<br>
Get:5 <a href="http://ppa.launchpad.net/sane-project/sane-release/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/sane-project/sane-release/ubuntu</a> bionic/main i386 Packages [1,580 B]<br>
Ign:6 <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a> bionic InRelease<br>
Get:7 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-backports InRelease [74.6 kB] <br>
Get:8 <a href="http://security.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://security.ubuntu.com/ubuntu</a> bionic-security/main amd64 DEP-11 Metadata [48.6 kB]<br>
Err:9 <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a> bionic Release<br>
404 Not Found [IP: 91.189.89.223 443]<br>
Get:10 <a href="http://ppa.launchpad.net/sane-project/sane-release/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/sane-project/sane-release/ubuntu</a> bionic/main amd64 Packages [1,580 B]<br>
Get:11 <a href="http://security.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://security.ubuntu.com/ubuntu</a> bionic-security/universe amd64 DEP-11 Metadata [60.4 kB]<br>
Get:12 <a href="http://ppa.launchpad.net/sane-project/sane-release/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/sane-project/sane-release/ubuntu</a> bionic/main Translation-en [1,008 B]<br>
Get:13 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates/main i386 Packages [1,287 kB]<br>
Get:14 <a href="http://security.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://security.ubuntu.com/ubuntu</a> bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]<br>
Get:15 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64 Packages [2,070 kB]<br>
Get:16 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64 DEP-11 Metadata [294 kB]<br>
Get:17 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates/universe amd64 Packages [1,735 kB]<br>
Get:18 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates/universe i386 Packages [1,567 kB]<br>
Get:19 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates/universe amd64 DEP-11 Metadata [290 kB]<br>
Get:20 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]<br>
Get:21 <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> bionic-backports/universe amd64 DEP-11 Metadata [9,288 B]<br>
Reading package lists... Done <br>
E: The repository '<a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a> bionic Release' does not have a Release file.<br>
N: Updating from such a repository can't be done securely, and is therefore disabled by default.<br>
N: See apt-secure(8) manpage for repository creation and user configuration details.<br>
<br>
However this time it did add a file to /etc/apt/sources.list.d:<br>
<br>
$ ll /etc/apt/sources.list.d<br>
total 12<br>
drwxr-xr-x 2 root root 4096 May 21 14:08 ./<br>
drwxr-xr-x 7 root root 4096 May 21 10:42 ../<br>
-rw-r--r-- 1 root root 154 May 21 14:09 sane-project-ubuntu-sane-release-bionic.list<br>
<br>
$ cat /etc/apt/sources.list.d/sane-*<br>
deb <a href="http://ppa.launchpad.net/sane-project/sane-release/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/sane-project/sane-release/ubuntu</a> bionic main<br>
# deb-src <a href="http://ppa.launchpad.net/sane-project/sane-release/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/sane-project/sane-release/ubuntu</a> bionic main<br>
<br>
Does this mean that it worked, despite the error messages?<br></blockquote><div><br></div><div>Yes, it looks like you have two entries though. This one looks weird:</div><div><br></div><div>Err:9 <a href="https://launchpad.net/~sane-project/+archive/ubuntu/sane-release" rel="noreferrer" target="_blank">https://launchpad.net/~sane-project/+archive/ubuntu/sane-release</a> bionic Release<br>
404 Not Found [IP: 91.189.89.223 443]</div><div><br></div><div>...so it looks like you have an additional bogus repo definition somewhere.</div><div>Perhaps look for it in /etc/apt:</div><div><br></div><div>grep -ri "sane-project" .</div><div><br></div><div>...and if you find something, nuke it. It looks like it can be recognised by the "~sane-project" part.</div><div><br></div><div>Cheers,</div><div>Ralph<br></div></div></div>