![]() |
What does "Update file corrupted" mean?
Hi,
This morning I ran the usual "check updates" tool. I downloaded the new package list, and then I upgraded FBReader with no problems. The second package to update was python2.5-runtime. It downloaded just fine, but then I got this message: "Unable to update Update file corrupted" How do I fix this? Thanks, VS |
Re: What does "Update file corrupted" mean?
I am getting the same error.
My first guess is that the update file is bad. It did not appear to me as something I can fix on my end. |
Re: What does "Update file corrupted" mean?
but what is the "update file"?
is that the python2.5-runtime file or the APT database? |
Re: What does "Update file corrupted" mean?
From the message it's a bit difficult to tell if it's the apt database (if it is, how to fix it is described below) or the actual python download. Try to figure out by starting an xterm, then log in as root, and do
apt-get install python2.5-runtime -su (the -s makes it do nothing, but it should tell you of any problems). If it looks bad, try dpkg --purge python2.5-runtime If you get any other kind of message (better post it here in case it isn't clear) then it could be the apt database: Check /var/lib/dpkg/status There is a /var/lib/dpkg/status-old as well. That's your backup. If you have becomeroot installed, or any other means of logging in as root, try the following: cd /var/lib/dpkg cp -p status status.bad cp status-old status then try refreshing your application list from the application manager. Oh, and do a 'df' first to check that your file system isn't full or nearly full (the filesystem you're looking for is the one which says just '/' in the rightmost column). |
Re: What does "Update file corrupted" mean?
Out of interest are updates distributed as binary diffs?
|
Re: What does "Update file corrupted" mean?
I get the same error
|
Re: What does "Update file corrupted" mean?
Quote:
Code:
Filesystem Size Used Available Use% Mounted on Quote:
Code:
Reading package lists... Well, that bloody package is not removable (not does it work). I tried all sorts of things to remove it, but its just stuck there. Could it be that the zsh problem is now screwing up the python2.5-runtime update? Do you know of a safe way for me to (finally) "shoot" zsh? Many thanks, VS |
Re: What does "Update file corrupted" mean?
A 100% full /mnt/initfs is as it should be, this is an initial system image (traditionally a ramdisk on desktops) which the N800 uses to boot itself up to full consciousness. It's not used after that.
The rest looks fine too. Ok, so you're bitten by the zsh bug.. we've seen it before. Avoid it like the plague. It's not in any of the standard repos which I use, so I can't find it and check it out, but as far as I remember it has a broken post-removal script. You seem to have xterm installed and hopefully also becomeroot. First find the name of the removal scripts, it'll typically be 'zsh.postrm' and/or 'zsh.prerm'. Simply do 'ls -l /var/lib/dpkg/info/zsh*' (without the quotes) and check. Then do 'rm /var/lib/dpkg/info/zsh.postrm', or whatever the name is (it should be that, I believe). After (hopefully) getting rid of the broken script, try with 'dpkg --purge zsh'. If it fails (as in post-inst error message), try removing any zsh.prerm as well. It may also fail with a message telling you do do apt-get install -f, that would probably be ok if so (do execute apt-get install -f I mean). EDIT: I had a look at the desktop version of the zsh package. It's put together in a slightly strange way, the postrm script is used to remove parts of what's usually removed automatically as part of the de-installation. So, after you've hopefully sucessfully removed zsh by the beforementioned procedure, run the following additional commands: rm /bin/zsh rm /bin/zsh4 rm /usr/bin/zsh NBNB: I also fixed some typos I did in the instructions above, particularly where I had use 'postinst' where I meant 'prerm'. So, the scripts that we are talking about (one or both are broken) is zsh.prerm nd zsh.postrm. They both live in /var/lib/dpkg/info/ if it's just like the desktop version (I suspect that it is, and that's why it's broken: Not adjusted for the IT environment.) |
Re: What does "Update file corrupted" mean?
Hi TA-t3,
I did get rid (finally!!!) of the bloody zsh package thanks to your instructions. Guess what happens now? When I try to update python2.5-runtime I get a message 'unable to update. Update file corrupted' :confused::mad::( What do I do know?! Is that python2.5-runtime which is corrupted now or is it the entire APT database? Heeeeeeeeelp! |
Re: What does "Update file corrupted" mean?
Try the 'apt-get install python2.5-runtime -su' command again (the '-s' makes it a do-nothing command). Let's have a look at the messages.
|
All times are GMT. The time now is 08:05. |
vBulletin® Version 3.8.8