Error Msg in upgrade to 12.10 from 12.04

Asked by Ed Kilb on 2013-01-31

While trying to upgrade from 12.04 to 12.10 I keep getting the following messages before the upgrade aborts.
(1)
Third party sources disabled
Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager.
(2)
A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-backports/main/source/Sources 404 Not Found [IP: 91.189.91.15 80]
, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-backports/restricted/source/Sources 404 Not Found [IP: 91.189.91.15 80]
, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-backports/universe/source/Sources 404 Not Found [IP: 91.189.91.15 80]
, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-backports/multiverse/source/Sources 404 Not Found [IP: 91.189.91.15 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

How can I fix this. Ed Kilb

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
2013-02-06
Last query:
2013-02-06
Last reply:
2013-02-05

Please send us the full Terminal output of the following 3 commands:

cat /etc/lsb-release

uname -a

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

In any case, you need to remove any configuration lines containing the word maverick (Ubuntu 10.10) in your /etc/apt/sources.list file.

Maverick is dead, end-of-life and not supported anymore.

Very strange that it is still present in your /etc/apt/sources.list file

Ed Kilb (ekilb) said : #2

I am new to this and don't know where I would type the commands you requested.
Do I open some Linux page and type this in some kind of source code?
Ed Kilb

________________________________
 From: Mark Rijckenberg <email address hidden>
To: <email address hidden>
Sent: Thursday, January 31, 2013 2:01 AM
Subject: Re: [Question #220620]: Error Msg in upgrade to 12.10 from 12.04

Your question #220620 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/220620

    Status: Open => Answered

Mark Rijckenberg proposed the following answer:
Please send us the full Terminal output of the following 3 commands:

cat /etc/lsb-release

uname -a

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n
"$1"' _ '{}' \;

In any case, you need to remove any configuration lines containing the word maverick (Ubuntu 10.10) in your /etc/apt/sources.list file.

Maverick is dead, end-of-life and not supported anymore.

Very strange that it is still present in your  /etc/apt/sources.list
file

--
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/220620/+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/220620

You received this question notification because you asked the question.

Open a Command-line

In Gnome (classic)

If you are using the Gnome interface, via "Applications->Accessories->Terminal"

In Unity

If you are using the Unity interface, the easiest way to open the Terminal is to use the 'search' function on the dash. Or you can click on the 'More Apps' button, click on the 'See more results' by the installed section, and find it in that list of applications. A third way, available after you click on the 'More Apps' button, is to go to the search bar, and see that the far right end of it says 'All Applications'. You then click on that, and you'll see the full list. Then you can go to Accessories > Terminal after that. So, the methods in Unity are:

Press CTRL-ALT-T key combination.

Dash > Search for Terminal

Dash > More Apps > 'See More Results' > Terminal

Dash > More Apps > Accessories > Terminal

I also suggest reading these guides:

https://help.ubuntu.com/community/UsingTheTerminal#Starting%20a%20Terminal

https://help.ubuntu.com/community/ExternalGuides

So copy-paste each command one by one into the Linux Terminal and send us the full Terminal output by copy-pasting the output here:

https://answers.launchpad.net/ubuntu/+question/220620

Ed Kilb (ekilb) said : #4

Here is what I received when I put the commands in Terminal.

efk2@efk2-M285-E:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
efk2@efk2-M285-E:~$
efk2@efk2-M285-E:~$ uname -a
Linux efk2-M285-E 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:41:24 UTC 2013 i686 i686 i386 GNU/Linux
efk2@efk2-M285-E:~$
efk2@efk2-M285-E:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n
> "$1"' _ '{}' \;

/etc/apt/sources.list.d/google-earth.list

Is this what I was supposed to get?

Ed Kilb

________________________________
 From: Mark Rijckenberg <email address hidden>
To: <email address hidden>
Sent: Friday, February 1, 2013 2:06 AM
Subject: Re: [Question #220620]: Error Msg in upgrade to 12.10 from 12.04

Your question #220620 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/220620

    Status: Open => Needs information

Mark Rijckenberg requested more information:
Open a Command-line

In Gnome (classic)

If you are using the Gnome interface, via
"Applications->Accessories->Terminal"

In Unity

If you are using the Unity interface, the easiest way to open the
Terminal is to use the 'search' function on the dash. Or you can click
on the 'More Apps' button, click on the 'See more results' by the
installed section, and find it in that list of applications. A third
way, available after you click on the 'More Apps' button, is to go to
the search bar, and see that the far right end of it says 'All
Applications'. You then click on that, and you'll see the full list.
Then you can go to Accessories > Terminal after that. So, the methods in
Unity are:

Press CTRL-ALT-T key combination.

Dash > Search for Terminal

Dash > More Apps > 'See More Results' > Terminal

Dash > More Apps > Accessories > Terminal

I also suggest reading these guides:

https://help.ubuntu.com/community/UsingTheTerminal#Starting%20a%20Terminal

https://help.ubuntu.com/community/ExternalGuides

So copy-paste each command one by one into the Linux Terminal and send us the full Terminal output by copy-pasting the output here:

https://answers.launchpad.net/ubuntu/+question/220620

--
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/220620

You received this question notification because you asked the question.

Yes, that is helpful, but you only sent us a small portion of the output of this command:

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

Please send ALL the output.

Ed Kilb (ekilb) said : #6

efk2@efk2-M285-E:~$
efk2@efk2-M285-E:~$ uname -a
Linux efk2-M285-E 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:41:24 UTC 2013 i686 i686 i386 GNU/Linux
efk2@efk2-M285-E:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
efk2@efk2-M285-E:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n
> "$1"' _ '{}' \;

/etc/apt/sources.list.d/google-earth.list
this is what I keep getting. Would waiting for 13.04 help?

The problem is that I do not see the /etc/apt/sources.list file in your Terminal output, which is extremely strange.

I suggest running this command:

sudo rm /etc/apt/sources.list.d/*

Then run this command:

gksudo gedit /etc/apt/sources.list

Remove all the contents in the /etc/apt/sources.list file (if there are contents in it)

Then generate a new sources.list file using this link:

http://repogen.simplylinux.ch/

After choosing the repositories and release "Precise 12.04", click on "generate list" at the bottom of the page.

Copy the contents from this generated list into the /etc/apt/sources.list file using the gedit editor.

Then rerun all the commands in this procedure and send us the Terminal output:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

I would NOT wait for 13.04, because that will take too long.

I would either follow my procedure or perform a clean install of Ubuntu 12.04 LTS or Ubuntu 12.10.

Here is an example of a newly generated /etc/apt/sources.list file for Ubuntu 12.04 LTS (precise):

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://be.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://be.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://be.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

Ed Kilb (ekilb) said : #9

My system is upgraded.  I used the command you sent.  While I didn't get the response I expected,
I did get some source references to Maverick.  I deleted all of them and try the upgrade again and it
worked.  Thanks for all your help and I even learned about terminal.  This case is closed.
Ed Kilb

________________________________
 From: Mark Rijckenberg <email address hidden>
To: <email address hidden>
Sent: Monday, February 4, 2013 2:51 AM
Subject: Re: [Question #220620]: Error Msg in upgrade to 12.10 from 12.04

Your question #220620 on update-manager in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/220620

Mark Rijckenberg proposed the following answer:
The problem is that I do not see the /etc/apt/sources.list file in your
Terminal output, which is extremely strange.

I suggest running this command:

sudo rm /etc/apt/sources.list.d/*

Then run this command:

gksudo gedit /etc/apt/sources.list

Remove all the contents in the /etc/apt/sources.list file (if there are
contents in it)

Then generate a new sources.list file using this link:

http://repogen.simplylinux.ch/

After choosing the repositories and release "Precise 12.04", click on
"generate list" at the bottom of the page.

Copy the contents from this generated list into the
/etc/apt/sources.list file using the gedit editor.

Then rerun all the commands in this procedure and send us the Terminal
output:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

I would NOT wait for 13.04, because that will take too long.

I would either follow my procedure or perform a clean install of Ubuntu
12.04 LTS or Ubuntu 12.10.

Here is an example of a newly generated /etc/apt/sources.list file for Ubuntu 12.04 LTS (precise):

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://be.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://be.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://be.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/220620/+confirm?answer_id=7

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/+source/update-manager/+question/220620

You received this question notification because you asked the question.

Please set the thread status to "solved", if the issue is still solved.

Ed Kilb (ekilb) said : #11

Thanks Mark Rijckenberg, that solved my question.