]>
git.saurik.com Git - apt.git/log
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
David Kalnischkies [Thu, 24 Feb 2011 11:24:51 +0000 (12:24 +0100)]
* ftparchive/contents.cc:
- remove ExtractArchive codecopy from apt-inst/deb/debfile.cc
David Kalnischkies [Tue, 22 Feb 2011 17:31:59 +0000 (18:31 +0100)]
test the xz compressor, too
David Kalnischkies [Tue, 22 Feb 2011 17:17:44 +0000 (18:17 +0100)]
* apt-pkg/deb/debsrcrecords.cc:
- support xz-compressed source v3 debian.tar files
David Kalnischkies [Tue, 22 Feb 2011 17:13:20 +0000 (18:13 +0100)]
* apt-pkg/deb/debsrcrecords.cc:
- support xz-compressed source v3 debian.tar files
David Kalnischkies [Tue, 22 Feb 2011 17:11:10 +0000 (18:11 +0100)]
* apt-pkg/aptconfiguration.cc:
- support download of xz-compressed indexes files
David Kalnischkies [Tue, 22 Feb 2011 14:05:01 +0000 (15:05 +0100)]
* ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:
- support xz compressor to create xz-compressed Indexes and be able
to open data.tar.xz files
* ftparchive/writer.cc:
- include xz-compressed Packages and Sources files in Release file
David Kalnischkies [Tue, 22 Feb 2011 13:52:10 +0000 (14:52 +0100)]
* ftparchive/writer.cc:
- include xz-compressed Packages and Sources files in Release file
David Kalnischkies [Tue, 22 Feb 2011 13:49:16 +0000 (14:49 +0100)]
add options to disable specific checksums for Indexes
David Kalnischkies [Tue, 22 Feb 2011 12:24:40 +0000 (13:24 +0100)]
* ftparchive/writer.cc:
- ensure that Date and Valid-Until time strings are not localised
David Kalnischkies [Tue, 22 Feb 2011 11:50:47 +0000 (12:50 +0100)]
* ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:
- support xz compressor to create xz-compressed Indexes and be able
to open data.tar.xz files
David Kalnischkies [Tue, 22 Feb 2011 10:26:47 +0000 (11:26 +0100)]
* apt-pkg/contrib/fileutl.cc:
- reorder the loaded filesize bytes for big endian (Closes: #612986)
Thanks to Jörg Sommer for the detailed analyse!
Christian Perrier [Tue, 22 Feb 2011 10:21:18 +0000 (11:21 +0100)]
Fix error in French translation of manpages (apt_preferences(5)).
Merci, Rémi Vanicat. Closes: #613689
David Kalnischkies [Tue, 22 Feb 2011 10:16:47 +0000 (11:16 +0100)]
fix the pointer to the VCS-Bzr
Michael Vogt [Mon, 21 Feb 2011 08:32:05 +0000 (09:32 +0100)]
doc/examples/configure-index: remove no longer used option NoConfigure
bubulle@debian.org [Fri, 18 Feb 2011 04:55:23 +0000 (05:55 +0100)]
* Fix error in French translation of manpages (apt_preferences(5)).
Merci, Rémi Vanicat. Closes: #613689
* Complete French manpage translation
Michael Vogt [Thu, 17 Feb 2011 18:16:56 +0000 (19:16 +0100)]
debian/control: remove Luca Bruno from the maintainers (on his own request)
Michael Vogt [Thu, 17 Feb 2011 17:31:03 +0000 (18:31 +0100)]
releasing version 0.8.11.5
Michael Vogt [Thu, 17 Feb 2011 17:20:23 +0000 (18:20 +0100)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Thu, 17 Feb 2011 14:23:50 +0000 (15:23 +0100)]
* apt-pkg/depcache.cc:
- party revert fix in 0.8.11.2 which marked all packages as manual
installed if the FromUser bit is set in the MarkInstall call.
The default for this bit is true and aptitude depends on the old
behavior so the package is only marked as manual if its not marked
("old" behavior) or if automatic installation is enabled - which
aptitude disables always (see also #613775)
bubulle@debian.org [Wed, 16 Feb 2011 18:57:31 +0000 (19:57 +0100)]
Refresh PO files
bubulle@debian.org [Wed, 16 Feb 2011 18:55:28 +0000 (19:55 +0100)]
* Add missing dot in French translation of manpages. Merci, Olivier
Humbert.
* French translation update
* French manpages translation update
Michael Vogt [Wed, 16 Feb 2011 14:04:02 +0000 (15:04 +0100)]
releasing version 0.8.11.4