update manager bug

Asked by Tommy Hoyer

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/mozillateam-firefox-stable-maverick.list'

update manager is not reachable after attempting to install Firefox. The repository can't be read
From terminal:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 0AB215679C571D1C8325275B9BDB3D89CE49EC21
gpg: requesting key CE49EC21 from hkp server keyserver.ubuntu.com
gpg: key CE49EC21: "Launchpad PPA for Mozilla Team" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/mozillateam-firefox-stable-maverick.list
E: The list of sources could not be read.
From update manager:

Could not download all repository indexes

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/mozillateam-firefox-stable-maverick.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Tommy Hoyer
Solved:
Last query:
Last reply:
Revision history for this message
Tommy Hoyer (witeshark17) said :
#1

So here is the solution:
in /etc/apt/sources.list.d
there was:
# deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
# deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
ain
ain

running - gksudo gedit /etc/apt/sources.list.d/mozillateam-firefox-stable-maverick.list - and editing out the 'ain' rogue characters solved the issue (obviously the main line was just a # comment anyway)
Special thanks to the the #ubuntu channel in Freenode IRC and member (nick) <mkanyicy> for their help! ^_^