WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 5 posts ] 



 
Author Message
 Post subject: Can't install wine
 Post Posted: Fri Feb 01, 2019 7:18 pm 
Offline
Level 2
Level 2

Joined: Sat Jan 19, 2019 1:00 am
Posts: 16
Have a desktop running win 7 with a usb hdd with virtualbox Ubuntu 18.04. I've been fighting wine for awhile now.
Keep getting error about sources.list line 52. Question 1. Can I delete sources.list? 2.-If not how much can I edit and save so that I can download wine and install? 3.-I've got the screenshots as I tried. Would appreciate any help, one of you can do. Am taking a ubuntu course on udemy to get some education on how to do this. Learning the simularities of Linux and Dos 6. So I'm not learning from zero.


Attachments:
Screenshot from 2019-02-01 15-56-49.png
Screenshot from 2019-02-01 15-56-49.png [ 88.31 KiB | Viewed 175 times ]
Screenshot from 2019-02-01 16-02-22.png
Screenshot from 2019-02-01 16-02-22.png [ 105.12 KiB | Viewed 175 times ]
Screenshot from 2019-02-01 15-59-38.png
Screenshot from 2019-02-01 15-59-38.png [ 161.7 KiB | Viewed 175 times ]
Top 
 Post subject: Re: Can't install wine
 Post Posted: Fri Feb 01, 2019 7:42 pm 
Offline
Level 12
Level 12
User avatar

Joined: Sat Oct 16, 2010 7:40 pm
Posts: 2422
Location: Cambridge
Tlmk3 wrote:
Have a desktop running win 7 with a usb hdd with virtualbox Ubuntu 18.04. I've been fighting wine for awhile now.
Keep getting error about sources.list line 52. Question 1. Can I delete sources.list? 2.-If not how much can I edit and save so that I can download wine and install? 3.-I've got the screenshots as I tried. Would appreciate any help, one of you can do. Am taking a ubuntu course on udemy to get some education on how to do this. Learning the simularities of Linux and Dos 6. So I'm not learning from zero.


  1. Please don't post screenshots of text files and terminal output!! :roll:
    Post these either: on a pastebin-esque site or inline, in a forum post, using Code tags:
    Code:
    ...

    as text!

  2. You can simply run:
    Code:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    sudo sed -i -e 's/winehp/winehq/g' /etc/apt/sources.list


    Line 52 should be:
    Code:
    https://dl.winehq.org/ ...

    not:
    Code:
    https://dl.winehp.org/ ...

Bob


Top 
 Post subject: Re: Can't install wine
 Post Posted: Mon Feb 04, 2019 1:47 am 
Offline
Level 2
Level 2

Joined: Sat Jan 19, 2019 1:00 am
Posts: 16
Thanks for the info, Bob. Please help me understand why about the post --no.1.
And no.2 --I thank you for the URL. no.3--I did get root access and changed line 52 and 53 to winehq. But when I try to apt-add-repository... I get an error " Malformed entry line 52 in list file etc/apt/sources.list (component). E: list of sources could not be read. It won't let me download wine and install. Is "sources.list" crucial to Ubuntu? Can it be deleted, or all entries of just winehq be deleted? Then I can start from scratch and maybe get wine installed. Thanks, I'm about ready to uninstall all of Ubuntu and start all over from the beginning--would rather not if I can fix this. Tlmk3


Top 
 Post subject: Re: Can't install wine
 Post Posted: Mon Feb 04, 2019 3:19 am 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 336
Quote:
Is "sources.list" crucial to Ubuntu?

Yes, it is. Your system doesn't explode, but you can't install or update new software.

Quote:
or all entries of just winehq be deleted?

It is save to delete all winehq lines and try again.

post no. 1
You are in the root (/) directory and you haven't write permissions in that directory. The file winehq.key can't be saved and because of that, the key can't be installed.

post no. 2
Apt tries to read the sources.list file and gives an error on the first mistake. A missing white space between .../ubuntu/ and xenial on line 52


Top 
 Post subject: Re: Can't install wine
 Post Posted: Mon Feb 04, 2019 9:21 pm 
Offline
Level 2
Level 2

Joined: Sat Jan 19, 2019 1:00 am
Posts: 16
Thanks JK. After a week and several hours (5 plus) a day, I finally have it installed. A lot of research on the net and a ton of experimentation. I don't understand the theory nor the implementation, but the job is done. The rest will come from a book, net and UDEMY. I appreciate your response. It helps.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 5 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: Bing [Bot] and 6 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron