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

Bug report: Not able to print apt package uri anymore



Dear APT Development Team,

since the latest update of my Debian lenny amd64 I have a problem with the apt package: I am not able to determine the fetch URL for the package.




Before update (using apt_0.7.20.2_amd64.deb)
--------------------------------------------


# apt-get --print-uris -y --force-yes --reinstall -d install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1639kB of archives.
After this operation, 0B of additional disk space will be used.
'http://ftp2.de.debian.org/debian/pool/main/a/apt/apt_0.7.20.2_amd64.deb' apt_0.7.20.2_amd64.deb 1639102 SHA256:3cd190d8d37981c3c970fedba040a64614071b98ffe4f1829803282cb2cf3397



So it prints the uri of the package just as expected



After update (using apt_0.7.20.2+lenny1_amd64.deb)
--------------------------------------------------


# apt-get --print-uris -y --force-yes --reinstall -d install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/1658kB of archives.
After this operation, 0B of additional disk space will be used.



The uri is missing!
However, I am still able to re-install the package this way:



# apt-get -y --force-yes --reinstall install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1658kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://security.debian.org lenny/updates/main apt 0.7.20.2+lenny1 [1658kB]
Fetched 1658kB in 10s (157kB/s)
(Reading database ... 44656 files and directories currently installed.)
Preparing to replace apt 0.7.20.2+lenny1 (using .../apt_0.7.20.2+lenny1_amd64.deb) ...
Unpacking replacement apt ...
Processing triggers for man-db ...
Setting up apt (0.7.20.2+lenny1) ...
...



So the only strange thing about the new package is: It is not printing the uri for downloading the package file. Other packages (also from the updates repository) work fine:



# apt-get --print-uris -y --force-yes --reinstall -d install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 266kB of archives.
After this operation, 0B of additional disk space will be used.
'http://security.debian.org/pool/updates/main/u/udev/udev_0.125-7+lenny1_amd64.deb' udev_0.125-7+lenny1_amd64.deb 266322 SHA256:8d47e02f7f5692a995b10656d323175649c9ab07aec264af7eedba91102e8d61



This is my sources.list:

deb http://ftp2.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

Note:

Even when I have the old apt package installed, apt-get is not printing the uri as long as security.debian.org is in my list in /eta/apt/sources.list.

So I assume something is wrong with the package description, but so far I cannot find any error in the control file.

I am using the --print-uris option in an automatic package download script.



Any help?
Thank you very much!

Best Regards,
Jan Exß





Additional info (might help)
----------------------------



From /var/lib/dpkg/available (before update)



Package: apt
Priority: important
Section: admin
Installed-Size: 5216
Maintainer: APT Development Team <deity@lists.debian.org>
Architecture: amd64
Version: 0.7.20.2
Replaces: libapt-pkg-dev (<< 0.3.7), libapt-pkg-doc (<< 0.3.7)
Provides: libapt-pkg-libc6.7-6-4.6
Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.2.1), debian-archive-keyring Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt
Filename: pool/main/a/apt/apt_0.7.20.2_amd64.deb
Size: 1639102
MD5sum: 0e7bceb5c7706ed180c3de4ebef68e8f
Description: Advanced front-end for dpkg
 This is Debian's next generation front-end for the dpkg package manager.
 It provides the apt-get utility and APT dselect method that provides a
 simpler, safer way to install and upgrade packages.
 .
 APT features complete installation ordering, multiple source capability
 and several other unique features, see the Users Guide in apt-doc.
SHA1: bbc2af415067a40b3c8fff4e0e1205fc3052c72e
SHA256: 3cd190d8d37981c3c970fedba040a64614071b98ffe4f1829803282cb2cf3397
Build-Essential: yes
Tag: admin::package-management, hardware::storage, hardware::storage:cd, interface::commandline, network::client, protocol::{ftp,http,ipv6}, role::program, suite::debian, use::downloading, use::searching, works-with::software:package



From /var/lib/dpkg/available (after update)



Package: apt
Priority: important
Section: admin
Installed-Size: 5220
Maintainer: APT Development Team <deity@lists.debian.org>
Architecture: amd64
Version: 0.7.20.2+lenny1
Replaces: libapt-pkg-dev (<< 0.3.7), libapt-pkg-doc (<< 0.3.7)
Provides: libapt-pkg-libc6.7-6-4.6
Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.2.1), debian-archive-keyring Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt
Filename: pool/updates/main/a/apt/apt_0.7.20.2+lenny1_amd64.deb
Size: 1657772
MD5sum: 1e7f04ceddd59e28213c67d7fd7a0cac
Description: Advanced front-end for dpkg
 This is Debian's next generation front-end for the dpkg package manager.
 It provides the apt-get utility and APT dselect method that provides a
 simpler, safer way to install and upgrade packages.
 .
 APT features complete installation ordering, multiple source capability
 and several other unique features, see the Users Guide in apt-doc.
SHA1: 43589e8ce40ae6fbccdf3eb0f743a556e8544164
SHA256: 2f74dba87b375aa77f76e21f0bd5c1bd9ec588c7e2dbad283e0d10272a1fb6b1
Build-Essential: yes
Tag: admin::package-management, hardware::storage, hardware::storage:cd, interface::commandline, network::client, protocol::{ftp,http,ipv6}, role::program, suite::debian, use::downloading, use::searching, works-with::software:package





--

Jan Exß
http://jan.exss.de/


Reply to: