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

Bug#312534: apt: new entries in sources.list lead to one-time error



On Wed, Jun 08, 2005 at 10:06:16AM -0700, Matt Zimmerman wrote:
> On Wed, Jun 08, 2005 at 09:10:13AM -0700, Ross Boylan wrote:
> 
> > Package: apt
> > Version: 0.5.28.6
> > Severity: normal
> > 
> > When adding a new entry to sources.list I've noticed I often (always?)
> > get an error the first time I do an update.
> > 
> > E.g., I changed my entry for security from woody to sarge, and got
> > this in response to apt-get update
> 
> Can you provide a complete transcript showing the commands you invoked?  I
> would expect exactly this behavior if the first command executed after the
> change was anything other than "apt-get update".
> 
> I edit my sources.list constantly, and running apt-get update afterward has
> never produced these warnings.
I meant to say I did aptitude update.  Should that matter?

Here's the transcript.  It starts a few days ago, and doesn't provide
good clues about the timing of the operations relative to editing
sources.list.  I've inserted comments with #; the error is very near
the bottom.

ross@wheat:~$ sux
Password:
wheat:/usr/local/rootlog# emacs wheat.log &
[1] 3130
wheat:/usr/local/rootlog# depmod -a
wheat:/usr/local/rootlog# rm -rf /lib/modules/2.4.27advncdfs-old/
wheat:/usr/local/rootlog# apt-get -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
  libsmbclient libsmbclient-dev samba samba-common samba-doc smbclient smbfs swat
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/24.9MB of archives.
After unpacking 1335kB of additional disk space will be used.
Do you want to continue? [Y/n]
Download complete and in download only mode
wheat:/usr/local/rootlog# apt-get -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
  debian-keyring grep-dctrl libgnutls11 libgnutls11-dev libsmbclient libsmbclient-dev samba
  samba-common samba-doc smbclient smbfs swat
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/37.1MB of archives.
After unpacking 6554kB of additional disk space will be used.
Do you want to continue? [Y/n]
Download complete and in download only mode
wheat:/usr/local/rootlog# apt-get -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
  bittorrent bittorrent-gui debian-keyring dpkg dpkg-dev dpkg-doc dselect gnupg-doc grep-dctrl
  libgnutls11 libgnutls11-dev libsmbclient libsmbclient-dev samba samba-common samba-doc
  smbclient smbfs swat
19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/41.3MB of archives.
After unpacking 6990kB of additional disk space will be used.
Do you want to continue? [Y/n]
Download complete and in download only mode
wheat:/usr/local/rootlog# apt-get -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
  amanda-client amanda-common amanda-server bacula-common bacula-console-gnome
  bacula-director-common bacula-director-pgsql bacula-doc bacula-fd bacula-sd bittorrent
  bittorrent-gui debian-keyring debiandoc-sgml dpkg dpkg-dev dpkg-doc dselect gdb gedit
  gedit-common gnupg-doc grep-dctrl gzip libdps1 libgnutls11 libgnutls11-dev libice-dev libice6
  libsm-dev libsm6 libsmbclient libsmbclient-dev libwxgtk2.4 libwxgtk2.4-python libx11-6
  libx11-dev libxaw6 libxaw7 libxaw7-dev libxext-dev libxext6 libxft1 libxi-dev libxi6 libxmu-dev
  libxmu6 libxmuu-dev libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2
  libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 pm-dev samba
  samba-common samba-doc smbclient smbfs swat wxwin2.4-i18n x-dev x-window-system-core
  xbase-clients xfonts-100dpi xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
  xfonts-base-transcoded xfonts-scalable xfree86-common xlibmesa-dri xlibmesa-gl xlibmesa-gl-dev
  xlibmesa-glu xlibmesa-glu-dev xlibs xlibs-data xlibs-dev xlibs-pic xlibs-static-dev
  xlibs-static-pic xnest xserver-common xserver-xfree86 xterm xutils xvfb
