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

Bug#777760: marked as done (apt: fails to satisfy dependencies of the form package:arch with arch being the native architecture)



Your message dated Tue, 28 Apr 2015 15:50:09 +0000
with message-id <E1Yn7lx-0006QF-9r@franck.debian.org>
and subject line Bug#777760: fixed in apt 1.0.9.9
has caused the Debian Bug report #777760,
regarding apt: fails to satisfy dependencies of the form package:arch with arch being the native architecture
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.)


-- 
777760: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777760
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0.9.6
Severity: normal

Hi,

apt in unstable/jessie fails to satisfy binary dependencies of the form
package:arch if arch happens to be the native architecture.

steps to reproduce:

	$ sudo debootstrap --variant=minbase sid debian-sid http://127.0.0.1:3142/http.debian.net/debian
	$ sudo mkdir debian-sid/repository
	$ cat << END | sudo tee debian-sid/repository/Packages > /dev/null
	Package: foo
	Version: 1.0
	Architecture: amd64
	Depends: blub:amd64
	
	Package: blub
	Version: 1.0
	Architecture: amd64
	END
	$ echo deb file:/repository ./ | sudo tee -a debian-sid/etc/apt/sources.list > /dev/null
	$ sudo chroot debian-sid apt-get update
	$ sudo chroot debian-sid apt-get install -o Debug::pkgProblemResolver=true -o Debug::pkgDepCache::Marker=1 -o Debug::pkgDepCache::AutoInstall=1 foo
	Reading package lists... Done
	Building dependency tree... Done
	  foo:amd64 Depends on blub:amd64 [ amd64 ] < none > ( none ) can't be satisfied!
	Starting pkgProblemResolver with broken count: 1
	Starting 2 pkgProblemResolver with broken count: 1
	Investigating (0) foo [ amd64 ] < none -> 1.0 > ( unknown )
	Broken foo:amd64 Depends on blub:amd64 [ amd64 ] < none > ( none )
	Done
	Some packages could not be installed. This may mean that you have
	requested an impossible situation or if you are using the unstable
	distribution that some required packages have not yet been created
	or been moved out of Incoming.
	The following information may help to resolve the situation:
	
	The following packages have unmet dependencies:
	 foo : Depends: blub:amd64 but it is not installable
	E: Unable to correct problems, you have held broken packages.

On the other hand it works with foreign architectures (at least as far
as the resolver seems to be concerned - it only fails on the missing
Filename: field):

	$ sudo chroot debian-sid dpkg --add-architecture i386
	$ cat << END | sudo tee debian-sid/repository/Packages > /dev/null
	Package: foo
	Version: 1.0
	Architecture: amd64
	Depends: blub:i386
	
	Package: blub
	Version: 1.0
	Architecture: i386
	END
	$ sudo chroot debian-sid apt-get update
	$ sudo chroot debian-sid apt-get install -o Debug::pkgProblemResolver=true -o Debug::pkgDepCache::Marker=1 -o Debug::pkgDepCache::AutoInstall=1 foo
	Reading package lists... Done
	Building dependency tree... Done
	  MarkInstall foo [ amd64 ] < none -> 1.0 > ( unknown ) FU=1
	  Installing blub as Depends of foo
	    MarkInstall blub [ i386 ] < none -> 1.0 > ( unknown ) FU=0
	Starting pkgProblemResolver with broken count: 0
	Starting 2 pkgProblemResolver with broken count: 0
	Done
	The following extra packages will be installed:
	  blub:i386
	The following NEW packages will be installed:
	  blub:i386 foo
	0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
	E: The package index files are corrupted. No Filename: field for package blub.

