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
Level 1
Level 1
Posts: 8
Joined: Sun Jan 13, 2019 1:47 pm
Location: Jakarta, Indonesia

Software Source error 'Cannot add PPA'

Post by rickyyohanes626 »

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 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.

Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: Software Source error 'Cannot add PPA'

Post by gm10 »

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: 64
Joined: Fri Aug 03, 2018 5:17 am

Re: Software Source error 'Cannot add PPA'

Post by Neil Darlow »

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

Code: Select all

The PPA listings on Launchpad show you what to enter for the username and ppaname fields.
Linux Mint 19.3, 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
Level 19
Level 19
Posts: 9629
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Software Source error 'Cannot add PPA'

Post by phd21 »

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

etcher on GitHub - Flash OS images to SD cards & USB drives, safely and easily.

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 stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
Trust's GPG key:

Code: Select all

sudo apt-key adv --keyserver --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 ... untu-18-04

Downloads –

HOWTO: Create a live USB drive with Rosa ImageWriter - Sabayon Wiki ... mageWriter

UNetbootin - Linux Downloads

MultiSystem Installation - LiveUSB MultiBoot

Hope this helps ...
Phd21: Mint 19.2 Cinnamon & xKDE (Xfce) & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 2 in 1, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics. I use KDE?:

Post Reply

Return to “Software & Applications”