98 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.0MB/115MB of archives.
After unpacking 6457kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://http.us.debian.org testing/main xfonts-75dpi 4.3.0.dfsg.1-14 [3840kB]
Get:2 http://http.us.debian.org testing/main xfonts-scalable 4.3.0.dfsg.1-14 [900kB]
Get:3 http://http.us.debian.org testing/main xbase-clients 4.3.0.dfsg.1-14 [1940kB]
Get:4 http://http.us.debian.org testing/main x-window-system-core 4.3.0.dfsg.1-14 [158kB]
Get:5 http://http.us.debian.org testing/main xfonts-75dpi-transcoded 4.3.0.dfsg.1-14 [7074kB]
Get:6 http://http.us.debian.org testing/main xfonts-base-transcoded 4.3.0.dfsg.1-14 [1203kB]
Get:7 http://http.us.debian.org testing/main xnest 4.3.0.dfsg.1-14 [1466kB]
Get:8 http://http.us.debian.org testing/main xterm 4.3.0.dfsg.1-14 [509kB]
Get:9 http://http.us.debian.org testing/main xvfb 4.3.0.dfsg.1-14 [1602kB]
Get:10 http://http.us.debian.org testing/main xlibs-dev 4.3.0.dfsg.1-14 [158kB]
Get:11 http://http.us.debian.org testing/main xlibs-pic 4.3.0.dfsg.1-14 [158kB]
Fetched 15.6MB in 49m28s (5250B/s)
Download complete and in download only mode
wheat:/usr/local/rootlog# apt-get -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
  amanda-client amanda-common amanda-server bacula-common bacula-console-gnome
  bacula-director-common bacula-director-pgsql bacula-doc bacula-fd bacula-sd bittorrent
  bittorrent-gui debian-keyring debiandoc-sgml dpkg dpkg-dev dpkg-doc dselect gdb gedit
  gedit-common gnupg-doc grep-dctrl gzip libdps1 libgnutls11 libgnutls11-dev libice-dev libice6
  libsm-dev libsm6 libsmbclient libsmbclient-dev libwxgtk2.4 libwxgtk2.4-python libx11-6
  libx11-dev libxaw6 libxaw7 libxaw7-dev libxext-dev libxext6 libxft1 libxi-dev libxi6 libxmu-dev
  libxmu6 libxmuu-dev libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2
  libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 pm-dev samba
  samba-common samba-doc smbclient smbfs swat wxwin2.4-i18n x-dev x-window-system-core
  xbase-clients xfonts-100dpi xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
  xfonts-base-transcoded xfonts-scalable xfree86-common xlibmesa-dri xlibmesa-gl xlibmesa-gl-dev
  xlibmesa-glu xlibmesa-glu-dev xlibs xlibs-data xlibs-dev xlibs-pic xlibs-static-dev
  xlibs-static-pic xnest xserver-common xserver-xfree86 xterm xutils xvfb
98 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/115MB of archives.
After unpacking 6457kB of additional disk space will be used.
Do you want to continue? [Y/n]
Download complete and in download only mode
wheat:/usr/local/rootlog# apt-get -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
  amanda-client amanda-common amanda-server bacula-common bacula-console-gnome
  bacula-director-common bacula-director-pgsql bacula-doc bacula-fd bacula-sd bittorrent
  bittorrent-gui debian-keyring debiandoc-sgml dpkg dpkg-dev dpkg-doc dselect gdb gedit
  gedit-common gnupg-doc grep-dctrl gzip libdps1 libgnutls11 libgnutls11-dev libice-dev libice6
  libsm-dev libsm6 libsmbclient libsmbclient-dev libwxgtk2.4 libwxgtk2.4-python libx11-6
  libx11-dev libxaw6 libxaw7 libxaw7-dev libxext-dev libxext6 libxft1 libxi-dev libxi6 libxmu-dev
  libxmu6 libxmuu-dev libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2
  libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 pm-dev samba
  samba-common samba-doc smbclient smbfs swat wxwin2.4-i18n x-dev x-window-system-core
  xbase-clients xfonts-100dpi xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
  xfonts-base-transcoded xfonts-scalable xfree86-common xlibmesa-dri xlibmesa-gl xlibmesa-gl-dev
  xlibmesa-glu xlibmesa-glu-dev xlibs xlibs-data xlibs-dev xlibs-pic xlibs-static-dev
  xlibs-static-pic xnest xserver-common xserver-xfree86 xterm xutils xvfb
