[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1095868: marked as done (kb's fetched much less than prediction)



Your message dated Thu, 13 Feb 2025 13:45:09 +0100
with message-id <apnfsvbpqx6bqhu66ld26xmgpicxo4rwbj6op2zu4h4viwccpp@xswhzhkptedj>
and subject line Re: Bug#1095868: kb's fetched much less than prediction
has caused the Debian Bug report #1095868,
regarding kb's fetched much less than prediction
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1095868: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095868
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 2.9.28
Severity: minor

Odd, it said it needed to get 6538 kB, but it only ended up needing 351 kB.

Probably due to a previous half run which got aborted by a network
failure, so there were probably /partial files lying around or something.

# aptitude install ~Uemacs
The following packages will be upgraded: 
  emacs emacs-bin-common (emacs-nox D: emacs-bin-common) emacs-common
  (emacs-nox D: emacs-common) emacs-el emacs-nox
The following packages will NOT be UPGRADED:
  cpp-14{a} ...
5 packages upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Need to get 6538 kB/40.7 MB of archives. After unpacking 1024 B will be used.
Get: 1 http://opensource.nchc.org.tw/debian unstable/main arm64 emacs-nox arm64 1:29.4+1-6 [6520 kB]
Get: 2 http://opensource.nchc.org.tw/debian unstable/main arm64 emacs all 1:29.4+1-6 [18.6 kB]
Fetched 351 kB in 3s (107 kB/s)

P.S.,
$ grep -v ^// /etc/apt/apt.conf.d/10jidanni 

APT::Default-Release "unstable";//just order them in sources.list UNTRUE
APT::AutoRemove::RecommendsImportant false;
APT::AutoRemove::SuggestsImportant false;
APT::Cache::AllVersions false;
APT::Clean-Installed false; //important, see man apt-get
APT::Get::Fix-Missing true; //even though 825897 says should be off
APT::Get::Purge true;
APT::Install-Recommends false;
APT::Keep-Downloaded-Packages true;
APT::Periodic::Enable false;
Acquire::PDiffs true;
Acquire::http::No-Cache true;//564829
Aptitude::CmdLine::Always-Prompt true;
Aptitude::CmdLine::Show-Deps true;//587582@bugs.debian.org
Aptitude::CmdLine::Show-Why true;//511230@bugs.debian.org
Aptitude::CmdLine::Verbose 1;
Aptitude::Purge-Unused true;
Binary::apt::APT::Keep-Downloaded-Packages true;
Acquire::Queue-mode access;

--- End Message ---
--- Begin Message ---
Am Thu, Feb 13, 2025 at 04:49:32PM +0800, schrieb Dan Jacobson:
> Probably due to a previous half run which got aborted by a network
> failure, so there were probably /partial files lying around or something.
[…]
> Need to get 6538 kB/40.7 MB of archives. After unpacking 1024 B will be used.
> Get: 1 http://opensource.nchc.org.tw/debian unstable/main arm64 emacs-nox arm64 1:29.4+1-6 [6520 kB]
> Get: 2 http://opensource.nchc.org.tw/debian unstable/main arm64 emacs all 1:29.4+1-6 [18.6 kB]
[…]
> Fetched 351 kB in 3s (107 kB/s)

You had emacs-nox mostly downloaded already in partial/, but apt can't
know beforehand if what is present can be reused. It will request the
file from the server with the remark: "I have got that much data already,
if that makes sense and you can, just give me the rest".
The server is free to answer with either the remaining data or ignore
the remark and sent the entire file (again).

So, as we can't know ahead of time apt assumes the worst case.
Just be happy that in your specific case it turns out that this was too
pessimistic.

Closing as not a bug.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: