Software Source error 'Cannot add PPA'

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
rickyyohanes626
Level 1
Level 1
Posts: 6
Joined: Sun Jan 13, 2019 1:47 pm
Location: Jakarta, Indonesia

Software Source error 'Cannot add PPA'

Post by rickyyohanes626 » Mon Jan 14, 2019 8:31 am

This problem occurs after adding PPSSPP's PPA. Now I want to add Etcher's PPA, but I couldn't because it stuck after inputting sudo password. So I decided to add PPA via mintsources (aka Software Sources). So I just input this PPA:

Code: Select all

deb https://dl.bintray.com/resin-io/debian stable etcher
then same, it got freeze, so I decided to force close it. I try again, but it's show error:

Code: Select all

Cannot add PPA: 'Expecting value: line 1 column 1 (char 0)'
I'm running Linux Mint 19.1 Cinnamon Edition with currently 2 PPA added, oibaf graphics driver and PPSSPP emulator.
5 years using Linux Mint, it's feels like my own neighbourhood.

gm10
Level 17
Level 17
Posts: 7162
Joined: Thu Jun 21, 2018 5:11 pm

Re: Software Source error 'Cannot add PPA'

Post by gm10 » Mon Jan 14, 2019 8:45 am

That's not a PPA, that's a repository, you can add it under Additional Repositories in Software Sources.

Neil Darlow
Level 2
Level 2
Posts: 57
Joined: Fri Aug 03, 2018 5:17 am

Re: Software Source error 'Cannot add PPA'

Post by Neil Darlow » Mon Jan 14, 2019 12:46 pm

You add PPAs under the PPAs choice in the Software Sources application using the following format:

Code: Select all

ppa:username/ppaname
The PPA listings on Launchpad show you what to enter for the username and ppaname fields.
Linux Mint 19.1, Intel Core i5 8400 2.8GHz, ASUS Prime Z370-P, Corsair Vengeance 3400 16GB, ASUS Cerberus GTX1050 Ti, Samsung 970 Evo 500GB M.2, Western Digital Blue 4TB, Wircard RealTek 8821ae PCIe Wireless+Bluetooth 4.0, Pioneer BDR-209EBK BDRW.

User avatar
phd21
Level 18
Level 18
Posts: 8722
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Software Source error 'Cannot add PPA'

Post by phd21 » Mon Jan 14, 2019 1:21 pm

Hi rickyyohanes626,

Welcome to the wonderful world of Linux Mint and its excellent forum!

I just read your post and the good replies to it. Here are my thoughts on this as well.

There are some excellent USB stick creators (image writers) available to use in Linux and all computer operating systems and Etcher is one of them. All Linux Mint editions include a great USB image writer and USB stick formatter applications in your menus. There are these apps as well: "unetbootin" (works on all systems), rosa image writer, startup disk creator, multisystem, multiboot usb, etc...

balenaEtcher - Home
- scroll down to see more options
https://www.balena.io/etcher/

etcher on GitHub - Flash OS images to SD cards & USB drives, safely and easily.
https://github.com/balena-io/etcher

A lot of popular software like "Etcher" usually has various installation methods and Etcher has their add repository method, deb file, or their AppImage which they archived, so you have to right-click their archive file to extract their AppImage file. I have been using their AppImage file, but adding their repository would keep it updated and I just added it and it works.

To install Etcher using their add repository method, open a console terminal, type in, or copy & paste, each line below one by one:Click "Select All" above command, right-click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste ("Shift+Insert" or "Ctrl+Shift+v"), repeat for each command.

If you have already tried to install the Etcher repository and it did not work, run this command before continuing

Code: Select all

sudo rm /etc/apt/sources.list.d/balena-etcher*.list
Add Etcher repository:

Code: Select all

echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
Trust Bintray.com's GPG key:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
Update and install:

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install balena-etcher-electron
The link below uses the Etcher Linux deb file.
How to install Etcher Image Editor on Ubuntu 18.04 | LinuxHelp Tutorials
https://www.linuxhelp.com/how-to-instal ... untu-18-04


Downloads – en.rosalinux.com
http://en.rosalinux.com/downloads/

HOWTO: Create a live USB drive with Rosa ImageWriter - Sabayon Wiki
https://wiki.sabayon.org/index.php?titl ... mageWriter

UNetbootin - Linux Downloads
https://unetbootin.github.io/linux_download.html

MultiSystem Installation - LiveUSB MultiBoot
http://liveusb.info/dotclear/index.php?pages/install


Hope this helps ...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Software & Applications”