98 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/115MB of archives.
After unpacking 6457kB of additional disk space will be used.
Do you want to continue? [Y/n]
Download complete and in download only mode
wheat:/usr/local/rootlog# apt-get -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
  amanda-client amanda-common amanda-server bacula-common bacula-console-gnome
  bacula-director-common bacula-director-pgsql bacula-doc bacula-fd bacula-sd bittorrent
  bittorrent-gui debian-keyring debiandoc-sgml dpkg dpkg-dev dpkg-doc dselect gdb gedit
  gedit-common gnupg-doc grep-dctrl gzip libdps1 libgnutls11 libgnutls11-dev libice-dev libice6
  libsm-dev libsm6 libsmbclient libsmbclient-dev libwxgtk2.4 libwxgtk2.4-python libx11-6
  libx11-dev libxaw6 libxaw7 libxaw7-dev libxext-dev libxext6 libxft1 libxi-dev libxi6 libxmu-dev
  libxmu6 libxmuu-dev libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2
  libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 pm-dev samba
  samba-common samba-doc smbclient smbfs swat wxwin2.4-i18n x-dev x-window-system-core
  xbase-clients xfonts-100dpi xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
  xfonts-base-transcoded xfonts-scalable xfree86-common xlibmesa-dri xlibmesa-gl xlibmesa-gl-dev
  xlibmesa-glu xlibmesa-glu-dev xlibs xlibs-data xlibs-dev xlibs-pic xlibs-static-dev
  xlibs-static-pic xnest xserver-common xserver-xfree86 xterm xutils xvfb
98 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/115MB of archives.
After unpacking 6457kB of additional disk space will be used.
Do you want to continue? [Y/n]
Download complete and in download only mode
# At this point we are on today, and I did the dist-upgrade
# in another window.
wheat:/usr/local/rootlog# apt-get -dt unstable install squeak-vm squeak-image3.8
Reading Package Lists... Done
Building Dependency Tree... Done
squeak-image3.8 is already the newest version.
The following packages will be upgraded:
  squeak-vm
1 upgraded, 0 newly installed, 0 to remove and 351 not upgraded.
Need to get 454kB of archives.
After unpacking 754kB disk space will be freed.
Err http://box1.squeakfoundation.org unstable/main squeak-vm 1:3.8a-1
  Temporary failure resolving 'box1.squeakfoundation.org'
Failed to fetch http://box1.squeakfoundation.org/files/debian/dists/unstable/main/binary-i386/devel/squeak-vm_3.8a-1_i386.deb  Temporary failure resolving 'box1.squeakfoundation.org'
E: Some files failed to download
wheat:/usr/local/rootlog# apt-get -dt unstable install squeak-vm squeak-image3.8
Reading Package Lists... Done
Building Dependency Tree... Done
squeak-image3.8 is already the newest version.
The following packages will be upgraded:
  squeak-vm
1 upgraded, 0 newly installed, 0 to remove and 351 not upgraded.
Need to get 454kB of archives.
After unpacking 754kB disk space will be freed.
Get:1 http://box1.squeakfoundation.org unstable/main squeak-vm 1:3.8a-1 [454kB]
Fetched 454kB in 1m25s (5286B/s)
Download complete and in download only mode
# did the install in another window
wheat:/usr/local/rootlog# apt-get -dt unstable install squeak
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
  squeak
