Comment 63 for bug 153980

Revision history for this message
jarumpf (jarumpf) wrote : Re: [Bug 153980] Re: 7.04->7.10 "Upgrade" fails: "Getting upgrade prerequisites failed"

Dear Itsuki,

Linux is some ways is not very different than Windows.

In the instructions given, you are asked to edit a configuration text file.
Text files are easy to edit with the program "gedit"

You can do this is done in a terminal window.

From the menu you will open a terminal window (sort of like the Run cmd
command in Windows)

Applications - Accessories - Terminal

This opens the terminal window to allow you to enter commands.

You have to open the file 'apt.conf' that is located in the directory
/etc/apt/

To do this, enter the command to open the file with the editor program
"gedit" or "kedit" for kubuntu. Substitute kedit for gedit in the following
instructions if you use kedit instead of gedit.

Enter the follow into the terminal window;
sudo gedit /etc/apt/apt.conf

The "sudo' command will allow you to edit the file as the "super user". You
will be asked for your password so that you can be elevated to super user
status for the terminal session.
"gedit" will start the text editor program.
"/etc/apt/apt.conf' will open the file that needs to be edited.

Make the changes and then save the file.

That is all there is to it. It is not complicated. You just have to have
courage and confidence that you can do it. After a while, you will realize
how simple and straight forward this method is.

I hope this explanation helps.

Best regards

On Mon, Feb 25, 2008 at 5:22 PM, Itsuki <email address hidden> wrote:

> <email address hidden>:
> > One of the issues in update-manager we
> > discovered is that if you have "APT::Get::AllowUnauthenticated" set to
> > true in /etc/apt/apt.conf the upgrade will not work.
>
> Thank you very much for your answer...unfortunately, I'm a newbie to
> Linux, I've never seen this OS before, I was a Windows XP user (but
> now I am tired about microsoft and I want to change), so I really
> don't know how to configure linux, nor kubuntu.
> So, please, could you tell me WHERE or HOW should I set "false" the
> "APT::Get::AllowUnauthenticated", in order to update my adept?? I've
> opened Adept manager but there are no clues about this option in the
> GUI...maybe should I execute some commands in the terminal?? If yes,
> which strings or commands?
>
> I have kubuntu 7.10, I've just installed and I want to update some
> programs, like kopete, for example, or install amsn, but since it
> doesn't work i'm afraid I cannot do nothing!!
>
> Thank you very much for reading, and more thanks if you will give
> answers to me!!
>
> Bye and good job!
>
>
>
>
> 2008/2/25, Michael Vogt <email address hidden>:
> > Thanks for your feedback.
> >
> > Unfortunately the error message is the same for some different
> problems.
> > Some outside of the control of update-manager (e.g. if mirrors are not
> > available or if there are network/proxy issues).
> >
> > For hardy we worked on the robustness of the tool and a lot of the
> > problems should be fixed. One of the issues in update-manager we
> > discovered is that if you have "APT::Get::AllowUnauthenticated" set to
> > true in /etc/apt/apt.conf the upgrade will not work. This is a bug in
> > update-manager and a fix is prepeared in #195419 (thanks to Kolbjørn
> > Barmen for helping finding it). As a workaround for this particular
> > problem, just unset this before the upgrade and then it should work.
> >
> > Cheers,
> > Michael
> >
> > --
> > 7.04->7.10 "Upgrade" fails: "Getting upgrade prerequisites failed"
> > https://bugs.launchpad.net/bugs/153980
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
> > Status in Source Package "update-manager" in Ubuntu: Confirmed
> >
> > Bug description:
> > Update 19/10/07:
> > 24 hours after release of 7.10, and after several unsuccessful updates
> in that time period, I have tried the update again, and it appears to be
> working -- after no changes from me. Is it possible that these errors were
> generated by server-side file problems? Perhaps certain mirrors generated
> problems for people, and those mirrors have since been fixed? Perhaps some
> of the people below with different error logs still have problems due to
> different bugs? In any case I suggest that whatever bug I experienced be
> dealt with before it hits the wrong CEO in the next release :)
> >
> > Original description:
> > Binary package hint: update-manager
> >
> > Upgrading Ubuntu 7.04 to 7.10 with the "Upgrade" button. The speed of
> download was very slow even though the speed of download from my chosen
> update source was very fast.
> >
> > "Getting upgrade prerequisites failed
> >
> > The system was unable to get the prerequisites for the upgrade. The
> upgrade will abort now and restore the original system state.
> >
> > Please report this as a bug against the 'update-manager' package and
> include the files in /var/log/dist-upgrade/ in the bugreport."
> >
>
>
> --
> ..Kia..
>
> "Life is much too short to while away with tears"
>
> Visitate il mio sito su www.itsuki.altervista.org
>
> Dottoressa in neuroscienze e scienze cognitive ed ora dottoranda con
> borsa!!
>
> --
> 7.04->7.10 "Upgrade" fails: "Getting upgrade prerequisites failed"
> https://bugs.launchpad.net/bugs/153980
> You received this bug notification because you are a direct subscriber
> of the bug.
>