[Aptitude-devel] Bug#803773: aptitude: Update fails periodically

Michael Welsh Duggan mwd at md5i.com
Mon Nov 2 15:21:59 UTC 2015


Package: aptitude
Version: 0.7.4-1
Severity: normal

Dear Maintainer,

Every so often, aptitude fails to update (with 'u') properly.  When
figuring out how to properly report this, I tried using update on the
command line.  Here is the result:

    $ sudo aptitude update
    Hit http://download.virtualbox.org jessie InRelease
    Ign http://dl.google.com stable InRelease
    Hit http://dl.google.com stable Release.gpg
    Hit http://ftp.us.debian.org unstable InRelease
    Get: 1 http://download.virtualbox.org jessie/contrib amd64 Packages [1,344 B]
    Hit http://dl.google.com stable Release
    Hit http://download.virtualbox.org jessie/non-free amd64 Packages
    Hit http://ftp.us.debian.org testing InRelease
    Get: 2 http://download.virtualbox.org jessie/contrib i386 Packages [1,345 B]
    Ign http://ftp.us.debian.org stable InRelease
    Hit http://download.virtualbox.org jessie/non-free i386 Packages
    Hit http://ftp.us.debian.org experimental InRelease
    Hit http://archive.grahamedgecombe.com stable InRelease
    Hit http://ftp.us.debian.org unstable/main Sources/DiffIndex
    Fetched 2,689 B in 0s (7,946 B/s)
    E: Could not open file /var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_main_source_Sources.IndexDiff - open (2: No such file or directory)


