ubuntu 12.04 won't update, I get this message:E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list

Asked by james walter gist

I get this message when I try to update Ubuntu 12.04:E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list I can't access the Ubuntu Software Center, update manager, or synaptic package manager. Help!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Ada Wah (ailurius) said :
#1

Hi

Please try this:

* Open the Terminal (open the Dash and search for "terminal")
* Then run these commands (enter your password when prompted):
sudo echo "deb http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu precise main" > /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
sudo echo "deb-src http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu precise main" >> /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
sudo apt-get update

* Now you can try to open the Software Center again

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

sudo echo xx > file

Doesn't work. The sudo does not traverse the redirect. The only part of the command with sudo access is the echo command and the user will get an access denied message. If you use:

echo "text" | sudo tee file

The tee command has sudo access and it will work. Use "tee -a" to add to a file like >> does and just "tee" like > works.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of :

cat /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list

Thanks

Revision history for this message
james walter gist (budgist12) said :
#4

I get the same message. Thanks for the help though.

On Sun, Jul 14, 2013 at 9:21 PM, Joakim Langvand <
<email address hidden>> wrote:

> Your question #232410 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> Status: Open => Answered
>
> Joakim Langvand proposed the following answer:
> Hi
>
> Please try this:
>
> * Open the Terminal (open the Dash and search for "terminal")
> * Then run these commands (enter your password when prompted):
> sudo echo "deb http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntuprecise main" > /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
> sudo echo "deb-src http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntuprecise main" >> /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
> sudo apt-get update
>
> * Now you can try to open the Software Center again
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/232410/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Apparently you have created a wrong entry in one of your source.list files (the configuration files that tell package management where to look for packages for installation and updates).

Please open a terminal (e.g. by simultaneously pressing ctrl-alt-t) and issue the command

cat /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list

Then select all output (using the terminal menu entry "edit - select all"), copy it ("edit - copy") and paste into the message box of this current question document.

Based in the information that you provide, it should then be easy for us to tell you how you can correct that error.

Revision history for this message
james walter gist (budgist12) said :
#6

bud@bud-Dimension-E521:~$ edit - select all
Warning: unknown mime-type for "-" -- using "application/octet-stream"
Warning: unknown mime-type for "select" -- using "application/octet-stream"
Warning: unknown mime-type for "all" -- using "application/octet-stream"
Error: no "edit" mailcap rules found for type "application/octet-stream"
Error: no "edit" mailcap rules found for type "application/octet-stream"
Error: no "edit" mailcap rules found for type "application/octet-stream"

On Mon, Jul 15, 2013 at 2:36 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #232410 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Apparently you have created a wrong entry in one of your source.list
> files (the configuration files that tell package management where to
> look for packages for installation and updates).
>
> Please open a terminal (e.g. by simultaneously pressing ctrl-alt-t) and
> issue the command
>
> cat /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
>
> Then select all output (using the terminal menu entry "edit - select
> all"), copy it ("edit - copy") and paste into the message box of this
> current question document.
>
> Based in the information that you provide, it should then be easy for us
> to tell you how you can correct that error.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Ok let's make this easy. Copy the below command:

cat /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list

Now on the keyboard press CTRL + ALT + T and paste the command into the terminal and hit ENTER.

Copy the output and paste here as an update.

Thanks

Revision history for this message
james walter gist (budgist12) said :
#8

ain

On Mon, Jul 15, 2013 at 3:16 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #232410 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Ok let's make this easy. Copy the below command:
>
> cat /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
>
> Now on the keyboard press CTRL + ALT + T and paste the command into the
> terminal and hit ENTER.
>
> Copy the output and paste here as an update.
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> You received this question notification because you asked the question.
>

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#9

sudo rm /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list

sudo apt-get update

Should now be smooth

Revision history for this message
james walter gist (budgist12) said :
#10

you are awesome! thanks a million. it worked the first time.

On Mon, Jul 15, 2013 at 3:56 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #232410 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> sudo rm /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
>
> sudo apt-get update
>
> Should now be smooth
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/232410/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/232410
>
> You received this question notification because you asked the question.
>

Revision history for this message
james walter gist (budgist12) said :
#11

problem solved! thanks for all your help. You guys are the best!