]>
git.saurik.com Git - apt.git/log
David Kalnischkies [Mon, 2 May 2011 11:22:14 +0000 (13:22 +0200)]
handle Dir::Bin::Solvers as a list of directories and find the
solver in this list of directories
David Kalnischkies [Mon, 2 May 2011 10:23:13 +0000 (12:23 +0200)]
reduce the buffer size so we get a sort of realtime progress report
and print the time of output at the front of the progress report
so we can see the delay
David Kalnischkies [Mon, 2 May 2011 09:52:28 +0000 (11:52 +0200)]
move the mapping generation to the top as the response reading is
currently waiting for the solver to complete and not non-blocking
so we can generate the map while waiting for the solver
David Kalnischkies [Mon, 2 May 2011 09:51:44 +0000 (11:51 +0200)]
implement optional Progress report in EDSP
David Kalnischkies [Mon, 2 May 2011 08:41:38 +0000 (10:41 +0200)]
merge single-arch :arch fix from my sid branch
David Kalnischkies [Thu, 28 Apr 2011 23:20:44 +0000 (01:20 +0200)]
Location header in redirects should be absolute URI, but some
servers just send an absolute path so still deal with it properly
Julian Andres Klode [Wed, 27 Apr 2011 12:52:49 +0000 (14:52 +0200)]
* debian/control:
- Move ${shlibs:Depends} to Pre-Depends, as we do not want APT
unpacked if a library is too old and thus break upgrades
David Kalnischkies [Wed, 27 Apr 2011 12:38:48 +0000 (14:38 +0200)]
support lighttpd as test webserver but still prefer weborf
David Kalnischkies [Wed, 27 Apr 2011 08:32:53 +0000 (10:32 +0200)]
* methods/http.cc:
- add config option to ignore a closed stdin to be able to easily
use the method as a simple standalone downloader
Ben Finney [Tue, 26 Apr 2011 20:45:31 +0000 (22:45 +0200)]
* apt-pkg/acquire-item.cc:
- apply fix for poorly worded 'locate file' error message from
Ben Finney, thanks! (Closes: #623171)
David Kalnischkies [Tue, 26 Apr 2011 20:37:46 +0000 (22:37 +0200)]
* apt-pkg/acquire-worker.cc:
- print filename in the unmatching size warning (Closes: #623137)
David Kalnischkies [Tue, 26 Apr 2011 17:30:21 +0000 (19:30 +0200)]
* test/versions.lst:
- disable obscure version number tests with versions dpkg doesn't
allow any more as they don't start with a number
David Kalnischkies [Tue, 26 Apr 2011 17:15:29 +0000 (19:15 +0200)]
* apt-pkg/deb/debmetaindex.cc:
- do not download TranslationIndex if no Translation-* will be
downloaded later on anyway (Closes: #624218)
Chris Leick [Tue, 26 Apr 2011 15:43:15 +0000 (17:43 +0200)]
* doc/po/de.po:
- undo the translation of the command 'dump' in manpage of apt-config
as report by Burghard Grossmann on debian-l10n-german, thanks!
David Kalnischkies [Tue, 26 Apr 2011 15:29:54 +0000 (17:29 +0200)]
provide a 'dpkg --set-selections' wrapper to set/release holds
David Kalnischkies [Mon, 25 Apr 2011 13:59:45 +0000 (15:59 +0200)]
add scenario command to output a complete or limited scenario
David Kalnischkies [Mon, 25 Apr 2011 13:59:19 +0000 (15:59 +0200)]
reorganize WriteScenario to add a WriteLimitedScenario in which a scenario
can be limited to a subset of packages with only relevant dependencies
David Kalnischkies [Mon, 25 Apr 2011 11:51:53 +0000 (13:51 +0200)]
* apt-pkg/pkgcache.cc:
- really ignore :arch in FindPkg() in non-multiarch environment
David Kalnischkies [Thu, 21 Apr 2011 16:58:07 +0000 (18:58 +0200)]
update the apt-mark manpage
David Kalnischkies [Thu, 21 Apr 2011 16:56:40 +0000 (18:56 +0200)]
add a close entry as a showmanual is provided by apt-mark now
David Kalnischkies [Thu, 21 Apr 2011 15:00:37 +0000 (17:00 +0200)]
* cmdline/apt-get.cc:
- deprecate mostly undocumented 'markauto' in favor of 'apt-mark'
* cmdline/apt-cache.cc:
- deprecate mostly undocumented 'showauto' in favor of 'apt-mark'
David Kalnischkies [Thu, 21 Apr 2011 14:46:28 +0000 (16:46 +0200)]
* cmdline/apt-mark.cc:
- reimplement apt-mark in c++
David Kalnischkies [Thu, 21 Apr 2011 14:41:07 +0000 (16:41 +0200)]
remove not existing packages left over from the testcase
David Kalnischkies [Thu, 21 Apr 2011 14:38:06 +0000 (16:38 +0200)]
simplify the code for wildcard pinning a bit
Julian Andres Klode [Thu, 21 Apr 2011 10:18:05 +0000 (12:18 +0200)]
Make purge work again for config-files (LP: #244598) (Closes: #150831)
Julian Andres Klode [Thu, 21 Apr 2011 09:25:52 +0000 (11:25 +0200)]
doc/apt-key.8.xml: Document apt-key net-update (LP: #192810)
Julian Andres Klode [Thu, 21 Apr 2011 07:53:37 +0000 (09:53 +0200)]
debian/apt.cron.daily: Check power after wait, patch by manuel-soto (LP: #705269)
David Kalnischkies [Wed, 20 Apr 2011 14:02:44 +0000 (16:02 +0200)]
merge with debian-sid branch and 0.8.14.1 release
* apt-pkg/depcache.cc:
- Really release action groups only once (Closes: #622744)
* apt-pkg/acquire-item.cc:
- Only try to rename existing Release files (Closes: #622912)
David Kalnischkies [Tue, 19 Apr 2011 18:58:14 +0000 (20:58 +0200)]
* debian/rules:
- remove unused embedded jquery by doxygen from libapt-pkg-doc
David Kalnischkies [Tue, 19 Apr 2011 17:35:59 +0000 (19:35 +0200)]
* debian/apt.lintian-overrides:
- update the missing-python-dep override to the lintian 2.5 way
David Kalnischkies [Tue, 19 Apr 2011 17:28:34 +0000 (19:28 +0200)]
* debian/apt{,-utils}.symbols:
- update both experimental symbol-files to reflect 0.8.14 state
David Kalnischkies [Tue, 19 Apr 2011 13:26:21 +0000 (15:26 +0200)]
use the version id instead of the mmap offset as APT-ID
This leads to a small performance decrease as we need to build this
mapping now while interpreting the Response but a (buggy) solver can't
point us to dangerous memory locations anymore this way and VersionCount
remains useful for other mapping proposes
David Kalnischkies [Tue, 19 Apr 2011 09:52:47 +0000 (11:52 +0200)]
set hint flags for the problem resolver according to request
David Kalnischkies [Tue, 19 Apr 2011 09:51:47 +0000 (11:51 +0200)]
Interpret Remove and Install lines in Responses correctly
Julian Andres Klode [Mon, 18 Apr 2011 08:56:37 +0000 (10:56 +0200)]
apt-pkg/depcache.cc: Really release action groups only once (Closes: #622744)
David Kalnischkies [Sat, 16 Apr 2011 16:55:53 +0000 (18:55 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- replace obsolete usleep with nanosleep
David Kalnischkies [Sat, 16 Apr 2011 16:11:47 +0000 (18:11 +0200)]
cppcheck: (style) Variable 'State' is assigned a value that is never used
David Kalnischkies [Sat, 16 Apr 2011 16:07:52 +0000 (18:07 +0200)]
* apt-pkg/orderlist.cc:
- let VisitRProvides report if the calls were successful
David Kalnischkies [Sat, 16 Apr 2011 14:56:39 +0000 (16:56 +0200)]
remove the extra unnecessary qualification cppcheck complains about
David Kalnischkies [Sat, 16 Apr 2011 14:50:37 +0000 (16:50 +0200)]
* apt-pkg/acquire-method.cc:
- write directly to stdout instead of creating the message in
memory first before writing to avoid hitting limits
Julian Andres Klode [Sat, 16 Apr 2011 12:36:18 +0000 (14:36 +0200)]
Release 0.8.14.1
Julian Andres Klode [Sat, 16 Apr 2011 09:02:47 +0000 (11:02 +0200)]
apt-pkg/acquire-item.cc: Only try to rename existing Release files (Closes: #622912)
David Kalnischkies [Fri, 15 Apr 2011 23:10:09 +0000 (01:10 +0200)]
fix a bunch of cppcheck warnings/errors based on a patch by
Niels Thykier, thanks! (Closes: #622805)
David Kalnischkies [Fri, 15 Apr 2011 22:06:34 +0000 (00:06 +0200)]
* apt-pkg/depcache.cc:
- really include 'rc' packages in the delete count by fixing a
typo which exists since 1999 in the source… (LP: #761175)
David Kalnischkies [Fri, 15 Apr 2011 20:05:34 +0000 (22:05 +0200)]
add sbin directories to PATH to avoid dpkg warnings
David Kalnischkies [Fri, 15 Apr 2011 20:04:48 +0000 (22:04 +0200)]
be able to set priorities for created test packages
Julian Andres Klode [Fri, 15 Apr 2011 12:28:28 +0000 (14:28 +0200)]
Release 0.8.14
Julian Andres Klode [Fri, 15 Apr 2011 12:28:11 +0000 (14:28 +0200)]
* debian/control:
- Set Standards-Version to 3.9.2
Julian Andres Klode [Fri, 15 Apr 2011 12:25:43 +0000 (14:25 +0200)]
Merge from DonKult
Julian Andres Klode [Fri, 15 Apr 2011 10:59:55 +0000 (12:59 +0200)]
Last commit Closes: #121132, LP: #399474
Julian Andres Klode [Fri, 15 Apr 2011 10:57:45 +0000 (12:57 +0200)]
Close LP: #399474
Julian Andres Klode [Fri, 15 Apr 2011 10:52:45 +0000 (12:52 +0200)]
* apt-pkg/policy.cc:
- Allow pinning by glob() expressions, and regular expressions
surrounded by slashes (the "/" character).
Julian Andres Klode [Thu, 14 Apr 2011 10:28:00 +0000 (12:28 +0200)]
* apt-pkg/deb/deblistparser.cc:
- Handle no space before "[" in build-dependencies (LP: #72344)
Julian Andres Klode [Wed, 13 Apr 2011 09:33:41 +0000 (11:33 +0200)]
* cmdline/apt-get.cc:
- Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
Michael Vogt [Fri, 8 Apr 2011 12:36:08 +0000 (14:36 +0200)]
merged from the mvo branch
Julian Andres Klode [Fri, 8 Apr 2011 11:57:04 +0000 (13:57 +0200)]
* apt-pkg/acquire-item.cc:
- Use Release files even if they cannot be verified (LP: #704595)
Julian Andres Klode [Thu, 7 Apr 2011 09:52:23 +0000 (11:52 +0200)]
* apt-pkg/indexcopy.cc:
- Use RealFileExists() instead of FileExists(), allows amongst other
things a directory named Sources to exist on a CD-ROM (LP: #750694).
Michael Vogt [Thu, 7 Apr 2011 09:03:40 +0000 (11:03 +0200)]
* debian/apt.cron.daily:
- run unattended-upgrades even if there was a error during
the apt-get update (LP: #676295)
David Kalnischkies [Wed, 6 Apr 2011 14:47:58 +0000 (16:47 +0200)]
* apt-pkg/pkgcache.cc:
- use the native Architecture stored in the cache header instead of
loading it from configuration as suggested by Julian Andres Klode
David Kalnischkies [Wed, 6 Apr 2011 11:27:52 +0000 (13:27 +0200)]
document the pkg:any specialcasing in FindPkg as well to make it clear
that it is a needed "hack" to support multi-arch in the least breaking way
Michael Vogt [Tue, 5 Apr 2011 10:06:10 +0000 (12:06 +0200)]
* apt-pkg/aptconfiguration.cc:
- fix comparing for a empty string
Michael Vogt [Tue, 5 Apr 2011 09:58:09 +0000 (11:58 +0200)]
merged from debian-sid
Michael Vogt [Tue, 5 Apr 2011 08:17:07 +0000 (10:17 +0200)]
releasing version 0.8.13.2
Michael Vogt [Mon, 4 Apr 2011 14:49:21 +0000 (16:49 +0200)]
merged from lp:~donkult/apt/sid
Stefano Zacchiroli [Mon, 4 Apr 2011 13:20:13 +0000 (15:20 +0200)]
add Dir::Bin::Solvers to enable customization of solver directory
EDSP version 0.4
Michael Vogt [Mon, 4 Apr 2011 12:11:40 +0000 (14:11 +0200)]
merged from debian-sid
Stefano Zacchiroli [Mon, 4 Apr 2011 09:58:56 +0000 (11:58 +0200)]
merge documentation of the EDSP protocol
Stefano Zacchiroli [Mon, 4 Apr 2011 09:57:04 +0000 (11:57 +0200)]
install EDSP protocol description in apt-doc
Stefano Zacchiroli [Mon, 4 Apr 2011 09:54:54 +0000 (11:54 +0200)]
edsp: rename and drop very-draft warnings
Julian Andres Klode [Sat, 2 Apr 2011 19:00:45 +0000 (21:00 +0200)]
apt-pkg/acquire-item.cc: Use stat buffer if stat was
successful, not if it failed (Closes: #620546)
David Kalnischkies [Sat, 2 Apr 2011 15:59:10 +0000 (17:59 +0200)]
let TimeRFC1123 return an empty string if gmtime() fails
David Kalnischkies [Sat, 2 Apr 2011 15:42:01 +0000 (17:42 +0200)]
impossible to be too long but just to be sure use snprintf
David Kalnischkies [Sat, 2 Apr 2011 13:54:39 +0000 (15:54 +0200)]
disable automatical installation of dependencies in MarkInstall if we
will not use the default internal resolver later on
David Kalnischkies [Sat, 2 Apr 2011 13:51:37 +0000 (15:51 +0200)]
disable the error discarding as it destroyes the error reporting about
failures with external solvers for now as long as i can't see a reason for it
David Kalnischkies [Sat, 2 Apr 2011 13:47:14 +0000 (15:47 +0200)]
send the scenario through a pipe to the solver and get the solution back
The solution is NOT interpreted so far.
David Kalnischkies [Fri, 1 Apr 2011 14:14:24 +0000 (16:14 +0200)]
add a small wrapper to use the internal apt solver as an external one
David Kalnischkies [Fri, 1 Apr 2011 11:21:38 +0000 (13:21 +0200)]
parse also the action flags Upgrade, Dist-Upgrade and alike from the request
David Kalnischkies [Fri, 1 Apr 2011 10:04:13 +0000 (12:04 +0200)]
Read and apply install/remove requests correctly
David Kalnischkies [Thu, 31 Mar 2011 13:32:55 +0000 (15:32 +0200)]
WriteRequest according to current EDSP draft
David Kalnischkies [Thu, 31 Mar 2011 13:10:13 +0000 (15:10 +0200)]
rename edspwriter to straight edsp in toplevel as it does more than
just writing stuff… it also reads and can work for both:
- APT talking to an external solver
- an external solver (understanding EDSP) talking to APT
David Kalnischkies [Thu, 31 Mar 2011 12:56:10 +0000 (14:56 +0200)]
add the methods we will need to write to make working with EDSP possible
David Kalnischkies [Thu, 31 Mar 2011 12:50:34 +0000 (14:50 +0200)]
strip the Dir::state from the config name as it will never be there
David Kalnischkies [Thu, 31 Mar 2011 10:17:39 +0000 (12:17 +0200)]
parse the state of the package from the scenario file correctly
David Kalnischkies [Thu, 31 Mar 2011 09:58:24 +0000 (11:58 +0200)]
rename the 'universe' to 'scenario' to reflect the naming in the draft
Stefano Zacchiroli [Thu, 31 Mar 2011 09:49:34 +0000 (11:49 +0200)]
add indicative Autoremove stanzas in solutions
as suggested by David
EDSP version 0.3
David Kalnischkies [Thu, 31 Mar 2011 09:47:01 +0000 (11:47 +0200)]
add a special scenario filename for using stdin
Stefano Zacchiroli [Wed, 30 Mar 2011 20:28:23 +0000 (22:28 +0200)]
second draft, addressing David and Michael comments
EDSP version 0.2
David Kalnischkies [Wed, 30 Mar 2011 20:15:40 +0000 (22:15 +0200)]
be able to write solutions, too
David Kalnischkies [Wed, 30 Mar 2011 15:23:43 +0000 (17:23 +0200)]
add a first round of stuff needed for talking between APT and solvers
based on a very early draft for EDSP by Stefano
APT can now write a scenario as well as load most stuff from it.
Stefano Zacchiroli [Wed, 30 Mar 2011 14:30:55 +0000 (16:30 +0200)]
solver protocol (EDSP): first draft
version 0.1
David Kalnischkies [Tue, 29 Mar 2011 11:13:25 +0000 (13:13 +0200)]
be able to disable resolver with APT::Get::CallResolver and disable
auto installation with APT::Get::AutoSolving
David Kalnischkies [Mon, 28 Mar 2011 12:10:49 +0000 (14:10 +0200)]
be able to disable resolver with APT::Get::AutoSolving
David Kalnischkies [Mon, 28 Mar 2011 10:29:38 +0000 (12:29 +0200)]
* apt-pkg/deb/deblistparser.cc:
- create foo:any provides for all architectures for an allowed package
David Kalnischkies [Sat, 26 Mar 2011 11:53:51 +0000 (12:53 +0100)]
* cmdline/apt-get.cc:
- do not show simulation notice for non-root commands (Closes: #619072)
David Kalnischkies [Sat, 26 Mar 2011 11:41:51 +0000 (12:41 +0100)]
do not change protected packages in autoinstall (Closes: #618848)
David Kalnischkies [Sat, 26 Mar 2011 00:31:32 +0000 (01:31 +0100)]
* apt-pkg/aptconfiguration.cc:
- use dpkg --print-foreign-architectures to get multiarch configuration
if non is specified with APT::Architectures (Closes: #612958)
David Kalnischkies [Fri, 25 Mar 2011 21:12:29 +0000 (22:12 +0100)]
* apt-pkg/cacheiterator.h:
- return "all" instead of native architecture without breaking the abi
(too much) by extending enum instead of using bitflags (LP: #733741)
With the next abi break that enum should be a char bitflag instead
David Kalnischkies [Fri, 25 Mar 2011 19:17:32 +0000 (20:17 +0100)]
* apt-pkg/pkgcachegen.cc:
- make "all"->"native" an implementation detail of NewPackage
rather than rewrite it in higher methods
David Kalnischkies [Fri, 25 Mar 2011 19:06:40 +0000 (20:06 +0100)]
* apt-pkg/depcache.cc:
- remove pseudo handling leftover from SetReInstall
Michael Vogt [Thu, 24 Mar 2011 17:01:25 +0000 (18:01 +0100)]
methods/mirror.cc: raise error if the mirror file can not be read