Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
--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
|
|
- 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
|
|
number of times we call progress bar updating and debugging
configuration settings.
|
|
they have no effect anyway (thanks Daniel Burrows for noticing)
* improve documentation of the Is{Delete,Install}Ok methods a bit
* add the FromUser boolean to the debug output of the markers
|
|
* honor the dpkg hold state in new Marker hooks (closes: #64141)
Combine the proposed AutoInstOk and IsAutoInstallOk to more general hooks
for MarkInstall (and another one for MarkDelete) with the same parameters
as the call these hooks should check.
|
|
|
|
|
|
* honor the dpkg hold state in IsAutoInstallOk (closes: #64141)
|
|
|
|
|
|
type triggers a autoinst (closes: #458389)
* add debug::pkgDepCache::Marker with more detailed debug output
(closes: #87520)
|
|
|
|
|
|
- when checking for new important deps, skip critical ones
(closes: #485943)
|
|
|
|
aren't "new". (Closes: #470115)
This handles situations where a recommendation's version requirement has
been tightened. Instead of breaking the Recommends, the recommendee will
be upgraded.
|
|
- support a list of sections for:
APT::Install-Recommends-Sections
APT::Never-MarkAuto-Sections
|
|
Burrows)
|
|
|
|
- merge missing bugfix from ubuntu branch
|
|
|
|
|
|
|
|
- always chmod extended_states to 0644
|
|
- added APT::Never-MarkAuto-Section variable - that will consider dependencies of packages in this section manual
|
|
- never autoremove Required packages
|
|
- never mark required packages as garbage
|
|
* pulled in the other remaining ubuntu changes
|
|
|
|
|
|
|
|
|
|
- do not change the auto-flag in MarkKeep() to prevent side-effects
in interactive package managers when a package is marked for remove
first and then unmarked again. the old code removed the auto-flag,
the new code will retain this information
- a package can be garbage even if it is already marked for removal
|
|
- added "APT::Install-Recommends-Section" option
|
|
|
|
|
|
|
|
- only work on instVer if we actually have one
|
|
* ABI break, bumped the version number
|
|
- added "--fix-policy" option to make it easy to fix any not-install
recommends
* apt-pkg/depcache.{cc,h}
- MarkInstall() has a new "ForceImportantDeps" option (defaults to false)
to fice the install of recommends even for already installed pkgs
- a new PolicyBroken() function to see how much of the recommends are
broken
|
|
|
|
- find new important dependencies on upgrade and deal with them
|
|
|
|
|
|
- close the outfile properly (thanks to kamion)
* cmdline/apt-get.cc:
- unbreak dselect-upgrade by adding a ActionGroup around it
|
|
- create a empty state file if none exists
|
|
- very simple tool to manipulate the extended_states for autoinstall
* apt-pkg/depcache.cc:
- keep exisiting data in "extended_states" to make other tools happy
|
|
- renamed "pkgstates" file to "extended_states"
|