ntk/apt.git
14 years agomake update-po
David Kalnischkies [Tue, 4 May 2010 11:45:36 +0000 (13:45 +0200)]
make update-po

14 years agofix compiler warning: reaching end of non-void method
David Kalnischkies [Tue, 4 May 2010 11:34:34 +0000 (13:34 +0200)]
fix compiler warning: reaching end of non-void method

14 years agomerge from the debian-sid branch
David Kalnischkies [Tue, 4 May 2010 11:26:49 +0000 (13:26 +0200)]
merge from the debian-sid branch

14 years agouse GroupCount for package names in stats and add a package struct line
David Kalnischkies [Tue, 4 May 2010 10:54:52 +0000 (12:54 +0200)]
use GroupCount for package names in stats and add a package struct line

14 years ago* apt-pkg/pkgcache.h:
David Kalnischkies [Tue, 4 May 2010 10:43:08 +0000 (12:43 +0200)]
* apt-pkg/pkgcache.h:
  - enhance the Groups ABI by providing a ID as the other structs does
  - check also the size of the Group struct then checking for the others

14 years ago* doc/cache.sgml:
David Kalnischkies [Tue, 4 May 2010 10:30:13 +0000 (12:30 +0200)]
* doc/cache.sgml:
  - drop the file in favor of inplace documentation with doxygen

14 years agomerge from the mvo branch
Michael Vogt [Tue, 4 May 2010 07:57:24 +0000 (09:57 +0200)]
merge from the mvo branch

14 years ago* doc/files.sgml:
David Kalnischkies [Mon, 3 May 2010 15:19:09 +0000 (17:19 +0200)]
* doc/files.sgml:
  - sync documentation with status quo, regarding files/directories in
    use, extended_states and uri schemes.

14 years agoreplace »« with '' in the internal error msg to have ascii chars for gettext
David Kalnischkies [Mon, 3 May 2010 14:55:11 +0000 (16:55 +0200)]
replace »« with '' in the internal error msg to have ascii chars for gettext

