ntk/apt.git
14 years agomerge MultiArch-ABI. We don't support MultiArch yet (as most other tools),
David Kalnischkies [Thu, 18 Mar 2010 22:54:12 +0000 (23:54 +0100)]
merge MultiArch-ABI. We don't support MultiArch yet (as most other tools),
but we support the usage of the new ABI so libapt users
can start to prepare for MultiArch (Closes: #536029)

14 years agoReadd the FindPkg() method implementation used in the singleArch days to
David Kalnischkies [Thu, 18 Mar 2010 17:51:14 +0000 (18:51 +0100)]
Readd the FindPkg() method implementation used in the singleArch days to
use it as a fallback if multiarch is not enabled. The effect is barly
noticeable but SingleArch is the realworld scenario.

14 years agogenerate "negative" dependencies against all architectures of a package
David Kalnischkies [Thu, 18 Mar 2010 17:07:51 +0000 (18:07 +0100)]
generate "negative" dependencies against all architectures of a package

Negative means here Conflicts, Replaces and Breaks - this adds again
a whole lot of dependencies.

14 years agoFix a segfault in the version merger introduced in the previous patch:
David Kalnischkies [Thu, 18 Mar 2010 12:27:55 +0000 (13:27 +0100)]
Fix a segfault in the version merger introduced in the previous patch:
As we skip now versions with a different hash we will have situations
in which the version is equal but the hash different causing to check
the next version, but as this version was the last one the version
iterator is invalid then the merger wants to add further information.

14 years agoThe language directories for manpage building are now
David Kalnischkies [Wed, 17 Mar 2010 16:05:57 +0000 (17:05 +0100)]
The language directories for manpage building are now
autogenerated so we should ignore them.

14 years ago* apt-pkg/pkgcachegen.cc:
David Kalnischkies [Wed, 17 Mar 2010 13:47:05 +0000 (14:47 +0100)]
* apt-pkg/pkgcachegen.cc:
  - merge versions correctly even if multiple different versions
    with the same version number are available.
    Thanks to Magnus Holmgren for the patch! (Closes: #351056)

14 years ago* doc/makefile, doc/*:
David Kalnischkies [Mon, 15 Mar 2010 10:02:31 +0000 (11:02 +0100)]
* doc/makefile, doc/*:
  - generate subdirectories for building the manpages in on the fly
    depending on the po files we have.

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Sun, 14 Mar 2010 20:48:14 +0000 (21:48 +0100)]
* apt-pkg/depcache.cc:
  - remove Auto-Installed information from extended_states
    together with the package itself (Closes: #572364)

14 years ago* debian/control:
David Kalnischkies [Sun, 14 Mar 2010 16:26:50 +0000 (17:26 +0100)]
* debian/control:
  - add automake/conf build-depends/conflicts as recommend by
    the autotools-dev README (Closes: #572615)

14 years agomerge with debian-sid, update-po for manpages and fix a few more
David Kalnischkies [Sun, 14 Mar 2010 15:47:48 +0000 (16:47 +0100)]
Merge ... debian-sid, update-po for manpages and fix a few more
typos in doc/po/es.po to generate the manpages properly.

[ Christian Perrier ]
* German translation update. Closes: #571037
* Spanish manpages translation update. Closes: #573293

[ Julian Andres Klode ]
* cmdline/apt-mark:
  - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
* apt-inst/contrib/arfile.h:
  - Add public ARArchive::Members() which returns the list of members.
* debian/rules:
  - Fix the libraries name to be e.g. libapt-pkg4.9 instead of
    libapt-pkg-4.9.

14 years agoEnsure that for each all package at least one pseudopackage is installed
David Kalnischkies [Sun, 14 Mar 2010 13:45:00 +0000 (14:45 +0100)]
Ensure that for each all package at least one pseudopackage is installed

Removing pseudo packages is cool so far, the problem is that we will
remove with the not required removing so many pseudo packages that
we will have after the remove a few packages with NO installed pseudo
package (e.g. metapackages are good candidates) - so we will walk over
all these packages and try to find a pseudopackage for this package
we can install without breaking something.

14 years ago* apt-pkg/deb/debversion.cc:
David Kalnischkies [Sat, 13 Mar 2010 13:11:22 +0000 (14:11 +0100)]
* apt-pkg/deb/debversion.cc:
  - consider absent of debian revision equivalent to 0 (Closes: #573592)

This moves the existing testcase for version comparison to "my" directory,
adds a few more tests (e.g. the tests used in cupt) and rewrites the
testcases runner: The runner does now call dpkg --compare-versions
to check what dpkg thinks about the comparison - all done in less code ;)

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Fri, 12 Mar 2010 18:41:30 +0000 (19:41 +0100)]
* apt-pkg/deb/dpkgpm.cc:
  - if available store the Commandline in the history
* apt-pkg/contrib/cmndline.cc:
  - save Commandline in Commandline::AsString for logging

14 years agodoc/po/es.po: Add a missing placeholder xml, fixes build.
Julian Andres Klode [Fri, 12 Mar 2010 17:28:57 +0000 (18:28 +0100)]
doc/po/es.po: Add a missing placeholder xml, fixes build.

14 years ago* debian/rules:
Julian Andres Klode [Fri, 12 Mar 2010 14:29:07 +0000 (15:29 +0100)]
* debian/rules:
  - Fix the libraries name to be e.g. libapt-pkg4.9 instead of
    libapt-pkg-4.9.

14 years agoapt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the list...
Julian Andres Klode [Fri, 12 Mar 2010 14:28:24 +0000 (15:28 +0100)]
apt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the list of members.

14 years ago* cmdline/apt-get.cc
David Kalnischkies [Fri, 12 Mar 2010 10:08:13 +0000 (11:08 +0100)]
* cmdline/apt-get.cc
  - fix memory leaks in error conditions in DoSource()

14 years ago* cmdline/apt-get.cc:
David Kalnischkies [Fri, 12 Mar 2010 09:59:37 +0000 (10:59 +0100)]
* cmdline/apt-get.cc:
  - add a --only-upgrade flag to install command (Closes: #572259)

That is NOT what is requested in e.g. #74067 - this is a very simple
flag which behaves orthogonal to --no-upgrade not a full-blown
upgrade option for a single package instead of the whole package set.

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Fri, 12 Mar 2010 09:56:25 +0000 (10:56 +0100)]
* apt-pkg/deb/dpkgpm.cc:
  - fix error message construction in OpenLog()

14 years agoSpanish manpages translation update
bubulle@debian.org [Wed, 10 Mar 2010 21:39:44 +0000 (22:39 +0100)]
Spanish manpages translation update

14 years agofix memory leak in getLanguages() by closing the directory after checking
David Kalnischkies [Wed, 3 Mar 2010 20:29:01 +0000 (21:29 +0100)]
fix memory leak in getLanguages() by closing the directory after checking

14 years agoignore the autogenerated files and directories in abicheck/
David Kalnischkies [Tue, 2 Mar 2010 17:57:27 +0000 (18:57 +0100)]
ignore the autogenerated files and directories in abicheck/

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Tue, 2 Mar 2010 17:55:18 +0000 (18:55 +0100)]
* doc/apt_preferences.5.xml:
  - fix two typos and be more verbose in the novice warning.
    Thanks to Osamu Aoki for pointing it out! (Closes: #567669)

14 years agofix compiler error if compiled with -std=c++0x
David Kalnischkies [Mon, 1 Mar 2010 21:47:17 +0000 (22:47 +0100)]
fix compiler error if compiled with -std=c++0x

14 years agoWe need to kill also pseudo packages which have no dependency, no
David Kalnischkies [Mon, 1 Mar 2010 20:59:03 +0000 (21:59 +0100)]
We need to kill also pseudo packages which have no dependency, no
installed reverse dependency and which also doesn't provide something.
They cause problems if this pseudo packages get new dependencies.

As a consequence we also need to recheck the dependencies of a killed
pseudo package (and especially the providers of these dependencies)
to really kill all non required packages.

14 years agoRemove and Unpack operations should not be ignored for pseudo packages -
David Kalnischkies [Mon, 1 Mar 2010 14:27:55 +0000 (15:27 +0100)]
Remove and Unpack operations should not be ignored for pseudo packages -
they should trigger the remove/unpack of the "all" package.
Otherwise - as this package has no dependencies - it will be triggered
to late. The Configuration step doesn't need it as the "all" package is
a dependency of the pseudo-package, so it will be configured before
the pseudo packages are tried: So at this step the ignorance is okay.

Also IsMissing() should report the status of the all package if an
pseudo package is checked instead of always reporting no-miss.

14 years ago* cmdline/apt-mark:
Julian Andres Klode [Mon, 1 Mar 2010 12:47:56 +0000 (13:47 +0100)]
* cmdline/apt-mark:
  - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).

14 years agoCreate Pins for all group members instead of only for native architecture
David Kalnischkies [Sun, 28 Feb 2010 21:45:34 +0000 (22:45 +0100)]
Create Pins for all group members instead of only for native architecture

14 years agoFix the PkgFileIterator Constructor which defaults to the wrong value.
David Kalnischkies [Sun, 28 Feb 2010 18:45:05 +0000 (19:45 +0100)]
Fix the PkgFileIterator Constructor which defaults to the wrong value.
(0 instead of the HeaderP) This breaks the Cache Validation functionality
as the end() doesn't test for NULL.
(The fault was introduced with the rewriting of the CacheIterators)

14 years agoCompleted translation
bubulle@debian.org [Sun, 28 Feb 2010 10:18:34 +0000 (11:18 +0100)]
Completed translation

14 years agoEnable the AutoRemover to talk "Multi-Arch" by marking all pseudo
David Kalnischkies [Sat, 27 Feb 2010 16:01:12 +0000 (17:01 +0100)]
Enable the AutoRemover to talk "Multi-Arch" by marking all pseudo
packages in a group if one is marked.

The auto-installed flag is from now on Architecture bound:
A section without an architecture tag will be treated as applying
to all architectures - the next write operation will take care of
this by creating separate sections for the architectures.

14 years agoCorrect translation error
bubulle@debian.org [Sat, 27 Feb 2010 06:25:20 +0000 (07:25 +0100)]
Correct translation error

14 years agoCorrect translation error
bubulle@debian.org [Sat, 27 Feb 2010 06:23:30 +0000 (07:23 +0100)]
Correct translation error

14 years ago* apt-pkg/contrib/mmap.{h,cc}:
David Kalnischkies [Sat, 27 Feb 2010 01:02:25 +0000 (02:02 +0100)]
* apt-pkg/contrib/mmap.{h,cc}:
  - add char[] fallback for filesystems without shared writable
    mmap() like JFFS2. Thanks to Marius Vollmer for writing
    and to Loïc Minier for pointing to the patch! (Closes: #314334)

14 years agomove ShowPkg() from apt-get to the PkgIterator and rename it to FullName()
David Kalnischkies [Fri, 26 Feb 2010 19:47:19 +0000 (20:47 +0100)]
move ShowPkg() from apt-get to the PkgIterator and rename it to FullName()
responseable for displaying a package name and the architecture in a
uniform way. Pretty option can be used to not append the architecture if
it is the native architecture or all - and use it all over the place in
the commandline tools.

14 years ago* debian/control:
David Kalnischkies [Fri, 26 Feb 2010 19:19:06 +0000 (20:19 +0100)]
* debian/control:
  - remove some years old and obsolete Replaces

14 years ago* cmdline/apt-mark:
David Kalnischkies [Thu, 25 Feb 2010 18:51:05 +0000 (19:51 +0100)]
* cmdline/apt-mark:
  - don't crash if no arguments are given (Closes: #570962)

14 years agoGerman translation update
bubulle@debian.org [Wed, 24 Feb 2010 21:14:21 +0000 (22:14 +0100)]
German translation update

14 years ago"Switch" to dpkg-source 3.0 (native) format
David Kalnischkies [Fri, 19 Feb 2010 20:21:53 +0000 (21:21 +0100)]
"Switch" to dpkg-source 3.0 (native) format

14 years agofix crash when LANGUAGE is not set
Michael Vogt [Thu, 18 Feb 2010 21:08:25 +0000 (22:08 +0100)]
fix crash when LANGUAGE is not set

14 years agorefreshed po/ doc/po files
Michael Vogt [Thu, 18 Feb 2010 20:06:47 +0000 (21:06 +0100)]
refreshed po/ doc/po files

14 years agomerge from the lp:~donkult/apt/sid branch
Michael Vogt [Thu, 18 Feb 2010 14:39:03 +0000 (15:39 +0100)]
merge from the lp:~donkult/apt/sid branch

14 years ago* [BREAK] merged lp:~mvo/apt/history
Michael Vogt [Thu, 18 Feb 2010 14:17:50 +0000 (15:17 +0100)]
* [BREAK] merged lp:~mvo/apt/history
  - this writes a /var/log/apt/history tagfile that contains details
    from the transaction (complements term.log)
* methods/http.cc:
  - add cache-control headers even if no cache is given to allow
    adding options for intercepting proxies
  - add Acquire::http::ProxyAutoDetect configuration that
    can be used to call a external helper to figure out the
    proxy configuration and return it to apt via stdout
    (this is a step towards WPAD and zeroconf/avahi support)
* abicheck/
  - add new abitest tester using the ABI Compliance Checker from
    http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
* Change the package index Info methods to allow apt-cache policy to be
  useful when using several different archives on the same host.
  (Closes: #329814, LP: #22354)

14 years ago* [BREAK] add possibility to download and use multiply
Michael Vogt [Thu, 18 Feb 2010 14:07:56 +0000 (15:07 +0100)]
* [BREAK] add possibility to download and use multiply
  Translation files, configurable with Acquire::Translation
  (Closes: #444222, #448216, #550564)
* Ignore :qualifiers after package name in build dependencies
  for now as long we don't understand them (Closes: #558103)
* apt-pkg/contrib/mmap.{cc,h}:
  - extend it to have a growable flag - unused now but maybe...
* apt-pkg/pkgcache.h:
  - use long instead of short for {Ver,Desc}File size,
    patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
* apt-pkg/acquire-item.cc:
  - allow also to skip the last patch if target is reached,
    thanks Bernhard R. Link! (Closes: #545699)
* ftparchive/writer.{cc,h}:
  - add APT::FTPArchive::AlwaysStat to disable the too aggressive
    caching if versions are build multiply times (not recommend)
    Patch by Christoph Goehre, thanks! (Closes: #463260)

14 years agoabicheck/run_abi_test: check both libapt-pkg and libapt-inst
Michael Vogt [Thu, 18 Feb 2010 13:55:13 +0000 (14:55 +0100)]
abicheck/run_abi_test: check both libapt-pkg and libapt-inst

14 years agoabicheck: use absoute path for build too
Michael Vogt [Thu, 18 Feb 2010 13:40:42 +0000 (14:40 +0100)]
abicheck: use absoute path for build too

14 years agoabicheck/run_abi_test: check for ../build; abicheck/apt_build.xml: fix version name
Michael Vogt [Thu, 18 Feb 2010 13:19:40 +0000 (14:19 +0100)]
abicheck/run_abi_test: check for ../build; abicheck/apt_build.xml: fix version name

14 years ago* abicheck/
Michael Vogt [Thu, 18 Feb 2010 10:39:08 +0000 (11:39 +0100)]
* abicheck/
  - add new abitest tester using the ABI Compliance Checker from
    http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker

14 years agoAUTHORS: updated again
Michael Vogt [Thu, 18 Feb 2010 10:31:34 +0000 (11:31 +0100)]
AUTHORS: updated again

14 years agoChange the package index Info methods to allow apt-cache policy to be
Michael Vogt [Thu, 18 Feb 2010 10:22:26 +0000 (11:22 +0100)]
Change the package index Info methods to allow apt-cache policy to be
useful when using several different archives on the same host.
(Closes: #329814, LP: #22354)

14 years agoAUTHORS: updated to reflect current status
Michael Vogt [Thu, 18 Feb 2010 10:21:49 +0000 (11:21 +0100)]
AUTHORS: updated to reflect current status

14 years ago* doc/apt-cdrom.8.xml:
David Kalnischkies [Thu, 18 Feb 2010 01:15:23 +0000 (02:15 +0100)]
* doc/apt-cdrom.8.xml:
  - fix typo spotted by lintian: proc(c)eed

14 years ago* debian/rules:
David Kalnischkies [Thu, 18 Feb 2010 00:59:50 +0000 (01:59 +0100)]
* debian/rules:
  - remove creation of empty dir /usr/share/apt

14 years agowe break the ABI, so let use increase the ABI number :)
David Kalnischkies [Thu, 18 Feb 2010 00:37:59 +0000 (01:37 +0100)]
we break the ABI, so let use increase the ABI number :)
(This is the revert of the glibc-abi-compatibility-hack)

14 years agodoesn't use a default separator in ExplodeString (halfway losted in merge)
David Kalnischkies [Wed, 17 Feb 2010 23:55:35 +0000 (00:55 +0100)]
doesn't use a default separator in ExplodeString (halfway losted in merge)

14 years agocriss-cross merge with my sid branch
David Kalnischkies [Wed, 17 Feb 2010 23:48:02 +0000 (00:48 +0100)]
criss-cross merge with my sid branch

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Wed, 17 Feb 2010 23:37:52 +0000 (00:37 +0100)]
* doc/apt_preferences.5.xml:
  - explicitly warn against careless use (Closes: #567669)

14 years ago* debian/control:
David Kalnischkies [Wed, 17 Feb 2010 23:37:00 +0000 (00:37 +0100)]
* debian/control:
  - update with no changes to debian policy 3.8.4

14 years ago* aptconfiguration.cc:
David Kalnischkies [Wed, 17 Feb 2010 23:35:25 +0000 (00:35 +0100)]
* aptconfiguration.cc:
  - include all existing Translation files in the Cache (Closes: 564137)

Previously if APT was executed with a different LC_* all these invocations
needed to rebuild the Cache as too many files were included or missing:
Now the lists-directory is checked for Translation-files and all these
will be included in getLanguages() regardless of the environment setting
(after a "none" so APT will not use them for displaying information).

14 years ago* buildlib/apti18n.h.in, po/makefile:
David Kalnischkies [Wed, 17 Feb 2010 23:31:49 +0000 (00:31 +0100)]
* buildlib/apti18n.h.in, po/makefile:
  - add ngettext support with P_()

14 years agodd support for the LANGUAGE environment variable
David Kalnischkies [Wed, 17 Feb 2010 23:30:51 +0000 (00:30 +0100)]
dd support for the LANGUAGE environment variable

14 years ago - add --arch option for apt-ftparchive packages and contents commands
David Kalnischkies [Wed, 17 Feb 2010 23:05:14 +0000 (00:05 +0100)]
  - add --arch option for apt-ftparchive packages and contents commands
  - if an arch is given accept only *_all.deb and *_arch.deb instead
    of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Wed, 17 Feb 2010 23:04:26 +0000 (00:04 +0100)]
* apt-pkg/deb/dpkgpm.cc:
  - stdin redirected to /dev/null takes all CPU (Closes: #569488)
    Thanks to Aurelien Jarno for providing (again) a patch!

14 years agomerged from debian-sid
Michael Vogt [Wed, 17 Feb 2010 21:09:25 +0000 (22:09 +0100)]
merged from debian-sid

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Wed, 17 Feb 2010 21:09:02 +0000 (22:09 +0100)]
* doc/apt_preferences.5.xml:
  - explicitly warn against careless use (Closes: #567669)

14 years agoadd a note about the uncomplete toolchain to sound a bit more scary
David Kalnischkies [Wed, 17 Feb 2010 21:05:15 +0000 (22:05 +0100)]
add a note about the uncomplete toolchain to sound a bit more scary

14 years ago* debian/control:
David Kalnischkies [Tue, 16 Feb 2010 21:05:10 +0000 (22:05 +0100)]
* debian/control:
  - update with no changes to debian policy 3.8.4

14 years ago* aptconfiguration.cc:
David Kalnischkies [Mon, 15 Feb 2010 12:05:53 +0000 (13:05 +0100)]
* aptconfiguration.cc:
  - include all existing Translation files in the Cache (Closes: 564137)

Previously if APT was executed with a different LC_* all these invocations
needed to rebuild the Cache as too many files were included or missing:
Now the lists-directory is checked for Translation-files and all these
included in getLanguages() regardless of the environment setting
(after a "none" so APT will not use them for displaying information).

14 years ago* buildlib/apti18n.h.in, po/makefile:
David Kalnischkies [Mon, 15 Feb 2010 12:02:27 +0000 (13:02 +0100)]
* buildlib/apti18n.h.in, po/makefile:
  - add ngettext support with P_()

14 years agoActivate support of :any and stuff in apt-get build-dep as we have
David Kalnischkies [Sun, 14 Feb 2010 23:01:36 +0000 (00:01 +0100)]
Activate support of :any and stuff in apt-get build-dep as we have
now support for MultiArch, so Multi-Arch: allowed packages should
already provide package:any

14 years agoAdd support for the LANGUAGE environment variable
David Kalnischkies [Sun, 14 Feb 2010 22:34:56 +0000 (23:34 +0100)]
Add support for the LANGUAGE environment variable

14 years agoPseudo() doesn't work in the Cache generation step as the check if only
David Kalnischkies [Sun, 14 Feb 2010 21:24:55 +0000 (22:24 +0100)]
Pseudo() doesn't work in the Cache generation step as the check if only
one package is in the group will generate false positives - as the others
will (maybe) added a little time later in the process.

14 years ago - add --arch option for apt-ftparchive packages and contents commands
David Kalnischkies [Sat, 13 Feb 2010 16:22:34 +0000 (17:22 +0100)]
  - add --arch option for apt-ftparchive packages and contents commands
  - if an arch is given accept only *_all.deb and *_arch.deb instead
    of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Sat, 13 Feb 2010 00:59:22 +0000 (01:59 +0100)]
* apt-pkg/deb/dpkgpm.cc:
  - stdin redirected to /dev/null takes all CPU (Closes: #569488)
    Thanks to Aurelien Jarno for providing (again) a patch!

14 years ago[BREAK] merge MultiArch-ABI. We don't support MultiArch,
David Kalnischkies [Sat, 13 Feb 2010 00:53:17 +0000 (01:53 +0100)]
[BREAK] merge MultiArch-ABI. We don't support MultiArch,
but we support the usage of the new ABI so libapt users
can start to prepare for MultiArch (Closes: #536029)

MultiArch isn't ready for Primetime usage for now, but the branch has
managed to be a NOP if used in SingleArch-mode so we can start to
promote the use of the new MultiArchable API-extensions.

14 years agomerge with debian-sid
David Kalnischkies [Sat, 13 Feb 2010 00:45:26 +0000 (01:45 +0100)]
merge with debian-sid

14 years agoAdd a more or less useful README file for everything related to MultiArch
David Kalnischkies [Fri, 12 Feb 2010 23:39:10 +0000 (00:39 +0100)]
Add a more or less useful README file for everything related to MultiArch
and install it in the apt-doc package.

14 years agoIn SingleArch environments we don't need the arch "all" pseudo package
David Kalnischkies [Fri, 12 Feb 2010 16:17:16 +0000 (17:17 +0100)]
In SingleArch environments we don't need the arch "all" pseudo package
for handling arch:all packages, so we create only one package and stop
calling it a pseudo package.

14 years agoAdd yet another pseudo package which isn't as pseudo as the others:
David Kalnischkies [Thu, 11 Feb 2010 23:04:31 +0000 (00:04 +0100)]
Add yet another pseudo package which isn't as pseudo as the others:
Arch all packages are now represented by arch depending packages which
all depend on a package with the same name and the special arch "all".
This packages has NO dependencies, but beside this the same information.
It is the only package which has a size, the arch depending ones all
have a zero size. While the arch depending pseudo packages are used
for dependency resolution the arch "all" package is used for downloading
and ordering of the package.

14 years agoArch() on a MultiArch:all version should return "all" to be compatible
David Kalnischkies [Thu, 11 Feb 2010 17:20:02 +0000 (18:20 +0100)]
Arch() on a MultiArch:all version should return "all" to be compatible
with previous usecases. You now need to requested with Arch(true) the
return of the architecture this version (and pseudo package) was created for.

14 years agodisplay the architecture of the package if it is not the default
David Kalnischkies [Thu, 11 Feb 2010 14:41:04 +0000 (15:41 +0100)]
display the architecture of the package if it is not the default
architecture in apt-get, display policy for all available architectures
and use GrpIterator in apt-cache pkgnames

14 years agoAdd Multi-Arch: allowed support by creating an implicit provide of
David Kalnischkies [Thu, 11 Feb 2010 11:19:48 +0000 (12:19 +0100)]
Add Multi-Arch: allowed support by creating an implicit provide of
name:any for such packages, so dependencies in this style can be
easily resolved.

14 years agoForeign Versions add an implicit Provides to the other packages in the group
David Kalnischkies [Wed, 10 Feb 2010 21:45:58 +0000 (22:45 +0100)]
Foreign Versions add an implicit Provides to the other packages in the group

14 years agoCreate implicit dependencies needed for Multi-Arch handling
David Kalnischkies [Wed, 10 Feb 2010 20:23:39 +0000 (21:23 +0100)]
Create implicit dependencies needed for Multi-Arch handling

14 years agoPre-MultiArch a package which depends on a package with architecture "all"
David Kalnischkies [Wed, 10 Feb 2010 16:42:39 +0000 (17:42 +0100)]
Pre-MultiArch a package which depends on a package with architecture "all"
can be sure that a package comeing in as a dependency of this package
will be of the same architecture as itself (or all). We don't want to break
this, so internal an arch all package is represented as many arch depending
packages. The only problem we have now is that we only know that a arch
all package is installed or not - we don't know for which architecture it
was installed: So we will look at all these broken arch all pseudo packages
and "remove" them.

14 years agodebian/changelog: updated
Michael Vogt [Mon, 8 Feb 2010 19:01:59 +0000 (20:01 +0100)]
debian/changelog: updated

14 years agofix progress reporting while reading extended_states file
David Kalnischkies [Sun, 7 Feb 2010 18:26:02 +0000 (19:26 +0100)]
fix progress reporting while reading extended_states file

14 years agoDrop the Arch information from the Version structure as we can get
David Kalnischkies [Sun, 7 Feb 2010 11:38:13 +0000 (12:38 +0100)]
Drop the Arch information from the Version structure as we can get
the information from the parent package now

14 years agoadd Acquire::http::ProxyAutoDetect configuration that
Michael Vogt [Sat, 6 Feb 2010 02:34:27 +0000 (18:34 -0800)]
add Acquire::http::ProxyAutoDetect configuration that
can be used to call a external helper to figure out the
proxy configuration and return it to apt via stdout

14 years agoSlovak translation update
bubulle@debian.org [Wed, 3 Feb 2010 19:09:24 +0000 (20:09 +0100)]
Slovak translation update

14 years ago* methods/http.cc:
Michael Vogt [Wed, 3 Feb 2010 18:00:54 +0000 (10:00 -0800)]
* methods/http.cc:
  - add cache-control headers even if no cache is given to allow
    adding options for intercepting proxies

14 years agoreleasing version 0.7.25.3 0.7.25.3
Michael Vogt [Mon, 1 Feb 2010 20:03:52 +0000 (21:03 +0100)]
releasing version 0.7.25.3

14 years agomerge r1966..1967 from lp:~donkult/apt/sid
Michael Vogt [Mon, 1 Feb 2010 02:56:26 +0000 (18:56 -0800)]
merge r1966..1967  from lp:~donkult/apt/sid

14 years ago* cmdline/acqprogress.cc:
Michael Vogt [Sun, 31 Jan 2010 15:28:06 +0000 (07:28 -0800)]
* cmdline/acqprogress.cc:
  - Set Mode to Medium so that the correct prefix is used.
    Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243)
* ftparchive/writer.cc:
  - generate sha1 and sha256 checksums for dsc (Closes: #567343)
* cmdline/apt-get.cc:
  - don't mark as manually if in download only (Closes: #468180)

14 years agocommit debian/changelog for final 0.7.25.2 upload
Michael Vogt [Sun, 31 Jan 2010 15:21:48 +0000 (16:21 +0100)]
commit debian/changelog for final 0.7.25.2 upload

14 years ago* cmdline/apt-get.cc:
David Kalnischkies [Sun, 31 Jan 2010 01:16:17 +0000 (02:16 +0100)]
* cmdline/apt-get.cc:
  - don't mark as manually if in download only (Closes: #468180)

14 years ago* ftparchive/writer.cc:
David Kalnischkies [Sat, 30 Jan 2010 22:57:27 +0000 (23:57 +0100)]
* ftparchive/writer.cc:
  - generate sha1 and sha256 checksums for dsc (Closes: #567343)

14 years ago* cmdline/acqprogress.cc:
David Kalnischkies [Sat, 30 Jan 2010 21:40:25 +0000 (22:40 +0100)]
* cmdline/acqprogress.cc:
  - Set Mode to Medium so that the correct prefix is used.
    Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243)

14 years agocleanup the error header a bit by moving the printf-macros out
David Kalnischkies [Sat, 30 Jan 2010 21:30:29 +0000 (22:30 +0100)]
cleanup the error header a bit by moving the printf-macros out
and remove the using std::string

14 years ago* apt-pkg/contrib/macros.h:
David Kalnischkies [Sat, 30 Jan 2010 21:19:57 +0000 (22:19 +0100)]
* apt-pkg/contrib/macros.h:
  - move the header system.h with a new name to the public domain,
    to be able to use it in other headers (Closes: #567662)