odeke-em / drive

Google Drive client for the commandline
Apache License 2.0
6.69k stars 426 forks source link

Unable to install on Ubuntu 22.04 #1147

Open psychon-night opened 1 year ago

psychon-night commented 1 year ago

Following the instructions here: https://github.com/odeke-em/drive/blob/master/platform_packages.md#ubuntu-or-ubuntu-based-distros Leads to errors when trying to install the app.

Here's my terminal output:

/Downloads/tuxdrive-2.0.1$ sudo add-apt-repository ppa:twodopeshaggy/drive
Repository: 'deb https://ppa.launchpadcontent.net/twodopeshaggy/drive/ubuntu/ jammy main'
Description:
A commandline tool for google drive.
More info: https://launchpad.net/~twodopeshaggy/+archive/ubuntu/drive
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/twodopeshaggy-ubuntu-drive-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/twodopeshaggy-ubuntu-drive-jammy.list
Adding key to /etc/apt/trusted.gpg.d/twodopeshaggy-ubuntu-drive.gpg with fingerprint 822B68845525C0F9BD1D6F826B880C4CE122E8FC
Ign:1 http://shaggytwodope.github.io/repo ./ InRelease
Err:2 http://shaggytwodope.github.io/repo ./ Release                                      
  404  Not Found [IP: 185.199.108.153 80]
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy InRelease                                                                        
Hit:4 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                                                                   
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                 
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease                                                              
Hit:8 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease                                              
Hit:9 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease                                   
Hit:10 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease                               
Hit:11 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease                               
Hit:12 https://ppa.launchpadcontent.net/alessandro-strada/ppa/ubuntu jammy InRelease                   
Hit:13 https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu jammy InRelease
Hit:14 https://ppa.launchpadcontent.net/ernstp/mesarc/ubuntu jammy InRelease      
Get:15 https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy InRelease [24.3 kB]
Hit:16 https://repo.waydro.id jammy InRelease                                    
Hit:17 https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu jammy InRelease
Ign:18 https://ppa.launchpadcontent.net/twodopeshaggy/drive/ubuntu jammy InRelease
Err:19 https://ppa.launchpadcontent.net/twodopeshaggy/drive/ubuntu jammy Release
  404  Not Found [IP: 185.125.190.52 443]
Reading package lists... Done                                                                                                    
E: The repository 'http://shaggytwodope.github.io/repo ./ 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.
W: https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://ppa.launchpadcontent.net/twodopeshaggy/drive/ubuntu jammy 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.

I then try to install it...

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package drive

Any suggestions?

I'm using Ubuntu 22.04 LTS 64-bit

hightowe commented 1 year ago

Honestly, and I mean this sincerely after having done this myself -- switch to rclone. It is actively maintained and works great. There is a learning curve from drive, but it's worth pushing through it.