14 years ago* apt-pkg/indexfile.cc:
Michael Vogt [Mon, 3 May 2010 08:07:13 +0000 (10:07 +0200)]
* apt-pkg/indexfile.cc:
  - If no "_" is found in the language code, try to find a "."
    This is required for languages like Esperanto that have no
    county associated with them (LP: #560956)
    Thanks to "Aisano" for the fix

14 years agorewrite the pseudo package reinstaller to be more intelligent
David Kalnischkies [Wed, 28 Apr 2010 14:25:05 +0000 (16:25 +0200)]
rewrite the pseudo package reinstaller to be more intelligent
in his package choices

The previous implementation tried to install the package for arch A and
if this fails B, C and so on. This results in wrong architecture choices
for packages which depend on other pseudo packages, so he will now try
to install the dependencies first before trying the package itself and
only if this fails he tries the next architecture.

14 years agoapt-pkg/policy.cc: yet another cout -> clog fix
Michael Vogt [Wed, 28 Apr 2010 13:49:55 +0000 (15:49 +0200)]
apt-pkg/policy.cc: yet another cout -> clog fix

14 years ago* apt-pkg/depcache.cc:
Michael Vogt [Wed, 28 Apr 2010 13:45:06 +0000 (15:45 +0200)]
* apt-pkg/depcache.cc:
  - fix incorrect std::cout usage for debug output

14 years ago* [ Abi break ] apt-pkg/acquire-item.{cc,h}:
Michael Vogt [Wed, 28 Apr 2010 07:41:44 +0000 (09:41 +0200)]
* [ Abi break ] apt-pkg/acquire-item.{cc,h}:
  - add "IsIndexFile" to constructor of pkgAcqFile so that it sends
    the right cache control headers

14 years agoset also "all" to this version for pseudo packages in TryToChangeVer
David Kalnischkies [Sat, 24 Apr 2010 11:15:33 +0000 (13:15 +0200)]
set also "all" to this version for pseudo packages in TryToChangeVer

14 years ago* apt-pkg/contrib/configuration.cc:
David Kalnischkies [Sat, 24 Apr 2010 10:44:11 +0000 (12:44 +0200)]
* apt-pkg/contrib/configuration.cc:
  - error out if #clear directive has no argument

14 years ago* apt-pkg/sourcelist.cc:
David Kalnischkies [Sat, 24 Apr 2010 10:15:59 +0000 (12:15 +0200)]
* apt-pkg/sourcelist.cc:
  - be less strict and accept [option=value] as well

14 years ago* doc/po/de.po:
David Kalnischkies [Sat, 24 Apr 2010 09:02:30 +0000 (11:02 +0200)]
* doc/po/de.po:
  - correct typos in german apt_preferences manpage, thanks Chris Leick!

14 years agoshow non-candidates as fallback for virtual packages (Closes: #578385)
David Kalnischkies [Sat, 24 Apr 2010 08:49:48 +0000 (10:49 +0200)]
show non-candidates as fallback for virtual packages (Closes: #578385)

14 years ago* doc/apt.ent:
David Kalnischkies [Sat, 24 Apr 2010 07:39:46 +0000 (09:39 +0200)]
* doc/apt.ent:
  - Add a note about APT_CONFIG in the -c description (Closes: #578267)

14 years ago* cmdline/apt-cache.cc:
David Kalnischkies [Fri, 23 Apr 2010 15:19:57 +0000 (17:19 +0200)]
* cmdline/apt-cache.cc:
  - align Installed and Candidate Version in policy so they can be compared
    easier, thanks Ralf Gesellensetter for the pointer! (Closes: #578657)

14 years ago* ftparchive/writer.cc:
David Kalnischkies [Fri, 23 Apr 2010 15:13:02 +0000 (17:13 +0200)]
* ftparchive/writer.cc:
  - remove 999 chars Files and Checksums rewrite limit (Closes: #577759)

14 years agoreplace backticks with POSIX $() (Closes: #577116)
David Kalnischkies [Wed, 21 Apr 2010 13:25:12 +0000 (15:25 +0200)]
replace backticks with POSIX $() (Closes: #577116)
And again thanks to Jari Aalto for spotting & patching!

14 years ago* dselect/install:
David Kalnischkies [Wed, 21 Apr 2010 13:16:13 +0000 (15:16 +0200)]
* dselect/install:
  - modernize if-statements not to use 'x' (Closes: #577117)
    Thanks to Jari Aalto for spotting & patching!

14 years agoreplace backticks with single quote in broken packages message.
David Kalnischkies [Wed, 21 Apr 2010 11:14:40 +0000 (13:14 +0200)]
replace backticks with single quote in broken packages message.
Thanks to Jari Aalto for spotting & patching! (Closes: #577168)

14 years agoRemember hosts with general failures for
Michael Vogt [Wed, 14 Apr 2010 17:26:34 +0000 (19:26 +0200)]
Remember hosts with general failures for
https://wiki.ubuntu.com/NetworklessInstallationFixes (LP: #556831).

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Wed, 14 Apr 2010 16:01:11 +0000 (18:01 +0200)]
* apt-pkg/deb/dpkgpm.cc:
  - remove Chroot-Directory from files passed to install commands.
    Thanks to Kel Modderman for report & patch! (Closes: #577226)

14 years agocreate the partial dirs also automatic if only Dir::Cache::archives or
David Kalnischkies [Tue, 13 Apr 2010 08:18:19 +0000 (10:18 +0200)]
create the partial dirs also automatic if only Dir::Cache::archives or
Dir::Cache::lists was set

14 years agoregex for package names executed on Grp- not PkgIterator
David Kalnischkies [Tue, 13 Apr 2010 07:28:57 +0000 (09:28 +0200)]
regex for package names executed on Grp- not PkgIterator

14 years ago* apt-pkg/acquire-item.cc:
David Kalnischkies [Fri, 9 Apr 2010 13:38:48 +0000 (15:38 +0200)]
* apt-pkg/acquire-item.cc:
  - Acquire::ForceHash to force method for expected hash
  - display MD5Sum in --print-uris if not forced to use another method
    instead of displaying the strongest available (Closes: #576420)

14 years ago* apt-pkg/contrib/fileutl.cc:
David Kalnischkies [Wed, 7 Apr 2010 14:38:18 +0000 (16:38 +0200)]
* apt-pkg/contrib/fileutl.cc:
  - add a parent-guarded "mkdir -p" as CreateDirectory()
* apt-pkg/acquire.{cc,h}:
  - add a delayed constructor with Setup() for success reporting
  - check for and create directories in Setup if needed instead of
    error out unfriendly in the Constructor (Closes: #523920, #525783)
  - optional handle a lock file in Setup()
* cmdline/apt-get.cc:
  - remove the lock file handling and let Acquire take care of it instead

14 years agoremove the ABI compatible stub for GetListOfFilesInDir
David Kalnischkies [Sun, 4 Apr 2010 08:34:45 +0000 (10:34 +0200)]
remove the ABI compatible stub for GetListOfFilesInDir

14 years ago* apt-pkg/packagemanager.cc:
David Kalnischkies [Sat, 3 Apr 2010 16:50:07 +0000 (18:50 +0200)]
* apt-pkg/packagemanager.cc:
  - don't try to "unpack" pseudo packages twice

14 years agoInitialize history_out always with NULL so apt will not segfault later
David Kalnischkies [Sat, 3 Apr 2010 15:57:41 +0000 (17:57 +0200)]
Initialize history_out always with NULL so apt will not segfault later
in the event of a failure in OpenLog() (which will happen if called with
Debug::NoLocking as user)

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Sat, 3 Apr 2010 15:07:30 +0000 (17:07 +0200)]
* apt-pkg/depcache.cc:
  - "reinstall" the correct version for a killed pseudo package

14 years agomake changelog match upload
Michael Vogt [Thu, 1 Apr 2010 20:50:10 +0000 (22:50 +0200)]
make changelog match upload

14 years agoreleasing version 0.7.26~exp3
Michael Vogt [Thu, 1 Apr 2010 16:17:23 +0000 (18:17 +0200)]
releasing version 0.7.26~exp3

14 years agoprepare for upload
Michael Vogt [Thu, 1 Apr 2010 15:26:32 +0000 (17:26 +0200)]
prepare for upload

14 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Thu, 1 Apr 2010 15:18:31 +0000 (17:18 +0200)]
merged from lp:~donkult/apt/sid

14 years agoUserinfo is urlencoded in URIs (RFC 3986)
David Kalnischkies [Wed, 31 Mar 2010 15:19:10 +0000 (17:19 +0200)]
Userinfo is urlencoded in URIs (RFC 3986)
Thanks to Jean-Baptiste Lallement for spotting and fixing it!

* apt-pkg/contrib/strutl.cc:
  - always escape '%' (LP: #130289) (Closes: #500560)
  - unescape '%' sequence only if followed by 2 hex digit
  - username/password are urlencoded in proxy string (RFC 3986)

14 years agotry version match in FindSrc first exact than fuzzy (LP: #551178)
David Kalnischkies [Tue, 30 Mar 2010 15:47:19 +0000 (17:47 +0200)]
try version match in FindSrc first exact than fuzzy (LP: #551178)

14 years agoconvert some tabs to spaces to respect the style guide
David Kalnischkies [Tue, 30 Mar 2010 12:45:38 +0000 (14:45 +0200)]
convert some tabs to spaces to respect the style guide

14 years agorename ExplodeString to VectorizeString
David Kalnischkies [Tue, 30 Mar 2010 12:25:57 +0000 (14:25 +0200)]
rename ExplodeString to VectorizeString

14 years agoGroup packages in the same group together in the package list
David Kalnischkies [Tue, 30 Mar 2010 10:39:33 +0000 (12:39 +0200)]
Group packages in the same group together in the package list
so it is easier to find them later on as we have no "noice"
anymore between them.

14 years agoreplace every call to toupper with one to our own tolower_ascii
David Kalnischkies [Tue, 30 Mar 2010 10:38:38 +0000 (12:38 +0200)]
replace every call to toupper with one to our own tolower_ascii

This sounds like a premature optimization and since Mr. Knuth we all
know that they are the root of all evil - but, and here it starts to be
interesting: As the tolower_ascii method is by far the most called
method we have (~60 Mio. times) and as we compare only strings containing
ascii characters (package names, configuration options) using our own
method reduces execution time of APT by 4% plus it avoids that the
locale settings can influence us.

14 years agoremove wrong pin-priority is optional remark (Closes: #574944)
David Kalnischkies [Fri, 26 Mar 2010 23:01:34 +0000 (00:01 +0100)]
remove wrong pin-priority is optional remark (Closes: #574944)

14 years agoorigin can be used to match a hostname (Closes: #352667)
David Kalnischkies [Fri, 26 Mar 2010 22:51:14 +0000 (23:51 +0100)]
origin can be used to match a hostname (Closes: #352667)

14 years ago* doc/po/de.po:
David Kalnischkies [Fri, 26 Mar 2010 22:24:13 +0000 (23:24 +0100)]
* doc/po/de.po:
  - correct a few typos in the german manpage translation.
    Thanks to Chris Leick and Georg Koppen! (Closes: #574962)

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Fri, 26 Mar 2010 21:48:09 +0000 (22:48 +0100)]
* doc/apt_preferences.5.xml:
  - fix a=sid vs. n=sid typo, thanks Ansgar Burchardt!

14 years agoSwitch the TranslationWriter to use MultiCompress to be able to generate
David Kalnischkies [Fri, 26 Mar 2010 21:38:50 +0000 (22:38 +0100)]
Switch the TranslationWriter to use MultiCompress to be able to generate
the compressed files as we want them and to prevent the file to be
replaced without a reason which could save us from steady redownloads
of a file with the same content.

14 years agoInclusion of Long Descriptions in the Packages files can be set now
David Kalnischkies [Fri, 26 Mar 2010 18:18:21 +0000 (19:18 +0100)]
Inclusion of Long Descriptions in the Packages files can be set now
also in TreeDefaults and Tree to support generation of archives which
should support and which shouldn't support splitted out Translation-en
files in the same run.

14 years agoftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.
Julian Andres Klode [Fri, 26 Mar 2010 15:37:16 +0000 (16:37 +0100)]
ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.

14 years ago* apt-pkg/deb/dpkgpm.cc:
Michael Vogt [Fri, 26 Mar 2010 15:04:49 +0000 (16:04 +0100)]
* apt-pkg/deb/dpkgpm.cc:
  - fix backgrounding when dpkg runs (closes: #486222)
* cmdline/apt-mark:
  - show error on incorrect aguments (LP: #517917), thanks to
    Torsten Spindler
* cmdline/apt-get.cc:
  - if apt-get source foo=version or foo/distro can not be found,
    error out (LP: #502641)
* apt-pkg/packagemanager.cc:
  - better debug output
* doc/examples/configure-index:
  - add missing Debug::pkgPackageManager option

14 years ago* ftparchive/apt-ftparchive.cc:
Julian Andres Klode [Fri, 26 Mar 2010 14:35:36 +0000 (15:35 +0100)]
* ftparchive/apt-ftparchive.cc:
  - Read default configuration (Closes: #383257)

14 years agoFrench translation completed
bubulle@debian.org [Tue, 23 Mar 2010 12:07:31 +0000 (13:07 +0100)]
French translation completed

14 years ago* ftparchive/writer.cc:
David Kalnischkies [Mon, 22 Mar 2010 17:25:37 +0000 (18:25 +0100)]
* ftparchive/writer.cc:
  - write LongDescriptions if they shouldn't be included in Packages
    file into i18n/Translation-en by default.

It is ensured that each package+description is listed only ones in the
Translation file even if we generate multiple Packages file in one run.

The file is only generated in "generate" - the simple file commands
can't create it by now. Also, the LongDescription is currently a
global setting, so generating archives with and without LongDescriptions
in the Packages file in the same run are currently not possible.

14 years agoAdd with pkgCacheGen::Essential a way to control which packages get the
David Kalnischkies [Sun, 21 Mar 2010 20:48:09 +0000 (21:48 +0100)]
Add with pkgCacheGen::Essential a way to control which packages get the
essential flag:
* native is the default and will only mark packages of the main arch
* all will mark all packages which have these flag in Packages
* none will obviously do the opposite
* installed will only mark packages which are installed as essential,
  so it will behave in the same way as dpkg does it.
It is mostly needed sometimes for debugging but some users with special
needs might like to switch the mode as well under the expense to be
on their own…

14 years agocmdline/apt-cache.cc: Change behavior of showsrc to match the one of show (Closes...
Julian Andres Klode [Sun, 21 Mar 2010 17:11:46 +0000 (18:11 +0100)]
cmdline/apt-cache.cc: Change behavior of showsrc to match the one of show (Closes: #512046).

14 years ago* cmdline/apt-key:
Julian Andres Klode [Sun, 21 Mar 2010 16:58:58 +0000 (17:58 +0100)]
* cmdline/apt-key:
  - Honor Apt::GPGV::TrustedKeyring (Closes: #316390)

14 years ago* apt-pkg/policy.cc:
Julian Andres Klode [Sun, 21 Mar 2010 16:38:43 +0000 (17:38 +0100)]
* apt-pkg/policy.cc:
  - Always return a candidate if there is at least one version pinned > 0
    (Closes: #512318)

14 years agoadd a missing \n to pl translation i had removed previously by accident
David Kalnischkies [Fri, 19 Mar 2010 15:41:35 +0000 (16:41 +0100)]
add a missing \n to pl translation i had removed previously by accident

14 years agofirst-time build the translated manpages and remove the directories
David Kalnischkies [Fri, 19 Mar 2010 15:29:40 +0000 (16:29 +0100)]
first-time build the translated manpages and remove the directories
in the veryclean target to get right of all autogenerated files.

14 years agoadd a missing non-const & Accessors to the Iterator class
David Kalnischkies [Fri, 19 Mar 2010 12:06:48 +0000 (13:06 +0100)]
add a missing non-const & Accessors to the Iterator class

14 years agomodify and clarify the comments for the translation placeholders a bit
David Kalnischkies [Fri, 19 Mar 2010 11:36:20 +0000 (12:36 +0100)]
modify and clarify the comments for the translation placeholders a bit
and as it was only a comment change unfuzzy the translations.

14 years agomerge with debian-sid to get new pl-manpage
David Kalnischkies [Fri, 19 Mar 2010 10:00:36 +0000 (11:00 +0100)]
merge with debian-sid to get new pl-manpage

14 years agoadd translation of the manpages to PT (portuguese)
David Kalnischkies [Fri, 19 Mar 2010 09:54:26 +0000 (10:54 +0100)]
add translation of the manpages to PT (portuguese)
Thanks to Américo Monteiro!

14 years agoAdd conflict with manpages-pl
bubulle@debian.org [Fri, 19 Mar 2010 03:19:15 +0000 (10:19 +0700)]
Add conflict with manpages-pl

14 years agoPolish manpages translation update
bubulle@debian.org [Fri, 19 Mar 2010 03:14:11 +0000 (10:14 +0700)]
Polish manpages translation update

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 agoapt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManager
Michael Vogt [Tue, 16 Mar 2010 20:47:49 +0000 (21:47 +0100)]
apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManager

14 years agoDutch translation update
bubulle@debian.org [Tue, 16 Mar 2010 04:35:38 +0000 (11:35 +0700)]
Dutch translation update

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/indexfile.cc:
Michael Vogt [Fri, 12 Mar 2010 21:06:08 +0000 (22:06 +0100)]
* apt-pkg/indexfile.cc:
  - deal correctly with three letter langcodes (LP: #391409)

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* cmdline/apt-get.cc:
Michael Vogt [Fri, 12 Mar 2010 14:39:06 +0000 (15:39 +0100)]
* cmdline/apt-get.cc:
  - if apt-get source foo=version or foo/distro can not be found,
    error out (LP: #502641)

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 ago* cmdline/apt-mark:
Michael Vogt [Fri, 12 Mar 2010 09:13:44 +0000 (10:13 +0100)]
* cmdline/apt-mark:
  - show error on incorrect aguments (LP: #517917), thanks to
    Torsten Spindler

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).