I am using ChromeOS running Debian 12. When I try to install Flathub with sudo apt install Flathub
, it returns with E: Malformed line 1 in source list /etc/apt/sources.list.d/lutris.list (type). What do I have to do to fix this?
Seems like there is something wrong with this file
Can you paste the contents of that file? (run the below command)
cat /etc/apt/sources.list.d/lutris.list
I think you might not be able to install any software at all using apt, this is not specifically a flathub issue
Flathub is a repository for Flatpak, which is a packaging technology. So, the correct steps to activating Flathub are to install Flatpak, and then to add Flathub as a Flatpak repository.
You can find the commands to activate Flathub here:
uhh i just realized i messed around with it accidentally so the contents is
>
>
> e
>
>
> cd
> thebigcheez@penguin:~$
> echo hi
> uhhh
> hello?
> n
> N
> stop
> sudo stop
> bruh
> e
> bookworm
> pacman
how can I fix this?
That’s certainly something…
If I’m right, you tried to install Lutris, correct?
You should be able to safely remove this file, and then apt should work again:
sudo rm /etc/apt/sources.list.d/lutris.list
sudo apt update
tysm! Flathub is finally installing now