# Etcher broke my packages

**URL:** <https://forums.balena.io/t/etcher-broke-my-packages/5190>\
**Category:** balenaEtcher\
**Created:** [February 4, 2019, 12:32am UTC](https://forums.balena.io/t/etcher-broke-my-packages/5190 "2019-02-04T00:32:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![throwaway2193921](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@throwaway2193921](https://forums.balena.io/u/throwaway2193921)\
**Post date:** [February 4, 2019, 12:32am UTC](https://forums.balena.io/t/etcher-broke-my-packages/5190/1 "2019-02-04T00:32:30Z")

</div>

(ubuntu 18.04.1) i installed etcher, rebooted some time afterwards, and got this:  
 ![Screenshot%20from%202019-02-03%2019-26-39](https://global.discourse-cdn.com/balena/original/2X/8/89acc1f57c3ebdb53306fb9fa8408f24742fe995.jpeg)

when i put `sudo apt-get update` in the terminal, i essentially get the same thing:

`E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/balena-etcher.list`  
`E: The list of sources could not be read.`

anyone know a fix? i’m pretty pissed.

---

<div class="post-metadata">

**Author:** ![throwaway2193921](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@throwaway2193921](https://forums.balena.io/u/throwaway2193921)\
**Post date:** [February 4, 2019, 12:37am UTC](https://forums.balena.io/t/etcher-broke-my-packages/5190/2 "2019-02-04T00:37:47Z")

</div>

also, for additional context, i attempted to install etcher via the terminal using the github instructions but i got confused and i couldn’t get it to work, so i tried with the appimage and it worked - i assume it must have been a problem with me f\*\*\*\*ng up with the terminal installation

---

<div class="post-metadata">

**Author:** ![throwaway2193921](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@throwaway2193921](https://forums.balena.io/u/throwaway2193921)\
**Post date:** [February 4, 2019, 2:10am UTC](https://forums.balena.io/t/etcher-broke-my-packages/5190/3 "2019-02-04T02:10:10Z")

</div>

hello? i haven’t been able to update or install anything since this first appeared! this is really making me mad!

---

<div class="post-metadata">

**Author:** ![edorgeville](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/edorgeville/32/3993_2.png) [@edorgeville](https://forums.balena.io/u/edorgeville)\
**Post date:** [February 4, 2019, 8:14pm UTC](https://forums.balena.io/t/etcher-broke-my-packages/5190/4 "2019-02-04T20:14:51Z")

</div>

It looks like a malformed list.  
Could you paste the output of the following command here:

```bash
sudo cat /etc/apt/sources.list.d/balena-etcher.list

```

---

<div class="post-metadata">

**Author:** ![Reggie971](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@Reggie971](https://forums.balena.io/u/Reggie971)\
**Post date:** [April 4, 2019, 5:49pm UTC](https://forums.balena.io/t/etcher-broke-my-packages/5190/5 "2019-04-04T17:49:41Z")

</div>

E:type sudo is not known on line 1 in source list /etc/apt/sources.list.d/balena-etcher.list.

Same here,this is what i get when I run sudo cat /etc/apt/sources.list.d/balena-etcher.list

sudo apt-get update  
sudo apt-get install balena-etcher-electron

Thanks for the help…

---

<div class="post-metadata">

**Author:** ![zvin](https://avatars.discourse-cdn.com/v4/letter/z/a5b964/32.png) [@zvin](https://forums.balena.io/u/zvin)\
**Post date:** [April 18, 2019, 12:34pm UTC](https://forums.balena.io/t/etcher-broke-my-packages/5190/9 "2019-04-18T12:34:35Z")

</div>

@Reggie971 @throwaway2193921

The error message is quite explicit: `Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/balena-etcher.list`

This means the first line of the `/etc/apt/sources.list.d/balena-etcher.list` file starts with `sudo` which is not expected by `apt`.  
This file should contain exactly this line `deb https://deb.etcher.io stable etcher`  
Update the file or remove it, then you’ll be able to `sudo apt-get update` again.