Lets try experimental apt:

	$ echo deb http://127.0.0.1:3142/http.debian.net/debian experimental main | sudo tee -a debian-sid/etc/apt/sources.list > /dev/null
	$ sudo chroot debian-sid apt-get update
	$ sudo chroot debian-sid apt-get install -t experimental apt
	$ cat << END | sudo tee debian-sid/repository/Packages > /dev/null
	Package: foo
	Version: 1.0
	Architecture: amd64
	Depends: blub:amd64
	
	Package: blub
	Version: 1.0
	Architecture: amd64
	END
	$ sudo chroot debian-sid apt-get update
	$ sudo chroot debian-sid apt-get install -o Debug::pkgProblemResolver=true -o Debug::pkgDepCache::Marker=1 -o Debug::pkgDepCache::AutoInstall=1 foo
	Reading package lists... Done
	Building dependency tree       
	Reading state information... Done
	  MarkInstall foo [ amd64 ] < none -> 1.0 > ( unknown ) FU=1
	  Installing blub as Depends of foo
	    MarkInstall blub [ amd64 ] < none -> 1.0 > ( unknown ) FU=0
	Starting pkgProblemResolver with broken count: 0
	Starting 2 pkgProblemResolver with broken count: 0
	Done
	The following extra packages will be installed:
	  blub
	The following NEW packages will be installed:
	  blub foo
	0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
	E: The package index files are corrupted. No Filename: field for package blub.

So gladly this is only a problem with apt unstable/jessie but not in
experimental.

cheers, josch

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.0.9.9

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 777760@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Kalnischkies <david@kalnischkies.de> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 28 Apr 2015 16:11:27 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 1.0.9.9
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: David Kalnischkies <david@kalnischkies.de>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst1.5 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg4.12 - package management runtime library
Closes: 777760 782777
Changes:
 apt (1.0.9.9) unstable; urgency=medium
 .
   [ David Kalnischkies ]
   * parse specific-arch dependencies correctly on single-arch systems
     (Closes: 777760)
   * remove "first package seen is native package" assumption.
     Thanks to Axel Beckert for testing (Closes: 782777)
Checksums-Sha1:
 a4c615940d5faae03da147e8c232374e80c4ecd3 2353 apt_1.0.9.9.dsc
 84f6e5930a64ac398af02c56f0929a3e9019205c 1823348 apt_1.0.9.9.tar.xz
 c660835ce029e29a863efd2e986e217d0b13076d 302836 apt-doc_1.0.9.9_all.deb
 b333fa968ae7b1ffafd8ded04e75fbcd12f2c742 782544 libapt-pkg-doc_1.0.9.9_all.deb
 3c0ceb296509412717f8ddef0e5390c8080e423e 789860 libapt-pkg4.12_1.0.9.9_amd64.deb
 03ec52046e6d4995f72e22938e7dff04d81770ab 168508 libapt-inst1.5_1.0.9.9_amd64.deb
 1e6283f534011328a60ec93ea04a317592474a75 1108630 apt_1.0.9.9_amd64.deb
 24df5e4db66ef8d1346ad109d1a3eb8e7c566ce0 193576 libapt-pkg-dev_1.0.9.9_amd64.deb
 efddf8a674ef19c4b2fe10de0fb61ede8417be4b 368062 apt-utils_1.0.9.9_amd64.deb
 b910efa724558edc09f84c40fbff03bef960ec5b 137430 apt-transport-https_1.0.9.9_amd64.deb
