Age | Commit message (Collapse) | Author |
|
infrastructor for packages.
APT is now aware of the fact that a package A in architecture X can't
satisfy a dependency on package A in architecture Y - to handle these
packages are now identified by name and architecture, so different
architectures of the same package are handled internally as completly
different packages. This is great for pinning, dependency checking and
in many other situations, but sometimes we need to know which archs are
available for a given package: Here Groups come to our rescue!
|
|
|
|
|
|
This should not change the public interface, but it removes the
friend connection between the iterators and pkgcache as it is unused.
|
|
for now as long we don't understand them (Closes: #558103)
|
|
apt-pkg/deb/debsrcrecords.cc as source format v3 uses this name
scheme for their "diff" files.
|
|
Translation files, configurable with Acquire::Languages
accessable with APT::Configuration::getLanguages() and
as always with documentation in apt.conf.
The commit also includes a very very simple testapp.
|
|
|
|
thanks Bernhard R. Link! (Closes: #545699)
|
|
patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
|
|
|
|
(but planed) growable mmaps
|
|
so it is not needed to change x-files to just increase a version number
(because this is far to easy to forget one of the files, which will not
result in failures or is bad in general, but is inconsitent.)
|
|
Backported from lp:~mvo/apt/debian-experimental
Based on patch by Eugene V. Lyubimkin
|
|
Backported from lp:~mvo/apt/debian-experimental
Patch by Eugene V. Lyubimkin
|
|
change another message to be also translatable.
|
|
immediate configuration as the old message was quite a bit scare and
uninformative.
|
|
we want sometimes
|
|
- fix overly aggressive immediate config propergation
(thanks to David Kalnischkies)
|
|
|
|
|
|
- when tcgetattr() returns non-zero skip all pty magic
(thanks to Simon Richter, closes: #509866)
* apt-inst/contrib/arfile.cc:
- show propper error message for Invalid archive members
|
|
- when tcgetattr() returns non-zero skip all pty magic
(thanks to Simon Richter, closes: #509866)
|
|
- remove the DPkg::NoConfTriggers - absolutely useless as we need
TriggersPending already so we can use --no-triggers.
- remove the Immediate-option from the example, it doesn't help much.
- UnpackCritical uses DepUnPackPre with a D (on simple letter...)
- the "smart" optimisation to skip A was not so smart - revert.
|
|
arising if we upgrade essential or predependencies which need to be
configured before even unpacking packages depending on them.
|
|
use of dpkg's trigger and configuration handling (Closes: #473461)
Add NoTriggers option to add --no-triggers to all dpkg calls,
NoConfiguration to prevent apt from trying to configure packages -
dpkg should handle this in the last ConfigurePending call.
This options are for now deactivated as they require more testing in
real world situations, but the plan is to enable them in the near
future if anything works well.
|
|
|
|
simplify customisation of the order and improve the documentation
about this setting group.
|
|
instead of ignoring the returncode and truncating the string on error
|
|
they there broken since 0.7.21 with the introduction of #-comments
|
|
|
|
- do not segfault on invalid items (closes: #544080)
|
|
- do not set internel "needs-configure" state for packages in
triggers-pending state. dpkg will deal with the trigger and
it if does it before we trigger it, dpkg will error out
(LP: #414631)
|
|
|
|
We can use it to simplify the internal code to operate with
Acquire::CompressionTypes group. This also made it possible
to set this setting with the -o flag.
|
|
- do not set internel "needs-configure" state for packages in
triggers-pending state. dpkg will deal with the trigger and
it if does it before we trigger it, dpkg will error out
(LP: #414631)
|
|
--ignore-hold only works partly: The holds are to strongly enforced
in these hooks - this commit brings the old (and expected) behaviour back.
[apt-pkg/depcache.cc]
- restore the --ignore-hold effect in the Is{Delete,Install}Ok hooks
|
|
acquire-items choose which compression file they should (try first to)
download to easily add new or change the order of the compression types.
And because it is easy now we directly add builtin lzma support.
The compression ratio is better than bzip2 but we prefer the later for now
as no (official) mirror uses lzma, so this would only generate useless
hits on the servers. Maybe sometime in the future lzma will be the default...
[apt-pkg/acquire-item.cc]
- use configsettings for dynamic compression type use and order.
Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746)
[apt-pkg/init.cc]
- add default configuration for compression types and add lzma
support. Order is now bzip2, lzma, gzip, none (Closes: #510526)
[ftparchive/writer.cc]
- add lzma support also here, patch for this (and inspiration for
the one above) by Robert Millan, thanks!
|
|
file not exists, patch from George Danchev, thanks! (Closes: #511556)
|
|
* backout my fix for the sources.list issue, there is already one in
|
|
warning: suggest explicit braces to avoid ambiguous ‘else’
|
|
- Only warn about missing sources.list if there is no sources.list.d
and vice versa as only one of them is needed (Closes: #539731).
|
|
- Fix FTBFS on GNU/kFreeBSD by disabling DynamicMMap::Grow() on
non-Linux architectures (as it uses mremap).
|
|
the current locale. Patch from Luca Bruno (Closes: #223712)
|
|
file, if no SourceListEntry exists (e.g. sources.list.d dir does not exists
or it exists but does not include a .list-file with valid entries)
|
|
- Call opProgress->Update() less often too avoid spending too
much time in it (it shows up relatively high in the callgrind logs).
But do call it more often than just for each percent so that the
UI frontends can use the OpProgress::Update() calling to do e.g. UI
updates
|
|
|
|
Remove a bug (= an evil amok running if) introduced by the merge in 1817
which cause a segfault in the destructor for the dynamic mmap.
|
|
temporary allocations.
|
|
number of times we call progress bar updating and debugging
configuration settings.
|