PDA

View Full Version : [ubuntu] 9.04 upgrade Size mismatch errors



ceabaird
February 12th, 2010, 04:16 AM
I've been trying to upgrade my 9.04 server installation, but I keep getting these "Size Mismatch" errors:


Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/l/linux-restricted-modules/linux-restricted-modules-2.6.28-18-server_2.6.28-18.23_i386.deb Size mismatch
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/b/bind9/dnsutils_9.5.1.dfsg.P2-1ubuntu0.4_i386.deb Size mismatch
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/b/bind9/bind9-host_9.5.1.dfsg.P2-1ubuntu0.4_i386.deb Size mismatch
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/b/bind9/libbind9-40_9.5.1.dfsg.P2-1ubuntu0.4_i386.deb Size mismatch
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/b/bind9/libisccfg40_9.5.1.dfsg.P2-1ubuntu0.4_i386.deb Size mismatch
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/b/bind9/libisccc40_9.5.1.dfsg.P2-1ubuntu0.4_i386.deb Size mismatch
Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/b/bind9/libisc45_9.5.1.dfsg.P2-1ubuntu0.4_i386.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


I've been googling around trying to find out how to resolve this, to no avail. I am working on a clean install of 9.04 server, and I'm trying to get this setup at work - possibly behind a firewall.

I've run the following commands, also to no avail:


apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade

and everything seems fine until I run dist-upgrade - then I get the size mismatch errors.

Is there anyway to fix this?

Satoru-san
February 12th, 2010, 04:23 AM
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

did you try with --fix-missing?


sudo apt-get update --fix-missing

ceabaird
February 12th, 2010, 04:57 AM
Yes,

I forgot to add that to the list of actions. Makes no difference. I've also changed the repository source, removing the "jp." prefix in my /etc/apt/sources.list file.

Also no real effect. What I get is this result:


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
bind9-host dnsutils landscape-common libbind9-40 libdns45 libisc45 libisccc40 libisccfg40 liblwres40
linux-image-server linux-restricted-modules-server linux-server
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.


Then when i run apt-get dist-upgrade, the same "Size mismatch" errors occur in the same places.

ceabaird
February 12th, 2010, 05:27 AM
UPDATE: when I try to apt-get install each of the files (e.g. linux-image-server 2.6.28.18.23) that failed to fetch, I get this message:

E: Couldn't find package 2.6.28.18.23


Is there a missing link somewhere?

Satoru-san
February 12th, 2010, 05:34 AM
Can you install any other programs?
if you need a program to test install

sudo apt-get install vimit looks like you can not install anything.

I have been doing some reading on the problem, but I have not found anything that is relevant.

Did you install anything before this problem, like doing an update?

Satoru-san
February 12th, 2010, 05:37 AM
UPDATE: when I try to apt-get install each of the files (e.g. linux-image-server 2.6.28.18.23) that failed to fetch, I get this message:

E: Couldn't find package 2.6.28.18.23


Is there a missing link somewhere?
I think that is now due to you removing jp. from the sources address. You should not edit the sources list manually.

ceabaird
February 12th, 2010, 08:22 AM
I think that is now due to you removing jp. from the sources address. You should not edit the sources list manually.

I seriously doubt that is the problem. It merely sends requests to different repositories - and in this case, does not change the "Size mismatch" error message.

Especially, since I repeated the whole apt-get sequence of commands from "apt-get clean".

ceabaird
February 12th, 2010, 08:24 AM
Yes, I was able to install htop.

Satoru-san
February 12th, 2010, 08:26 AM
I did some research but I seriously couldn't find anything, you might want to report a bug on launchpad. I cant really help you any further.

ceabaird
February 15th, 2010, 05:36 AM
Update:

I went ahead and manually added each of the files that were failing to download due to "Size mismatch" errors, in order of appearance. That solved the problem of getting these files and updating my installation of 9.04, but did not solve the "Size mismatch" errors, especially when I tried to upgrade to 9.10.