Checksums-Sha256:
 b16e9cda0c7a632a1054525926f7c59e91512904de8a80ccdd1ce3122000ecb4 2353 apt_1.0.9.9.dsc
 96bebcd7bfee0b2386741a8315182ba39487bdd743ecf5c1fc5b8b889cca2478 1823348 apt_1.0.9.9.tar.xz
 420bc5bfa15370676574508046b070d6d2614124a3d7b60c1ea3626ad986f22c 302836 apt-doc_1.0.9.9_all.deb
 afe5872787c7c024de9feed5e73e058c150c568d6806aea21ba7a9e09c180338 782544 libapt-pkg-doc_1.0.9.9_all.deb
 ab177036e70dbe852ecbcee47ca4741d0959b182f6841fb3e0e195a7e55fffc2 789860 libapt-pkg4.12_1.0.9.9_amd64.deb
 7ee93bda1b5650a2e3d141c0ec5a39b78ab06b0e592675fdc67eb58a4ea31522 168508 libapt-inst1.5_1.0.9.9_amd64.deb
 125e9f80eae4ab600b1ce00809667f6ac88b3ef1ef0f6b30976bf8cf6dea4881 1108630 apt_1.0.9.9_amd64.deb
 7a0d6af2741a93ce3f951e690b5faa3450a99c2b62653dee766685d14680a3f7 193576 libapt-pkg-dev_1.0.9.9_amd64.deb
 bbfc73d83b8125c51ef09590599d1b1a2f87aa75685ffd491b0cf3f23b9a5e37 368062 apt-utils_1.0.9.9_amd64.deb
 b74820be0e5ba904ca774ce27ff3f243ea564b277a0664b13a86f8737827e930 137430 apt-transport-https_1.0.9.9_amd64.deb
Files:
 fce66b4fa8294e98bcfc9bc665363ca4 2353 admin important apt_1.0.9.9.dsc
 e70c6d6227883cfc0dda6bc5db509bca 1823348 admin important apt_1.0.9.9.tar.xz
 d20ff9093db15f3a28bf64e72219bf0b 302836 doc optional apt-doc_1.0.9.9_all.deb
 ad1fc4f3800ae5a494b4bba9515de92b 782544 doc optional libapt-pkg-doc_1.0.9.9_all.deb
 6a56e8b7d9b404e1275d600110bd0997 789860 libs important libapt-pkg4.12_1.0.9.9_amd64.deb
 f069f4b6de8ff3fb834ec22e3e54468b 168508 libs important libapt-inst1.5_1.0.9.9_amd64.deb
 a6ecad79bfa584866e6adb3cff452c8a 1108630 admin important apt_1.0.9.9_amd64.deb
 f9b107514f74f03a0ae9c98df09b0f7a 193576 libdevel optional libapt-pkg-dev_1.0.9.9_amd64.deb
 1f627f67fd04606cb7e3d79da93f937d 368062 admin important apt-utils_1.0.9.9_amd64.deb
 5b6e02c731b6f7739cae9f5b6ae5492f 137430 admin optional apt-transport-https_1.0.9.9_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVP51eAAoJEJjKuzq9TKWeQSgP/RWTuMFcaHtdEWOoGq9m0k9l
MQRhZjAJL2VZSY9xD7L/vU0U4e1pIrYs6E1DMDvKZqDnM0Q9SYyQbg0Zn+tMcOfj
dqE/zbuO8hTQAQcc1KeIIUyL7qk33961vOHF+KR98rXuL4QCb0YP7VL8blv8KRcs
amaStaVd59GXV3bYN2RE09ZmlTnK88qea+hrnCuJ0hg9pMAseY8CZ62Ucrk3eHob
2lhp2YUt7UmTDybu1d3aToiEJMR3/FitzVhM7u9R9NoFGDT5nIJlgllh5Y4x9Nw5
tc23MhakVu4mNmzMjOqfvmf/Urm7qEGCpz6NtkzKpY6ZTFwYEpLGQTRSZvHRMyWV
ulloJj7w+GsV0Oeocji9/WMz/EPwu+jaxndVyBj5GIFYEw3ZY6McW5bVBiMK5UtR
ndldDxM6oyRAmLQDU/Y18QTqcS2UibuCwpf2vYxLBmr0CQz8/VxC+EDSP+fdTC4B
pXhirftv6nJPpn3thUb94ev8y5Hjfa3RCbt/UW60Yq5ncCeXK2JThMby/hlhYHD9
X2tWzB9MHFaTFvjQkBc2SDzGNPiNL7r70dzBeJwGc5ys1TLdiYDKXdUhPz6EbVjf
vMKU8zd3ChIn04nTPOWgP7u+D0ges3ohfXZfjZKhXJXpIK/HnMMyDXD2qH+ahzWr
9yoM6A6fRuP4Ntk7jH41
=XF7q
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: