LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Can't install tarsnap on Ubuntu groovy 20.10 (https://www.linuxquestions.org/questions/ubuntu-63/can%27t-install-tarsnap-on-ubuntu-groovy-20-10-a-4175684538/)

mcochris 11-01-2020 03:30 AM

Can't install tarsnap on Ubuntu groovy 20.10
 
I followed the directions to install tarsnap backup at http://www.tarsnap.com/pkg-deb.html but "sudo apt-get install tarsnap" fails with "E: Unable to locate package tarsnap" during the "Initial setup" step:

Quote:

chris@mortar:~$ wget http://pkg.tarsnap.com/tarsnap-deb-packaging-key.asc
--2020-11-01 02:40:40-- https://pkg.tarsnap.com/tarsnap-deb-packaging-key.asc
Resolving pkg.tarsnap.com (pkg.tarsnap.com)... 52.70.55.60
Connecting to pkg.tarsnap.com (pkg.tarsnap.com)|52.70.55.60|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1810 (1.8K) [application/pgp-signature]
Saving to: ‘tarsnap-deb-packaging-key.asc’

tarsnap-deb-packagi 100%[===================>] 1.77K --.-KB/s in 0s

2020-11-01 02:40:40 (77.9 MB/s) - ‘tarsnap-deb-packaging-key.asc’ saved [1810/1810]

chris@mortar:~$ gpg --list-packets tarsnap-deb-packaging-key.asc | grep signature
:signature packet: algo 1, keyid FC72A10BF6B692AA
:signature packet: algo 17, keyid 38CECA690C6A6A6E

chris@mortar:~$ sudo apt-key add tarsnap-deb-packaging-key.asc
[sudo] password for chris:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

chris@mortar:~$ file tarsnap-deb-packaging-key.asc
tarsnap-deb-packaging-key.asc: PGP public key block Public-Key (old)

chris@mortar:~$ echo "deb http://pkg.tarsnap.com/deb/$(lsb_release -s -c) ./" | sudo tee -a /etc/apt/sources.list.d/tarsnap.list
deb http://pkg.tarsnap.com/deb/groovy ./

chris@mortar:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu groovy-backports InRelease
Ign:4 http://pkg.tarsnap.com/deb/groovy ./ InRelease
Err:5 http://pkg.tarsnap.com/deb/groovy ./ Release
404 Not Found [IP: 52.70.55.60 80]
Get:6 http://security.ubuntu.com/ubuntu groovy-security InRelease [108 kB]
Get:7 http://security.ubuntu.com/ubuntu groovy-security/main amd64 DEP-11 Metadata [2,580 B]
Get:8 http://security.ubuntu.com/ubuntu groovy-security/universe amd64 DEP-11 Metadata [1,804 B]
Reading package lists... Done
E: The repository 'http://pkg.tarsnap.com/deb/groovy ./ 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.

chris@mortar:~$ sudo apt-get install tarsnap
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tarsnap

I'm not familiar enough with Ubuntu to figure this out. Thanks for any help.

jamison20000e 11-04-2020 11:19 PM

I'd try:
Code:

apt search tarsnap
sometimes it needs a version number at 'apt-get install XOXO.eg'? :scratch:

Add: did you also see:
Code:

sudo dpkg -i tarsnap_*.deb
https://www.tarsnap.com/pkg-deb.html...binary-package


All times are GMT -5. The time now is 07:26 PM.