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)
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.
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.
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)
David Kalnischkies [Wed, 17 Feb 2010 23:48:02 +0000 (00:48 +0100)]
criss-cross merge with my sid branch
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)
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
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).
David Kalnischkies [Wed, 17 Feb 2010 23:31:49 +0000 (00:31 +0100)]
* buildlib/apti18n.h.in, po/makefile:
- add ngettext support with P_()
David Kalnischkies [Wed, 17 Feb 2010 23:30:51 +0000 (00:30 +0100)]
dd support for the LANGUAGE environment variable
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)
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!
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)
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
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
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).
David Kalnischkies [Mon, 15 Feb 2010 12:02:27 +0000 (13:02 +0100)]
* buildlib/apti18n.h.in, po/makefile:
- add ngettext support with P_()
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
David Kalnischkies [Sun, 14 Feb 2010 22:34:56 +0000 (23:34 +0100)]
Add support for the LANGUAGE environment variable
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.
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)
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!
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.
David Kalnischkies [Sat, 13 Feb 2010 00:45:26 +0000 (01:45 +0100)]
merge with debian-sid
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.
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.
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.
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.
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
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.
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
David Kalnischkies [Wed, 10 Feb 2010 20:23:39 +0000 (21:23 +0100)]
Create implicit dependencies needed for Multi-Arch handling
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.
David Kalnischkies [Sun, 7 Feb 2010 18:26:02 +0000 (19:26 +0100)]
fix progress reporting while reading extended_states file
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
bubulle@debian.org [Wed, 3 Feb 2010 19:09:24 +0000 (20:09 +0100)]
Slovak translation update
Michael Vogt [Mon, 1 Feb 2010 20:03:52 +0000 (21:03 +0100)]
releasing version 0.7.25.3
Michael Vogt [Mon, 1 Feb 2010 02:56:26 +0000 (18:56 -0800)]
merge r1966..1967 from lp:~donkult/apt/sid
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)
Michael Vogt [Sun, 31 Jan 2010 15:21:48 +0000 (16:21 +0100)]
commit debian/changelog for final 0.7.25.2 upload
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)
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)
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)
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
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)
bubulle@debian.org [Fri, 29 Jan 2010 18:59:11 +0000 (19:59 +0100)]
First French update
bubulle@debian.org [Fri, 29 Jan 2010 18:54:18 +0000 (19:54 +0100)]
French translation update
bubulle@debian.org [Fri, 29 Jan 2010 18:46:44 +0000 (19:46 +0100)]
Italian translation update
Michael Vogt [Wed, 27 Jan 2010 15:07:21 +0000 (16:07 +0100)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Wed, 27 Jan 2010 11:11:07 +0000 (12:11 +0100)]
merge 1695..1701 from the lp:~mvo/apt/mvo branch
Michael Vogt [Tue, 26 Jan 2010 10:49:29 +0000 (11:49 +0100)]
add new "Acquire::cdrom::AutoDetect" config that enables/disables
the dlopen of libudev for automatic cdrom detection. Off by default
currently, feedback/testing welcome
Michael Vogt [Mon, 25 Jan 2010 16:34:02 +0000 (17:34 +0100)]
* ftparchive/writer.{cc,h}:
- merge crash fix for apt-ftparchive on hurd, thanks to
Samuel Thibault for the patch (closes: #566664)
Michael Vogt [Mon, 25 Jan 2010 16:15:53 +0000 (17:15 +0100)]
* cmdline/apt-mark:
- merge fix from Gene Cash that supports markauto for
packages that are not in the extended_states file yet
(closes: #534920)
Michael Vogt [Mon, 25 Jan 2010 11:09:52 +0000 (12:09 +0100)]
methods/cdrom.cc: fix compile error
Michael Vogt [Fri, 22 Jan 2010 23:37:21 +0000 (00:37 +0100)]
* apt-pkg/contrib/fileutl.cc:
- Fix the newly introduced method GetListOfFilesInDir to not
accept every file if no extension is enforced
(= restore old behaviour). (Closes: #565213)
* apt-pkg/policy.cc:
- accept also partfiles with "pref" file extension as valid
* apt-pkg/contrib/configuration.cc:
- accept also partfiles with "conf" file extension as valid
* doc/apt.conf.5.xml:
- reorder description and split out syntax
- add partfile name convention (Closes: #558348)
* doc/apt_preferences.conf.5.xml:
- describe partfile name convention also here
* apt-pkg/deb/dpkgpm.cc:
- don't segfault if term.log file can't be opened.
Thanks Sam Brightman for the patch! (Closes: #475770)
* doc/*:
- replace the per language addendum with a global addendum
- add a explanation why translations include (maybe) english
parts to the new global addendum (Closes: #561636)
* apt-pkg/contrib/strutl.cc:
- fix malloc asseration fail with ja_JP.eucJP locale in
apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
Michael Vogt [Fri, 22 Jan 2010 20:34:29 +0000 (21:34 +0100)]
* methods/cdrom.cc:
- fixes in multi cdrom setup code
Michael Vogt [Fri, 22 Jan 2010 19:06:37 +0000 (20:06 +0100)]
* apt-pkg/contrib/cdromutl.cc:
- fix UnmountCdrom() fails, give it a bit more time and try
the umount again
David Kalnischkies [Fri, 22 Jan 2010 07:38:09 +0000 (08:38 +0100)]
mark the Error methods as __cold
David Kalnischkies [Fri, 22 Jan 2010 07:27:20 +0000 (08:27 +0100)]
add a few gcc helpers, including [un]likely() and __deprecated
David Kalnischkies [Wed, 20 Jan 2010 13:18:12 +0000 (14:18 +0100)]
* apt-pkg/contrib/strutl.cc:
- fix malloc asseration fail with ja_JP.eucJP locale in
apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
David Kalnischkies [Wed, 20 Jan 2010 12:39:37 +0000 (13:39 +0100)]
replace the per language addendum with a global addendum and
add a explanation why translations include (maybe) english
parts to this new global addendum (Closes: #561636)
David Kalnischkies [Tue, 19 Jan 2010 12:08:01 +0000 (13:08 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- don't segfault if term.log file can't be opened.
Thanks Sam Brightman for the patch! (Closes: #475770)
David Kalnischkies [Sun, 17 Jan 2010 14:56:50 +0000 (15:56 +0100)]
Merge ... lp:~mvo/apt/apt-sid to get the complete fr
bubulle@debian.org [Sun, 17 Jan 2010 12:18:08 +0000 (13:18 +0100)]
Missing \n
David Kalnischkies [Sat, 16 Jan 2010 22:09:42 +0000 (23:09 +0100)]
Fix the newly introduced method GetListOfFilesInDir to not accept every
file if no extension is enforced (= restore old behaviour). (Closes: #565213)
This commit includes also:
* apt-pkg/policy.cc:
- accept also partfiles with "pref" file extension as valid
* apt-pkg/contrib/configuration.cc:
- accept also partfiles with "conf" file extension as valid
* doc/apt.conf.5.xml:
- reorder description and split out syntax
- add partfile name convention (Closes: #558348)
* doc/apt_preferences.conf.5.xml:
- describe partfile name convention also here
And a lovely test application of course.
bubulle@debian.org [Sat, 16 Jan 2010 07:11:50 +0000 (08:11 +0100)]
Completed translation
bubulle@debian.org [Thu, 14 Jan 2010 18:33:17 +0000 (19:33 +0100)]
French translation update (17 left)
David Kalnischkies [Wed, 13 Jan 2010 13:52:28 +0000 (14:52 +0100)]
correct a spelling error spotted by lintian in the debian/NEWS file:
W: spelling-error-in-news-debian: informations -> information
David Kalnischkies [Wed, 13 Jan 2010 13:51:28 +0000 (14:51 +0100)]
Merge ... lp:~mvo/apt/debian-sid to get 0.7.25.1 and my changes back
Michael Vogt [Mon, 11 Jan 2010 18:44:47 +0000 (19:44 +0100)]
releasing version 0.7.25.1
Michael Vogt [Sat, 9 Jan 2010 20:19:03 +0000 (21:19 +0100)]
* apt-pkg/deb/debindexfile.cc, apt-pkg/pkgcachegen.cc:
- add debug option Debug::pkgCacheGen
- merge fix for apt-get source pkg=version regression
(closes: #561971)
bubulle@debian.org [Sat, 9 Jan 2010 16:20:40 +0000 (17:20 +0100)]
Update PO files
bubulle@debian.org [Sat, 9 Jan 2010 15:46:43 +0000 (16:46 +0100)]
Russian translation update
Michael Vogt [Fri, 8 Jan 2010 21:47:24 +0000 (22:47 +0100)]
fix merge error
Michael Vogt [Fri, 8 Jan 2010 21:40:46 +0000 (22:40 +0100)]
* po/ru.po:
- merged updated ru.po, thanks to Yuri Kozlov (closes: #564171)
Michael Vogt [Fri, 8 Jan 2010 21:32:32 +0000 (22:32 +0100)]
* cmdline/apt-get.cc:
- fix apt-get source pkg=version regression (closes: #561971)
Michael Vogt [Fri, 8 Jan 2010 21:28:49 +0000 (22:28 +0100)]
* French manpage translation update
* spot & fix various typos in all manpages
* German manpage translation update
* cmdline/apt-cache.cc:
- remove translatable marker from the "%4i %s\n" string
* buildlib/po4a_manpage.mak:
- instruct debiandoc to build files with utf-8 encoding
* buildlib/tools.m4:
- fix some warning from the buildtools
* apt-pkg/acquire-item.cc:
- add configuration PDiffs::Limit-options to not download
too many or too big patches (Closes: #554349)
* debian/control:
- let all packages depend on ${misc:Depends}
* share/*-archive.gpg:
- remove the horrible outdated files. We already depend on
the keyring so we don't need to ship our own version
* cmdline/apt-key:
- errors out if wget is not installed (Closes: #545754)
- add --keyring option as we have now possibly many
* methods/gpgv.cc:
- pass all keyrings (TrustedParts) to gpgv instead of
using only one trusted.gpg keyring (Closes: #304846)
* methods/https.cc:
- finally merge the rest of the patchset from Arnaud Ebalard
with the CRL and Issuers options, thanks! (Closes: #485963)
bubulle@debian.org [Fri, 8 Jan 2010 18:45:15 +0000 (19:45 +0100)]
44 strings left
David Kalnischkies [Mon, 4 Jan 2010 13:09:54 +0000 (14:09 +0100)]
merge again with lp:~mvo/apt/debian-sid to get a buildable fr again
David Kalnischkies [Mon, 4 Jan 2010 13:06:49 +0000 (14:06 +0100)]
some minor style fixes: use empty() and add a few const
David Kalnischkies [Mon, 4 Jan 2010 12:54:57 +0000 (13:54 +0100)]
finally merge the rest of the patchset from Arnaud Ebalard
with the CRL and Issuers options for https, thanks! (Closes: #485963)
David Kalnischkies [Mon, 4 Jan 2010 12:45:14 +0000 (13:45 +0100)]
add TrustedParts so in the future new keyrings can just be dropped
into /etc/apt/trusted.gpg.d/ which eliminates the need to have
gpg installed to add keys to APTs trusted keyring (with apt-key)
(Closes #304846) - Thanks to Timo Weingärtner & Peter Palfrader
for providing different patchs/ideas for this!
bubulle@debian.org [Mon, 4 Jan 2010 06:09:43 +0000 (07:09 +0100)]
Review continued by Stephane Blondon
David Kalnischkies [Sun, 3 Jan 2010 18:37:34 +0000 (19:37 +0100)]
Add a GetListOfFilesInDir() helper method which replaces the old
code copies used to load the various parts-files
bubulle@debian.org [Sun, 3 Jan 2010 15:55:41 +0000 (16:55 +0100)]
Reviewed by Philippe batailler
bubulle@debian.org [Sun, 3 Jan 2010 08:30:47 +0000 (09:30 +0100)]
Review by Stephane Blondon and msgcat
David Kalnischkies [Sat, 2 Jan 2010 19:24:53 +0000 (20:24 +0100)]
apt-key errors out nicely if wget is not installed (Closes: #545754)
David Kalnischkies [Sat, 2 Jan 2010 16:53:05 +0000 (17:53 +0100)]
remove the horrible outdated share/*-archive.gpg files and all there traces
We already depend on the proper keyring so we don't need to ship our
own version which isn't used anyway.
David Kalnischkies [Sat, 2 Jan 2010 16:43:07 +0000 (17:43 +0100)]
fix a typo in the apt.conf manpage spotted by lintian
W: apt: spelling-error-in-manpage usr/share/man/man5/apt.conf.5.gz enviroment environment
David Kalnischkies [Sat, 2 Jan 2010 16:38:04 +0000 (17:38 +0100)]
fix another mistake spotted by lintian:
I: apt: spelling-error-in-binary ./usr/lib/libapt-pkg-libc6.9-6.so.4.8.0 Alot A lot
David Kalnischkies [Sat, 2 Jan 2010 16:19:07 +0000 (17:19 +0100)]
Fix the following gcc-4.5 buildfailure in pkgcache.cc by following the suggestion:
pkgcache.cc: In member function ‘const char* pkgCache::PkgIterator::CandVersion() const’:
pkgcache.cc:301:51: error: cannot call constructor ‘pkgPolicy::pkgPolicy’ directly
pkgcache.cc:301:51: note: for a function-style cast, remove the redundant ‘::pkgPolicy’
David Kalnischkies [Sat, 2 Jan 2010 16:03:23 +0000 (17:03 +0100)]
let all packages depend on
David Kalnischkies [Fri, 1 Jan 2010 23:22:31 +0000 (00:22 +0100)]
add configuration PDiffs::Limit-options (FileLimit and SizeLimit) to
not download too many or too big patches (Closes: #554349)
David Kalnischkies [Fri, 1 Jan 2010 20:32:50 +0000 (21:32 +0100)]
bzrignore the now linked config.{guess,sub} files
David Kalnischkies [Fri, 1 Jan 2010 20:05:58 +0000 (21:05 +0100)]
fix some warning from the buildtools in tools.m4 and configure.in
David Kalnischkies [Fri, 1 Jan 2010 20:00:54 +0000 (21:00 +0100)]
instruct debiandoc to build files with utf-8 encoding
David Kalnischkies [Fri, 1 Jan 2010 18:15:15 +0000 (19:15 +0100)]
remove translatable marker from the "%4i %s\n" string in apt-cache.cc
David Kalnischkies [Fri, 1 Jan 2010 18:10:14 +0000 (19:10 +0100)]
update german manpage translation by Chris Leick
David Kalnischkies [Fri, 1 Jan 2010 11:54:13 +0000 (12:54 +0100)]
Chris Leick spot & fix various typos in all manpages
David Kalnischkies [Fri, 1 Jan 2010 09:33:34 +0000 (10:33 +0100)]
Merge ... lp:~mvo/apt/debian-sid to get updated french