1 upgraded, 0 newly installed, 0 to remove and 350 not upgraded.
Need to get 13.2kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://box1.squeakfoundation.org unstable/main squeak 1:3.8a-1 [13.2kB]
Fetched 13.2kB in 10s (1211B/s)
Download complete and in download only mode
# did the install in another window
##### edited sources.list here (I'm fairly sure)
# No other actions in any window
wheat:/usr/local/rootlog# aptitude update
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Writing extended state information... Done
Hit http://box1.squeakfoundation.org unstable/main Packages
Hit http://box1.squeakfoundation.org unstable/main Release
Get:1 http://security.debian.org sarge/updates/main Packages [696B]
Get:2 http://security.debian.org sarge/updates/main Release [110B]
Get:3 http://security.debian.org sarge/updates/contrib Packages [20B]
Get:4 http://security.debian.org sarge/updates/contrib Release [113B]
Get:5 http://security.debian.org sarge/updates/non-free Packages [20B]
Hit http://http.us.debian.org testing/main Packages
Hit http://http.us.debian.org testing/main Release
Hit http://http.us.debian.org testing/contrib Packages
Hit http://http.us.debian.org testing/contrib Release
Hit http://http.us.debian.org testing/non-free Packages
Hit http://http.us.debian.org testing/non-free Release
Hit http://http.us.debian.org unstable/main Packages
Hit http://http.us.debian.org unstable/main Release
Hit http://http.us.debian.org unstable/main Sources
Hit http://http.us.debian.org unstable/main Release
Hit http://box1.squeakfoundation.org unstable/main Sources
Hit http://box1.squeakfoundation.org unstable/main Release
Get:6 http://security.debian.org sarge/updates/non-free Release [114B]
Hit http://http.us.debian.org unstable/contrib Sources
Hit http://http.us.debian.org unstable/contrib Release
Hit http://http.us.debian.org unstable/non-free Sources
Hit http://http.us.debian.org unstable/non-free Release
Hit http://perso.wanadoo.fr unstable/main Sources
Hit http://perso.wanadoo.fr unstable/main Release
Hit ftp://ftp.nerim.net testing/main Packages
Hit http://jopa.studentenweb.org ./ Packages
Ign http://jopa.studentenweb.org ./ Release
Hit ftp://ftp.nerim.net testing/main Release
Hit ftp://ftp.tux.org sarge/non-free Packages
Hit ftp://ftp.tux.org sarge/non-free Release
Fetched 1073B in 9s (112B/s)
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
W: Couldn't stat source package list http://security.debian.org sarge/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org sarge/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_contrib_binary-i386_Packages) - stat (2 Nosuch file or directory)
W: Couldn't stat source package list http://security.debian.org sarge/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org sarge/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org sarge/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_contrib_binary-i386_Packages) - stat (2 Nosuch file or directory)
W: Couldn't stat source package list http://security.debian.org sarge/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
W: You may want to update the package lists to correct these missing files
# 2nd time is a charm
wheat:/usr/local/rootlog# aptitude update
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Writing extended state information... Done
Hit http://security.debian.org sarge/updates/main Packages
Hit http://security.debian.org sarge/updates/main Release
Hit http://security.debian.org sarge/updates/contrib Packages
Hit http://security.debian.org sarge/updates/contrib Release
Hit http://security.debian.org sarge/updates/non-free Packages
Hit http://security.debian.org sarge/updates/non-free Release
Hit http://http.us.debian.org testing/main Packages
Hit http://http.us.debian.org testing/main Release
Hit http://http.us.debian.org testing/contrib Packages
Hit http://http.us.debian.org testing/contrib Release
Hit http://http.us.debian.org testing/non-free Packages
Hit http://http.us.debian.org testing/non-free Release
Hit http://http.us.debian.org unstable/main Packages
Hit http://http.us.debian.org unstable/main Release
Hit http://http.us.debian.org unstable/main Sources
Hit http://http.us.debian.org unstable/main Release
Hit http://perso.wanadoo.fr unstable/main Sources
Hit http://jopa.studentenweb.org ./ Packages
Ign http://jopa.studentenweb.org ./ Release
Hit http://http.us.debian.org unstable/contrib Sources
Hit http://http.us.debian.org unstable/contrib Release
Hit http://http.us.debian.org unstable/non-free Sources
Hit http://http.us.debian.org unstable/non-free Release
Hit http://perso.wanadoo.fr unstable/main Release
Hit http://box1.squeakfoundation.org unstable/main Packages
Hit http://box1.squeakfoundation.org unstable/main Release
Hit ftp://ftp.nerim.net testing/main Packages
Hit http://box1.squeakfoundation.org unstable/main Sources
Hit http://box1.squeakfoundation.org unstable/main Release
Hit ftp://ftp.tux.org sarge/non-free Packages
Hit ftp://ftp.nerim.net testing/main Release
Hit ftp://ftp.tux.org sarge/non-free Release
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
wheat:/usr/local/rootlog#   



Reply to: