** Tags added: precise trusty

** Changed in: apt (Ubuntu)
   Importance: Undecided => Low

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.

  Unicode spaces in sources.list files are not interpreted as spaces

Status in apt package in Ubuntu:

Bug description:
  I was troubleshooting an issue where apt was unable to update after
  copying the sources.list from another machine. It turns out the user
  was copy/pasting from an IM client that converted some whitespace to
  unicode non-breaking spaces.

  To reproduce:

  echo deb $'\302'$'\240'http://site.example.com/debian distribution
  component | sudo tee /etc/apt/sources.list.d/bugged.list

  12.04 and 14.04 results in immediate failure to update:

  $ sudo apt-get update
  E: The method driver /usr/lib/apt/methods/ http could not be found.

  APT in 16.04 seems to handle this a bit more sanely:

  $ sudo apt-get update
  Hit:1 [removed]
  Reading package lists... Done
  E: The method driver /usr/lib/apt/methods/ http could not be found.
  E: Failed to fetch  
  E: Some index files failed to download. They have been ignored, or old ones 
used instead.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to