1

this for upgrade lubuntu

This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.
Error Detail: E:Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_hirsute-impish.list (Component), E:Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_impish-impish.list (Component), E:The list of sources could not be read.
Failed to load the package list
This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.

I got the same erors on terminal and package menager it happened after try to download wine but ı did exactly the thing they say on forum so ı dont understand the problem, ı need help please.


after this happened, I tryed command of;

sudo -H gedit /etc/apt/sources.list

But it says command not found.

then ı did use

sudo sed -i -e '68d' /etc/apt/sources.list


sudo cp /etc/apt/sources.list.backup /etc/apt/sources.list


sudoedit /etc/apt/sources.list

-

on the smilar questions in the forum the ways people suggesting didnt helped until now . same eror continue...

I think it deleted some thing when ı use the command of; sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'

because just after ı dıd thıs, problem started.

1 Answers1

0

Please note you've contributed to a problem probably significantly by your own admission; ie. commands like

  • sudo -H gedit /etc/apt/sources.list
  • sudo sed -i -e '68d' /etc/apt/sources.list
  • sudo cp /etc/apt/sources.list.backup /etc/apt/sources.list
  • sudoedit /etc/apt/sources.list

as these are not the file created by your sudo add-apt-repository command you mention that caused your issue.

A clean install has an empty /etc/apt/sources.list.d/ and the add-apt-repository command creates entries in there as outlined in your error

/etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_hirsute-impish.list

ie. to fix your issue, that is the file you should hae made correction(s) to. Now you need to undo whatever changes you made with the multiple edits of a valid file in your sed & multiple edit commands. What you did in those edits we can't know as you didn't provide details; only the command that started the edit.

This is really a comment (too long for comment though) that may help you understand what is wrong. Sorry I'd love to help, but the error in your question

E:Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_hirsute-impish.list

tells you what line number (1) and in what file (/etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_hirsute-impish.list) the correction needs to be made; which is not what you attempted. Duplicate links on this site tell you how to fix (or comment out) these errors.

guiverc
  • 33,561