1

I tried checking for broken lines in sources.list and there seems to be none. it just says Malformed entry 57 in list file /etc/apt/sources.list (component) The list of sources could not be read.

I am quite new to linux also and I just insatlled it and don't have anything on my pc so I can reinstall it if I need to.

line 53 to 66 was this:

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
deb https://dl.winehq.org/wine-builds/ubuntu/eoan main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/eoan main
deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ eoan main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ eoan main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ eoan main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ eoan main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/eoan main
# see the sources.list(5) manual.

`

guiverc
  • 30,396

1 Answers1

1

Spaces matter:

This one will fail:

deb https://dl.winehq.org/wine-builds/ubuntu/eoan main

This one will succeed:

deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main

See the difference?

Note that when you fix your typos, you might be replacing one problem (typo) with another (duplicate). Duplicates will also cause warning messages (not errors). Delete exact duplicates.

user535733
  • 62,253