The problem is solved by running apt-get update.  After this, aptitude
update works just fine.

    $ sudo apt-get update
    Hit:1 http://download.virtualbox.org/virtualbox/debian jessie InRelease
    Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:3 http://dl.google.com/linux/chrome/deb stable Release
    Hit:4 http://ftp.us.debian.org/debian unstable InRelease
    Hit:6 http://ftp.us.debian.org/debian testing InRelease
    Ign:7 http://ftp.us.debian.org/debian stable InRelease
    Hit:8 http://ftp.us.debian.org/debian experimental InRelease
    Hit:9 http://archive.grahamedgecombe.com stable InRelease
    Hit:10 http://ftp.us.debian.org/debian stable Release
    Get:11 http://deb-multimedia.org sid InRelease [22.3 kB]
    Hit:13 http://deb-multimedia.org sid/main Sources
    Hit:14 http://deb-multimedia.org sid/main amd64 Packages
    Hit:15 http://deb-multimedia.org sid/main i386 Packages
    Reading package lists... Done

    $ sudo aptitude update
    Hit http://download.virtualbox.org jessie InRelease
    Ign http://dl.google.com stable InRelease
    Hit http://dl.google.com stable Release.gpg
    Hit http://ftp.us.debian.org unstable InRelease
    Hit http://dl.google.com stable Release
    Hit http://download.virtualbox.org jessie/contrib amd64 Packages
    Hit http://ftp.us.debian.org testing InRelease
    Hit http://download.virtualbox.org jessie/non-free amd64 Packages
    Ign http://ftp.us.debian.org stable InRelease
    Hit http://download.virtualbox.org jessie/contrib i386 Packages
    Hit http://ftp.us.debian.org experimental InRelease
    Hit http://archive.grahamedgecombe.com stable InRelease
    Hit http://dl.google.com stable/main amd64 Packages
    Hit http://download.virtualbox.org jessie/non-free i386 Packages
    Get: 1 http://ftp.us.debian.org unstable/main Sources/DiffIndex [7,876 B]
    Get: 2 http://ftp.us.debian.org unstable/non-free Sources/DiffIndex [5,611 B]
    Get: 3 http://ftp.us.debian.org unstable/contrib Sources/DiffIndex [5,473 B]
    Get: 4 http://ftp.us.debian.org unstable/main amd64 Packages/DiffIndex [7,876 B]
    Get: 5 http://ftp.us.debian.org unstable/non-free amd64 Packages/DiffIndex [4,093 B]
    Get: 6 http://ftp.us.debian.org unstable/contrib amd64 Packages/DiffIndex [5,611 B]
    Get: 7 http://ftp.us.debian.org unstable/main i386 Packages/DiffIndex [7,876 B]
    Get: 8 http://ftp.us.debian.org unstable/non-free i386 Packages/DiffIndex [4,231 B]
    Hit http://deb-multimedia.org sid InRelease
    Hit http://dl.google.com stable/main i386 Packages
    Get: 9 http://ftp.us.debian.org unstable/contrib i386 Packages/DiffIndex [5,611 B]
    Get: 10 http://ftp.us.debian.org unstable/contrib Translation-en/DiffIndex [1,747 B]
    Get: 11 http://ftp.us.debian.org unstable/main Translation-en/DiffIndex [7,876 B]
    Get: 12 http://ftp.us.debian.org unstable/non-free Translation-en/DiffIndex [2,713 B]
    Hit http://ftp.us.debian.org stable Release.gpg
    Get: 13 http://ftp.us.debian.org testing/main Sources/DiffIndex [7,876 B]
    Get: 14 http://ftp.us.debian.org testing/non-free Sources/DiffIndex [3,265 B]
    Get: 15 http://ftp.us.debian.org testing/contrib Sources/DiffIndex [3,403 B]
    Get: 16 http://ftp.us.debian.org testing/main amd64 Packages/DiffIndex [7,876 B]
    Get: 17 http://ftp.us.debian.org testing/non-free amd64 Packages/DiffIndex [3,127 B]
    Get: 18 http://ftp.us.debian.org testing/contrib amd64 Packages/DiffIndex [3,541 B]
    Get: 19 http://ftp.us.debian.org testing/main i386 Packages/DiffIndex [7,876 B]
    Get: 20 http://ftp.us.debian.org testing/non-free i386 Packages/DiffIndex [3,127 B]
    Get: 21 http://ftp.us.debian.org testing/contrib i386 Packages/DiffIndex [3,679 B]
    Get: 22 http://ftp.us.debian.org testing/contrib Translation-en/DiffIndex [1,885 B]
    Get: 23 http://ftp.us.debian.org testing/main Translation-en/DiffIndex [7,876 B]
    Get: 24 http://ftp.us.debian.org testing/non-free Translation-en/DiffIndex [2,023 B]
    Hit http://archive.grahamedgecombe.com stable/main Sources
    Get: 25 http://ftp.us.debian.org experimental/main Sources/DiffIndex [7,819 B]
    Ign http://download.virtualbox.org jessie/contrib Translation-en_US
    Get: 26 http://ftp.us.debian.org experimental/non-free Sources/DiffIndex [1,195 B]
    Ign http://download.virtualbox.org jessie/contrib Translation-en
    Hit http://deb-multimedia.org sid/main Sources
    Hit http://archive.grahamedgecombe.com stable/main amd64 Packages
    Ign http://download.virtualbox.org jessie/non-free Translation-en_US
    Get: 27 http://ftp.us.debian.org experimental/contrib Sources/DiffIndex [505 B]
    Ign http://download.virtualbox.org jessie/non-free Translation-en
    Ign http://dl.google.com stable/main Translation-en_US
    Get: 28 http://ftp.us.debian.org experimental/main amd64 Packages/DiffIndex [7,819 B]
    Ign http://dl.google.com stable/main Translation-en
    Hit http://deb-multimedia.org sid/main amd64 Packages
    Hit http://archive.grahamedgecombe.com stable/main i386 Packages
    Get: 29 http://ftp.us.debian.org experimental/non-free amd64 Packages/DiffIndex [781 B]
    Get: 30 http://ftp.us.debian.org experimental/contrib amd64 Packages/DiffIndex [919 B]
    Get: 31 http://ftp.us.debian.org experimental/main i386 Packages/DiffIndex [7,819 B]
    Hit http://deb-multimedia.org sid/main i386 Packages
    Get: 32 http://ftp.us.debian.org experimental/non-free i386 Packages/DiffIndex [781 B]
    Get: 33 http://ftp.us.debian.org experimental/contrib i386 Packages/DiffIndex [919 B]
    Get: 34 http://ftp.us.debian.org experimental/contrib Translation-en/DiffIndex [643 B]
    Get: 35 http://ftp.us.debian.org experimental/main Translation-en/DiffIndex [7,819 B]
    Get: 36 http://ftp.us.debian.org experimental/non-free Translation-en/DiffIndex [919 B]
    Hit http://ftp.us.debian.org stable Release
    Hit http://ftp.us.debian.org stable/main Sources
    Hit http://ftp.us.debian.org stable/non-free Sources
    Hit http://ftp.us.debian.org stable/contrib Sources
    Hit http://ftp.us.debian.org stable/main amd64 Packages
    Hit http://ftp.us.debian.org stable/non-free amd64 Packages
    Hit http://ftp.us.debian.org stable/contrib amd64 Packages
    Hit http://ftp.us.debian.org stable/main i386 Packages
    Hit http://ftp.us.debian.org stable/non-free i386 Packages
    Hit http://ftp.us.debian.org stable/contrib i386 Packages
    Hit http://ftp.us.debian.org stable/contrib Translation-en
    Hit http://ftp.us.debian.org stable/main Translation-en
    Ign http://archive.grahamedgecombe.com stable/main Translation-en_US
    Hit http://ftp.us.debian.org stable/non-free Translation-en
    Ign http://deb-multimedia.org sid/main Translation-en_US
    Ign http://archive.grahamedgecombe.com stable/main Translation-en
    Ign http://deb-multimedia.org sid/main Translation-en
    Fetched 160 kB in 4s (33.6 kB/s)

As an extra data point, I have apt updating and downloading packages
daily with the following /etc/apt/apt.conf.d:

    APT::Periodic
    {
      Update-Package-Lists "1";
      Download-Upgradeable-Packages "1";
      AutocleanInterval "7";
    };


-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20151102/0f5c480b/attachment.ksh>
-------------- next part --------------

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common           0.7.4-1
ii  libapt-pkg4.16            1.0.10.2
ii  libboost-iostreams1.58.0  1.58.0+dfsg-3.1
ii  libc6                     2.19-22
ii  libcwidget3v5             0.5.17-4
ii  libgcc1                   1:5.2.1-23
ii  libncursesw5              6.0+20151024-1
ii  libsigc++-2.0-0v5         2.6.1-3
ii  libsqlite3-0              3.9.1-2
ii  libstdc++6                5.2.1-23
ii  libtinfo5                 6.0+20151024-1
ii  libxapian22v5             1.2.21-1.2

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-doc  <none>
ii  libparse-debianchangelog-perl   1.2.0-8
ii  sensible-utils                  0.0.9

Versions of packages aptitude suggests:
pn  apt-xapian-index  <none>
pn  debtags           <none>
ii  tasksel           3.33

-- no debconf information

--
Michael Welsh Duggan
(md5i at md5i.com)


More information about the Aptitude-devel mailing list