I then realized that when I previously edited my sources_list file to change the repositories, that I had just deleted the "jp." prefix. I went back in and added "us." to every line that had contained the "jp." prefix, and went through the whole "apt-get clean, apt-get update, apt-get upgrade" cycle, which told me that everything was up to date, and nothing more was needed.

When I tried to do the upgrade, however, I got the same errors, on these files:


Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-i686_2.10.1-0ubuntu16_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4-base_4.4.1-4ubuntu9_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/libgcc1_4.4.1-4ubuntu9_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/debconf/debconf-i18n_1.5.27ubuntu2_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/debconf/debconf_1.5.27ubuntu2_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2009u-0ubuntu0.9.10_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/f/findutils/findutils_4.4.2-1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/db/libdb4.7_4.7.25-7ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g_1.2.3.3.dfsg-13ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/perl/perl_5.10.0-24ubuntu4_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/perl/perl-base_5.10.0-24ubuntu4_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libs/libselinux/libselinux1_2.0.85-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/b/base-files/base-files_5.0.0ubuntu7_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/pam/libpam0g_1.1.0-2ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/pam/libpam-modules_1.1.0-2ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/pam/libpam-runtime_1.1.0-2ubuntu1_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/s/shadow/passwd_4.1.4.1-1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/a/adduser/adduser_3.110ubuntu7_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/libstdc++6_4.4.1-4ubuntu9_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.15.4ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl0.9.8_0.9.8g-16ubuntu3.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline6_6.0-5_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/s/sqlite3/libsqlite3-0_3.6.16-1ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.6/libpython2.6_2.6.4-0ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.6/python2.6_2.6.4-0ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.6/python2.6-minimal_2.6.4-0ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/t/texinfo/install-info_4.13a.dfsg.1-4ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/r/readline6/readline-common_6.0-5_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libncurses5_5.7+20090803-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/m/mime-support/mime-support_3.46-1ubuntu1_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/b/bzip2/bzip2_1.0.5-3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/b/bzip2/libbz2-1.0_1.0.5-3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libncursesw5_5.7+20090803-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/python-defaults/python_2.6.4-0ubuntu1_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/python-defaults/python-minimal_2.6.4-0ubuntu1_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/python-central/python-central_0.6.11ubuntu9_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-release_4.0-0ubuntu5_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt_0.7.13.2ubuntu4_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_0.7.23.1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/x/xapian-core/libxapian15_1.0.15-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libe/libept/libept0_0.5.26ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/cwidget/libcwidget3_0.5.12-4ubuntu4_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/a/aptitude/aptitude_0.4.11.11-1ubuntu6_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libg/libgpg-error/libgpg-error0_1.6-1ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.4.4-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libt/libtasn1-3/libtasn1-3_2.2-1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnutls26/libgnutls26_2.8.3-2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/keyutils/libkeyutils1_1.2-10_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb5support0_1.7dfsg~beta3-1ubuntu0.3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libk5crypto3_1.7dfsg~beta3-1ubuntu0.3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/e/e2fsprogs/libcomerr2_1.41.9-1ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb5-3_1.7dfsg~beta3-1ubuntu0.3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/krb5/libgssapi-krb5-2_1.7dfsg~beta3-1ubuntu0.3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libi/libidn/libidn11_1.15-1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-2_2.1.23.dfsg1-1ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-modules_2.1.23.dfsg1-1ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2_2.4.18-0ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_0.9.8g-16ubuntu3.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20090814_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3-gnutls_7.19.5-1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-transport-https_0.7.23.1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.7.23.1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/x/xfonts-terminus/console-terminus_4.28-1_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/x/xkeyboard-config/xkb-data_1.6-1ubuntu5_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/dbus/libdbus-1-3_1.2.16-0ubuntu9_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/u/udev/libudev0_147~-6.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/m/mountall/mountall_1.0_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-meta/ubuntu-minimal_1.175_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/s/sed/sed_4.2.1-1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/ncurses/ncurses-bin_5.7+20090803-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-base_4.0-0ubuntu5_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/a/apparmor/apparmor_2.3.1+1403-0ubuntu27.3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/u/upstart/upstart_0.6.3-11_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/m/module-init-tools/module-init-tools_3.10-3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/klibc/klibc-utils_1.5.15-1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/klibc/libklibc_1.5.15-1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/b/busybox/busybox-initramfs_1.13.3-1ubuntu7_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/cpio/cpio_2.10-1ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/devmapper/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/u/util-linux/util-linux_2.16-1ubuntu5_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/devmapper/dmsetup_1.02.27-4ubuntu7_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/r/readline5/libreadline5_5.2-6_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/i/initramfs-tools/initramfs-tools_0.92bubuntu53_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/f/fuse/fuse-utils_2.7.4-1.1ubuntu4.3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/h/hdparm/hdparm_9.15-1ubuntu4_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/i/ifupdown/ifupdown_0.6.8ubuntu21_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/l/lvm2/lvm2_2.02.39-0ubuntu11_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/u/udev/udev_147~-6.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/f/fuse/libfuse2_2.7.4-1.1ubuntu4.3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60-23ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/netbase/netbase_4.35ubuntu2_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/pcre3/libpcre3_7.8-3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.22.3-0ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/p/procps/procps_3.2.8-1ubuntu3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/console-setup/console-setup_1.34ubuntu4_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/dhcp3/dhcp3-client_3.1.2-1ubuntu7.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/d/dhcp3/dhcp3-common_3.1.2-1ubuntu7.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.9-4ubuntu7_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/i/iproute/iproute_20090324-1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/k/kbd/kbd_1.15-1ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/l/less/less_429-2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/l/langpack-locales/locales_2.9+git20090617-3_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/m/mawk/mawk_1.3.3-15ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libc/libcap2/libcap2_2.16-5ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/ntp/ntpdate_4.2.4p6+dfsg-1ubuntu5.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/c/coreutils/coreutils_7.4-2ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/u/ucf/ucf_3.0018ubuntu1_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/r/rsyslog/rsyslog_4.2.0-2ubuntu5.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/s/sudo/sudo_1.7.0-1ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/t/tasksel/tasksel-data_2.73ubuntu23_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/t/tasksel/tasksel_2.73ubuntu23_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-keyring/ubuntu-keyring_2009.08.28_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/v/vim/vim_7.2.245-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/v/vim/vim-runtime_7.2.245-2ubuntu2_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gpm/libgpm2_1.20.4-3.2ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/v/vim/vim-tiny_7.2.245-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/v/vim/vim-common_7.2.245-2ubuntu2_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/newt/python-newt_0.52.10-4ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/s/slang2/libslang2_2.1.4-3_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/newt/libnewt0.52_0.52.10-4ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/n/newt/whiptail_0.52.10-4ubuntu1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/m/mysql-dfsg-5.1/mysql-common_5.1.37-1ubuntu5.1_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libp/libplrpc-perl/libplrpc-perl_0.2020-2_all.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdbi-perl/libdbi-perl_1.609-1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/m/mysql-dfsg-5.1/libmysqlclient16_5.1.37-1ubuntu5.1_i386.deb
Size mismatch
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdbd-mysql-perl/libdbd-mysql-perl_4.011-1ubuntu1_i386.deb


