Age | Commit message (Collapse) | Author | Files | Lines |
|
LP: #972847
|
|
This was a rather unsightly kludge and is better suited as
a script for APT::Update::Post-Invoke.
|
|
|
|
* src/generic/apt/download_update_manager.cc:
- run APT::Update hooks (Closes: #476399)
- report fetch errors (Closes: #451137)
|
|
This reverts commit bd3f0ed4935577f5d942b418f11c0a8a50894c7b.
ListUpdate did not fit download_upload_manager well, but appeared
to work. Now reverting in favour of updating the local code and
hopefully this allows us to tackle some of the bugs that popped up.
|
|
12_point_manpage_to_doc_package)
|
|
|
|
Closes: #670379
|
|
|
|
|
|
|
|
|
|
|
|
* src/generic/apt/download_install_manager.cc:
When in download_only mode:
- report download errors;
- post_dpkg save/reload cycle (fix for #429388) is not needed;
- ignore aptitude::Forget-New-On-Install;
- avoid dpkg and a potential infinite loop;
- do not run {Pre,Post}-Invoke scripts.
Closes: #629266
|
|
Left over from commit 6dcafe7716dc7974576d3e83d3b9fa740ab215d2.
|
|
|
|
|
|
|
|
|
|
Previously non-regex terms had to use a grouping policy such as:
pattern(~ramd64 => amd64)
to specify the title. This change permits some terms to define
the title, and using shorter grouping policies like:
pattern(~ramd64)
pattern(~r)
* src/generic/apt/matching/match.{cc,h}:
- support non-regex terms generating titles;
|
|
|
|
|
|
|
|
|
|
* configure.ac:
- check for MultiArch support in APT (requires at least 0.8);
* src/generic/apt/apt.cc:
- support libapt-pkg 0.8.16 in multiarch_type;
* src/generic/apt/matching/match.cc:
- tweak multiarch;
|
|
|
|
* configure.ac:
- avoid most library and header checks if --disable-aptitude;
- GTK+ frontend is disabled by default;
- enabling GTK+ or Qt is an error if libraries missing;
|
|
|
|
|
|
Closes: #651748
|
|
|
|
|
|
A search pattern with no explicit term, "s", is equivalent to
"?name(s)". This changes modifies these semantics when the
pattern is arch-qualified, "name:arch" which is now equivalent
to "?exact-name(name) ?architecture(arch)".
These are the semantics used by apt-get and others which are
internally derived from pkgCache::FindPkg("name:arch").
On the command-line, it is possible to specify both an architecture
and an archive/version, as well as an override specifier:
# aptitude install an:armel/sid tf:armel-
* src/generic/apt/matching/parse.cc:
- extended semantics as per above.
* src/cmdline/cmdline_versions.cc:
- modify argument processing to use the extended semantics.
|
|
|
|
Architecture is not a property of the dependency, it is the particular
packages which determine whether they can satisfy a given dependency.
The old view:
--\ Depends (1)
--\ libc6:armel (>= 2.4) (UNSATISFIED)
p 2.13-27
--\ PreDepends (1)
--\ multiarch-support:armel
i multiarch-support 2.13-27
p 2.13-27
The new view is much clearer and does not mislead about the dependency
requirements:
--\ Depends (1)
--\ libc6 (>= 2.4) (UNSATISFIED)
p libc6:armel 2.13-27
--\ PreDepends (1)
--\ multiarch-support
i multiarch-support 2.13-27
p multiarch-support:armel 2.13-27
|
|
* src/generic/apt/apt.{cc,h}:
- new functions is_native_arch, is_foreign_arch.
* src/generic/apt/matching/*:
* doc/en/aptitude.xml:
- support 'native' and 'foreign' as arguments to ?architecture.
|
|
~V was not recognizing the special values CURRENT, CANDIDATE, TARGET.
* src/generic/apt/matching/parse.cc:
- move choice of ?version implementation to separate function and
use that function when parsing the short form ~V.
|
|
|
|
|
|
|
|
|
|
to 14…"
This is mainly for commit "a303dcaceacdc6299b9f23cc2375b9e403d20da0"
which was ineffective.
* src/pkg_columnizer.cc:
- really change default width of version columns to 14.
* doc/en/aptitude.xml:
- document changes to default widths of version columns.
* po/{dz,nb}.po:
- clear bad msgstr at src/pkg_columnizer.cc:86.
* po/ru.po:
- default width of 'downloadsize' column: 25 -> 19.
|
|
Recent commit using pkg_name_lt was an oversight.
There are a couple of places that use the 3-way compare of sort
policies, ideally they should be eliminated in favour of a straight
less-than. This would permit further with performance benefits, such
as eliminating the pkg_sortpolicy_wrapper.
|
|
|
|
|
|
* src/generic/apt/apt.h:
- consider arch in pkg_name_lt and use this in ver_name_lt.
* src/pkg_sortpolicy.cc:
- use pkg_name_lt instead of duplicated code.
|
|
This reverts commit fd28ea8c2af0786d3a426d06ea3527aa48de96ac.
That was a bit too hackish and subject to security issues. Much
more work is needed to address the issue, and probably should
be implemented within APT.
|
|
* doc/en/manpage.xml:
- quote the full command line for clearing a forbidden version;
- remove the reference to '--schedule-only' which would still try to
install the package next time;
|
|
|
|
Usually we use APT to call dpkg, which handles all sorts of nice
option parsing. However, if an install run fails then we to call
'dpkg --configure -a' ourselves to see if this fixes the problem.
APT passes various options to dpkg, so we should also.
* src/generic/apt/download_install_manager.cc:
- pass DPkg::Options when invoking dpkg. LP: #257279
LP: #257279
|