Synaptic Error after Trying WINE Install

Tim Frost timfrost at xtra.co.nz
Sun Jan 4 07:30:28 UTC 2009


On Sat, 2009-01-03 at 17:12 -0500, Tom wrote:
> I got the following error from synaptic after I downloaded a WINE update
> and tried to install it:
> 
> E: Type '--19:49:00--' is not known on line 1 in source
> list /etc/apt/sources.list.d/winehq.list

That looks like a wget log timestamp.  Did you do 
  wget ..... > /etc/apt/sources.list.d/winehq.list
    (as root)
rather than 
  sudo wget ..... -o /etc/apt/sources.list.d/winehq.list

Check the contents of /etc/apt/sources.list.d/winehq.list.  Any line
that does not start with one of 'deb ' or 'deb-src ' or '#' will
generate an error similar to the one you are citing.

If the rest of the file looks OK, then just delete that line, and retry
your fetch of the new packages (remember to do 'apt-get update', or the
synaptic 'reload' operation, or update-manager 'check' operation, to
fetch index files for the additional repository).

Otherwise, post the contents of the file (or pastebin it, and post the
link, if the file is too big), and we can suggest what it should
contain, and what should be removed.


Tim

-- 
Tim Frost <timfrost at xtra.co.nz>





More information about the ubuntu-users mailing list