Looking around for more hints on "Failed to fetch" and "Size mismatch" errors, I found this site (http://www.zyxware.com/articles/2008/07/27/how-to-fix-hash-sum-mismatch-and-size-mismatch-errors-from-apt-get-apt-cacher) which mentioned clearing out each failed instance from the /var/cache/apt-cacher file.

However, I don't have this file in my /var/cache directory... Wondering what to do next...

ceabaird
February 17th, 2010, 03:51 AM
OK, an update....

Still having the same issue, so I made a copy of my sources.list file, and made a new one, copying the Jaunty sources list from here (http://ubuntuforums.org/showthread.php?t=997890)

I added "us." to the sources.list archives, and then ran "apt-get update" - "apt-get upgrade" - then "apt-get dist-upgrade"

Things were hit, but nothing was added/deleted.

Ran "apt-get install update-manager-core"

was told I have the latest version, and ran "do-release-upgrade"

Was asked if I wanted to continue, answered "yes" and ran the upgrade. Again got the 'Failed to fetch... size mismatch" errors.

Now, I can wget each of these "Failed to fetch" upgrades, so what is going on here?

ceabaird
February 23rd, 2010, 07:27 AM
STILL having issues.

Ran update-manager -d

which gave me the result "update-manager not installed"!!

ran apt-get install update-manager, and about 140 packages started installing, and then... I started getting the "Failed to fetch" messages again.

I ran wget on the first package that failed to fetch, and it downloaded, no problem. I tried apt-get install on the same package, and got: "E: Couldn't find package docbook-xml_4.5-6_all.deb"

What is going ON?

ceabaird
February 23rd, 2010, 08:28 AM
<UPDATE>

OK, so tired of getting nowhere with the upgrade to 9.10, I downloaded a new iso file, burned it on a dvd at 2x speed (NOT maximum), and did a clean install of 9.10 server.

The install went fine, rebooted, logged in, set root password, logged out, and logged back in as root.

All good.

Did the apt-get update, then apt-get upgrade, had some files recommended for upgrading, then answered "Y" to the upgrade.

All went well for the first 31 packages, then got the "Size mismatch..." message again.

Ran apt-get update --fix-missing, then apt-get upgrade --fix-missing, entered "Y" again, AGAIN got the "Size mismatch..." message, but some of the packages loaded.

Is there some sort of issue with the repositories?

ceabaird
February 23rd, 2010, 09:19 AM
One more note:

Although I selected Install LAMP during the initial configuration from the DVD, neither Apache nor MySQL were installed. I just now installed Apache via webmin, while MySQL continues to have packages fail to install due to "Size mismatch" failures...:confused:

fabutz
February 23rd, 2010, 09:37 AM
I had this problem too. I am behind a proxy. I've setup the proxy via automatic URL.
When i changed to manual configuration, it worked.

ceabaird
February 24th, 2010, 01:06 AM
Thanks for the info, I've been wondering if these problems are related to operating from within an office LAN.

Cyclops_
May 1st, 2010, 12:41 AM
Just to let everyone know, I was having similar issues with an upgrade from Karmic to Lynx. I kept getting Size Mismatches on two files: libsexy2-something and perl-sexy....

After doing some digging and figuring out, I found out that it was my Web Content Control (Dansguarding) / filter that was not allowing the files to be downloaded. (Probably because of the "sexy" in the name.) Turning off Web filtering allows the upgrade to take place.

vedavrata
May 13th, 2010, 09:55 PM
Just to let everyone know, I was having similar issues with an upgrade from Karmic to Lynx. I kept getting Size Mismatches on two files: libsexy2-something and perl-sexy....

After doing some digging and figuring out, I found out that it was my Web Content Control (Dansguarding) / filter that was not allowing the files to be downloaded. (Probably because of the "sexy" in the name.) Turning off Web filtering allows the upgrade to take place.

I got the same
Failed to fetch
libsexy2_0.1.11-2build2_i386.deb
python-sexy_0.1.9-1ubuntu3_i386.deb
Size mismatch
due to the sysadmin's proxy... :-(

Admins do not like a substring 'sex' in URL... :-)


Failed to fetch
archive.ubuntu.com/ubuntu/pool/main/libs/libsexy/libsexy2_0.1.11-2build2_i386.deb
Size mismatch

Failed to fetch
archive.ubuntu.com/ubuntu/pool/universe/s/sexy-python/python-sexy_0.1.9-1ubuntu3_i386.deb
Size mismatch