Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Ubuntu 12.04 on a memory stick courtesy of LiveLinux -

So I wanted to install git (sudo apt-get install git) and I've been getting the following error message;

W: Invalid regular expression '\.dpkg......
(more stuff about invalid regular expression)
E: Unable to locate package update

I can't do apt-get anything sudo give me the following;

sudo: parse error in /etc/sudoers near line 0
sudo: no valid sudoers source found, quitting
sudo: unable to initialize policy plugin

I'm pretty clueless here. Any ideas?

share|improve this question

closed as off-topic by Seth Jun 26 '14 at 19:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Seth
If this question can be reworded to fit the rules in the help center, please edit the question.

Still need an answer? – Seth Jun 26 '14 at 19:34

Browse other questions tagged or ask your own question.