]>
git.saurik.com Git - apt.git/log
David Kalnischkies [Tue, 10 May 2011 10:18:08 +0000 (12:18 +0200)]
fix SubProgress to accept a Percent parameter to update the Current
with the text as otherwise the update will be ignored
David Kalnischkies [Mon, 9 May 2011 19:55:32 +0000 (21:55 +0200)]
fix package building so 'dump' is a binary not a directory
David Kalnischkies [Mon, 9 May 2011 16:00:28 +0000 (18:00 +0200)]
implement proper progress report with OpProgress
David Kalnischkies [Sat, 7 May 2011 13:49:51 +0000 (15:49 +0200)]
implement correct error reporting
David Kalnischkies [Fri, 6 May 2011 09:53:54 +0000 (11:53 +0200)]
undo the temporary progress reporting disabling which slipped into last commit
David Kalnischkies [Tue, 3 May 2011 17:59:45 +0000 (19:59 +0200)]
fix arguments for MarkInstall so packages are really marked as automatic
David Kalnischkies [Tue, 3 May 2011 15:27:11 +0000 (17:27 +0200)]
add a tiny dump solver to quickly output a scenario
David Kalnischkies [Tue, 3 May 2011 14:45:01 +0000 (16:45 +0200)]
maybe Pre-Depends are checked if they write them as Pre-Depends and
not as PreDepends (doh!) …
David Kalnischkies [Tue, 3 May 2011 12:17:29 +0000 (14:17 +0200)]
add a --solver option to apt-get
David Kalnischkies [Tue, 3 May 2011 12:15:52 +0000 (14:15 +0200)]
ship the apt-internal-solver in apt-utils package and link it to
/usr/lib/apt/solvers so we have it available for playing as 'apt'
David Kalnischkies [Tue, 3 May 2011 12:05:13 +0000 (14:05 +0200)]
add a fair round of doxygen comments to the edsp header
David Kalnischkies [Tue, 3 May 2011 08:51:55 +0000 (10:51 +0200)]
tell the resolver a package is set on hold if it was set by the user
to Keep which happens for example if a user decides to "remove" a not
installed package to forbid that it's part of the solution
David Kalnischkies [Tue, 3 May 2011 08:50:25 +0000 (10:50 +0200)]
implement external solver calling for upgrade and dist-upgrade, too
David Kalnischkies [Tue, 3 May 2011 08:38:49 +0000 (10:38 +0200)]
work on requests with the correct upgrade/dist-upgrade/else resolver
David Kalnischkies [Mon, 2 May 2011 16:08:13 +0000 (18:08 +0200)]
parse correctly the Hold: lines into Pkg->SelectedState = Hold
David Kalnischkies [Mon, 2 May 2011 15:06:47 +0000 (17:06 +0200)]
doesn't execute autoremove marker setting if an external solver is called
and instead rely on the Autoremove tagging to show us what could be done.
(apt-internal-solver doesn't support this currently as it doesn't load
the auto-information into the cache)
David Kalnischkies [Mon, 2 May 2011 11:55:51 +0000 (13:55 +0200)]
refactor: move solver execution into his own EDSP method
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 [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 [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
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
David Kalnischkies [Thu, 31 Mar 2011 09:47:01 +0000 (11:47 +0200)]
add a special scenario filename for using stdin
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.
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
David Kalnischkies [Wed, 23 Mar 2011 01:21:58 +0000 (02:21 +0100)]
document ButAutomaticUpgrades together with NotAutomatic
as suggested by Charles Plessy (Closes: #619083)
David Kalnischkies [Wed, 23 Mar 2011 01:09:14 +0000 (02:09 +0100)]
* doc/apt_preferences.5.xml:
- correct typo spotted by Charles Plessy (Closes: #619088)
David Kalnischkies [Wed, 23 Mar 2011 01:06:28 +0000 (02:06 +0100)]
* debian/apt.conf.autoremove:
- adapt to new gnumach kernel package naming (Closes: #619337)
David Kalnischkies [Wed, 23 Mar 2011 00:54:52 +0000 (01:54 +0100)]
* apt-pkg/deb/deblistparser.h:
- enable StripMultiArch by default for ParseDepends
David Kalnischkies [Wed, 23 Mar 2011 00:50:32 +0000 (01:50 +0100)]
add a method to insert packages into dpkg's status file
David Kalnischkies [Sun, 20 Mar 2011 18:52:53 +0000 (19:52 +0100)]
reorganize the marker methods a bit by moving the common part to a
seperate IsModeChangeOk which checks sanity and dpkg holds
David Kalnischkies [Wed, 16 Mar 2011 20:26:54 +0000 (21:26 +0100)]
* apt-pkg/vendor.cc, apt-pkg/vendorlist.cc:
- mark them as deprecated as they are unused
David Kalnischkies [Wed, 16 Mar 2011 17:39:11 +0000 (18:39 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- skip --configure if all packages disappeared
David Kalnischkies [Wed, 16 Mar 2011 17:18:32 +0000 (18:18 +0100)]
enable buildsimplenativepackage to build packages for multiple
architectures in a row as it is needed for Multi-Arch:same that
the shared files are the same
Michael Vogt [Wed, 16 Mar 2011 07:22:04 +0000 (08:22 +0100)]
releasing version 0.8.13
Michael Vogt [Tue, 15 Mar 2011 08:19:23 +0000 (09:19 +0100)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Tue, 15 Mar 2011 08:07:02 +0000 (09:07 +0100)]
apt-pkg/acquire-method.cc: fix copy/paste error
Michael Vogt [Mon, 14 Mar 2011 17:03:14 +0000 (18:03 +0100)]
methods/mirror.cc: randomize only based on hostname
Michael Vogt [Mon, 14 Mar 2011 15:40:29 +0000 (16:40 +0100)]
methods/mirror.cc: init random seed at startup
Michael Vogt [Mon, 14 Mar 2011 15:27:24 +0000 (16:27 +0100)]
apt-pkg/acquire-item.cc: add some more missing Fail-Ignore
Michael Vogt [Mon, 14 Mar 2011 14:44:08 +0000 (15:44 +0100)]
randomize mirror list to ensure more even load
Michael Vogt [Mon, 14 Mar 2011 14:08:52 +0000 (15:08 +0100)]
apt-pkg/acquire-item.{cc,h}: mark InRelease with Fail-Ignore to ensure the mirror methods does not retry on each mirror
Michael Vogt [Mon, 14 Mar 2011 12:17:25 +0000 (13:17 +0100)]
debian/changelog: mark UNRELEASED
Michael Vogt [Mon, 14 Mar 2011 12:14:05 +0000 (13:14 +0100)]
* po/sl.po:
- updated, thanks to Andrej Znidarsic
Michael Vogt [Mon, 14 Mar 2011 10:34:32 +0000 (11:34 +0100)]
* mirror method:
- when downloading data, show the mirror being used
Michael Vogt [Fri, 11 Mar 2011 12:57:52 +0000 (13:57 +0100)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Fri, 11 Mar 2011 12:53:50 +0000 (13:53 +0100)]
methods/mirror.cc: improve debug output and fix selecting the next mirror
Michael Vogt [Fri, 11 Mar 2011 10:24:49 +0000 (11:24 +0100)]
* apt-pkg/acquire-item.cc:
- mark pkgAcqIndexTrans as Index-File to avoid asking the
user to insert the CD on each apt-get update
Michael Vogt [Fri, 11 Mar 2011 09:59:01 +0000 (10:59 +0100)]
rename debian/apt.cron.daily back for now until the conffile is properly copyied
Michael Vogt [Thu, 10 Mar 2011 14:57:50 +0000 (15:57 +0100)]
* debian/zzapt.cron.daily:
- move cron job to the end of execution (LP: #727685)
* methods/rsh.cc
- fix rsh/ssh option parsing (LP: #678080), thanks to
Ville Mattila
Michael Vogt [Thu, 10 Mar 2011 14:45:47 +0000 (15:45 +0100)]
merged from debian-sid
Michael Vogt [Thu, 10 Mar 2011 14:39:08 +0000 (15:39 +0100)]
releasing version 0.8.12
Michael Vogt [Thu, 10 Mar 2011 13:42:34 +0000 (14:42 +0100)]
apt-pkg/cdrom.{cc,h}: add (ugly) workaround to ensure the ABI is not broken (also in this case its probably not needed because pkgUDevCDrom is not used outside libapt itself, still its better to be on the save side)
Michael Vogt [Thu, 10 Mar 2011 10:39:54 +0000 (11:39 +0100)]
doc/po/fr.po: fix typo
Michael Vogt [Thu, 10 Mar 2011 10:31:34 +0000 (11:31 +0100)]
merged the lp:~mvo/apt/mvo branch
Michael Vogt [Thu, 10 Mar 2011 10:13:44 +0000 (11:13 +0100)]
* apt-pkg/contrib/cdromutl.{cc,h}, apt-pkg/cdrom.{cc,h}:
- deal with missing FSTAB_DIR when using libudev to discover cdrom
- add experimental APT::cdrom::CdromOnly option (on by default).
When this is set to false apt-cdrom will handle any removable
deivce (like a usb-stick) as a "cdrom/dvd" source
Michael Vogt [Thu, 10 Mar 2011 09:43:39 +0000 (10:43 +0100)]
merged from donkult
Michael Vogt [Wed, 9 Mar 2011 11:15:13 +0000 (12:15 +0100)]
apt-pkg/contrib/cdromutl.{cc,h}: return string for mountpath; apt-pkg/cdrom.cc: use string
Michael Vogt [Wed, 9 Mar 2011 10:31:08 +0000 (11:31 +0100)]
apt-pkg/cdrom.{cc,h}: add ScanForRemovable helper
Michael Vogt [Wed, 9 Mar 2011 10:20:05 +0000 (11:20 +0100)]
apt-pkg/cdrom.h: move new member to the end to minimize ABI risk
David Kalnischkies [Tue, 8 Mar 2011 18:32:35 +0000 (19:32 +0100)]
Remove the "pseudopackage" handling of Architecture: all packages for
Multi-Arch; instead, Arch: all packages only satisfy dependencies for
the native arch, except where the Arch: all package is declared
Multi-Arch: foreign. (Closes: #613584)
This has the sideeffect that arch:all packages internally show up as
coming from the native arch - so packages with the architecture "all"
doesn't exist any longer in the pkgcache
David Kalnischkies [Mon, 7 Mar 2011 22:06:36 +0000 (23:06 +0100)]
use FullName and strdup instead of handmade and new[]
Steve Langasek [Mon, 7 Mar 2011 21:57:52 +0000 (22:57 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- make sure that for multiarch packages, we are passing the full
qualified package name to dpkg for removals. (Closes: #614298)
David Kalnischkies [Mon, 7 Mar 2011 21:43:37 +0000 (22:43 +0100)]
Italian translation update (Milo Casagrande). Closes: #614395
David Kalnischkies [Mon, 7 Mar 2011 21:19:19 +0000 (22:19 +0100)]
* cmdline/apt-get.cc:
- reinstall dependencies of reinstalled "garbage" (Closes: #617257)
Michael Vogt [Fri, 4 Mar 2011 21:24:09 +0000 (22:24 +0100)]
apt-pkg/contrib/cdromutl.{cc,h}: add FindMountPointForDevice helper; apt-pkg/cdrom.cc: deal with missing FSTAB_DIR
Michael Vogt [Fri, 4 Mar 2011 20:17:00 +0000 (21:17 +0100)]
apt-pkg/cdrom.{cc,h}: add udev_enumerate_add_match_sysattr to the libudev class
Michael Vogt [Thu, 3 Mar 2011 16:09:30 +0000 (17:09 +0100)]
* apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc:
- honor Dpkg::Chroot-Directory in the RunScripts*() methods
David Kalnischkies [Sun, 27 Feb 2011 23:20:35 +0000 (00:20 +0100)]
* apt-inst/deb/debfile.cc:
- support data.tar's compressed with any configured compressor
David Kalnischkies [Sun, 27 Feb 2011 22:31:25 +0000 (23:31 +0100)]
support every compression we have a compressor configured
David Kalnischkies [Sun, 27 Feb 2011 22:01:40 +0000 (23:01 +0100)]
- load the supported compressors from configuration
- support adding new compressors by configuration
David Kalnischkies [Sun, 27 Feb 2011 13:30:50 +0000 (14:30 +0100)]
d'uh! implement and not only declare the string wrapper for FindVector
Michael Vogt [Fri, 25 Feb 2011 11:29:13 +0000 (12:29 +0100)]
* apt-pkg/deb/debindexfile.cc:
- ignore missing deb-src files in /var/lib/apt/lists, thanks
to Thorsten Spindler (LP: #85590)
bubulle@debian.org [Thu, 24 Feb 2011 18:39:12 +0000 (19:39 +0100)]
Italian translation update (Milo Casagrande). Closes: #614395