On 2019-09-14 at 14:50, Ryan Dean wrote: > On Sat, Sep 14, 2019 at 8:57 PM The Wanderer <wande...@fastmail.fm> wrote: > >> On 2019-09-14 at 13:26, Ryan Dean wrote: >> >> > I have problems with update and upgrade with several packages since >> > buster 10.1 new release on September 7th. Even with apt-get upgrade >> > --fix-missing, still does not work It always says File has unexpected >> > size (3108672 != 3134284). Below is the logs, any ideas how to solve >> > it? >> >> For what it's worth, that .deb file exists in my system's APT package >> cache with size 3108672, and I've never seen this error. >> >> Does that file exist in the cache on your system? If so, what size is it? >> >> You can check with: >> >> ls -l /var/cache/apt/archives/gdb_8.2.1-2+b1_amd64.deb >> >> If it doesn't exist, my initial guess is that the APT archive mirror >> which deb.debian.org is currently pointing you at has a corrupt copy of >> that file. You could try using a different mirror in your sources.list; >> mine is configured with ftp.us.debian.org, > > Can you write the exact url of the mirror in the source list, eg deb > ftp.us.debian.org or deb-src https://ftp.us.debian.org buster main > contribute non-free etc so that I can copy and paste to my source file?
I don't use lines which target buster by that name; instead, I use lines which target stable and testing explicitly, so that they shift whenever a new release is made. As a result, just sharing the lines from my own sources.list won't give you what you probably want. That said, the relevant pair of lines with that substitution made would probably be: deb http://ftp.us.debian.org/debian/ buster main contrib non-free deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free and you can of course drop contrib and/or non-free as you see fit. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
signature.asc
Description: OpenPGP digital signature