Ubuntu Issues need help

Tony White tony.mzungu at gmail.com
Fri May 16 10:40:36 BST 2008


Hi Liam,

Probably just a temporary internet glitch - to see better what is
happening, please try with aptitude instead of apt-get. you need to
fire up the curses version, and use individual commands within
aptitude, rather than from the command line - so:

sudo aptitude

now press 'u' (lower case) and you should see the progress as the
index files are downloaded

If there are problems with all of them, you have an internet problem -
diagnose, and fix
If there are problems with only one. then delete the local version of
that index. so that aptitude will fetch the whole fresh index. instead
of a diff.

Once you get past that stage, then:

Press 'U' (upper case) to mark the updates
Press 'g' to go - tells you what will be downloaded for you to review
Press 'g' again to actually begin downloading the updates.

(and when all is done, just press 'q' to get out of aptitude)

Best of luck!
Tony


2008/5/16 Liam <kipingor at gmail.com>:
> This email is from a ubuntu-ke subscriber to other subscribers inluding you:)
> Hi all,
> Hope you are well, I have been having a few issues with my ubuntu server, I
> am unable to install any packages when I run
> # sudo apt-get update
> it presents me with the following error:
> E: Some index files failed to download, they have been ignored, or old ones
> used instead.
> I tried
> # sudo apt-get clean
> then
> # sudo apt-get update and get the same error
> I also get  a dpkg error before when try and onstall an application:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> I run
> # sudo sed -i '1 s/sh -e/sh/' /var/lib/dpkg/info/locales.postinst
> and its still does not run, I have even tried:
> # sudo apt-get -f install
> # sudo apt-get -f update
> # sudo apt-get -f upgrade
> and nothing
> # sudo apt-get install --fix-missing
> # sudo apt-get update --fix-missing
> # sudo apt-get upgrade --fix-missing
>
> can anyone help
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: https://lists.ubuntu.com/archives/ubuntu-ke/attachments/20080516/ececf11c/attachment.htm
> --
> Ubuntu-ke mailing list
> Ubuntu-ke at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ke
>



-- 
Tony White



More information about the Ubuntu-ke mailing list