LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-02-2008, 10:48 AM   #1
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 59
Blog Entries: 1

Rep: Reputation: 16
Question why has ubunto stopped updates on my machine?


When clicking on the update icon on Ubuntu (which has always worked in the past) the following error is displayed:

E: error unknown in line 1 sources.list /etc/apt/sources.list.d/winehq.list

e: list of sources could not be read.

it mentions about changing the repositry. How do I edit this and I am not using wine anyway and it is not installed on my machine. any help would be appriecated.

Regards
itbod
 
Old 05-02-2008, 11:20 AM   #2
danboland
Member
 
Registered: Feb 2006
Location: NJ, USA
Distribution: Debian
Posts: 72

Rep: Reputation: 17
If you are not using wine then you shouldbe safe to just remove that respostry file:
Code:
rm /etc/apt/sources.list.d/winehq.list
And then run
Code:
 apt-get update &&  apt-get upgrade
 
Old 05-04-2008, 09:18 AM   #3
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 59
Blog Entries: 1

Original Poster
Rep: Reputation: 16
Smile

Thanks for your help, I will give it a try.

Regards

Itbod
 
Old 05-04-2008, 09:37 AM   #4
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 59
Blog Entries: 1

Original Poster
Rep: Reputation: 16
Question

Hi, Just tried your suggestion but had the message back:

"Remove write-protected regular file /etc/apt/sources.list.d/winehq.list ?

When I press enter or put my password in. then enter the upgrade code it gives me the same error I hafd before regarding winehq. Any ideas?

regards
itbod
 
Old 05-05-2008, 12:09 PM   #5
danboland
Member
 
Registered: Feb 2006
Location: NJ, USA
Distribution: Debian
Posts: 72

Rep: Reputation: 17
is the files actually removed? and make sure you run
apt-get update
to refresh the source list

Is it the exact same error? this error is actually a file parsing error, might be one of your source list files has an invalid entry
 
Old 05-06-2008, 07:09 AM   #6
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 59
Blog Entries: 1

Original Poster
Rep: Reputation: 16
Question

Hi. Yes it's the exact same error message. How do I change/edit the source files? Sorry to be a pain but I am used to using MS stuff. I must admit that I prefer Linux so much more stable!
 
Old 05-06-2008, 07:23 AM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
try
sudo rm -f /etc/apt/sources.list.d/winehq.list
And enter your root password when asked. Then,
sudo apt-get update
sudo apt-get upgrade
 
Old 05-08-2008, 10:32 AM   #8
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 59
Blog Entries: 1

Original Poster
Rep: Reputation: 16
Thumbs up

Thanks for your help. Worked a treat. One day I'll know all the terminal commands like I do for the old MSDOS.

Regards
Itbod
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare stopped working after security updates slsscoot Linux - Newbie 4 03-10-2008 05:34 PM
iptables script moved machine, stopped working dwynter Linux - Networking 12 02-05-2008 08:44 AM
SLES 10 updates via SLES 9 machine hassan2 Suse/Novell 2 09-19-2007 05:00 PM
installed ubunto twice by mistake now in boot up screen get 2 options for ubunto salpapa Linux - Newbie 8 06-28-2007 05:24 PM
Ubuntu Updates have stopped all Linux distros installing or working properly! HELP!! blastradius Linux - Hardware 2 07-06-2005 03:35 PM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration