Julian Andres Klode [Thu, 6 Aug 2009 10:12:20 +0000 (12:12 +0200)]
debian/apt.cron.daily: Make sure that VERBOSE is always set
before accessing it (Closes: #539366)
Julian Andres Klode [Mon, 3 Aug 2009 11:48:29 +0000 (13:48 +0200)]
debian/control: Increase Standards-Version to 3.8.2.0.
Julian Andres Klode [Mon, 3 Aug 2009 11:40:11 +0000 (13:40 +0200)]
debian/changelog: Close the FTBFS on kFreeBSD bug.
Julian Andres Klode [Mon, 3 Aug 2009 11:34:39 +0000 (13:34 +0200)]
Set version to 0.7.22.1.
Julian Andres Klode [Mon, 3 Aug 2009 11:20:07 +0000 (13:20 +0200)]
debian/control: Add myself to Uploaders.
Julian Andres Klode [Mon, 3 Aug 2009 11:02:14 +0000 (13:02 +0200)]
* apt-pkg/sourcelist.cc:
- Only warn about missing sources.list if there is no sources.list.d
and vice versa as only one of them is needed (Closes: #539731).
Julian Andres Klode [Sun, 2 Aug 2009 17:37:05 +0000 (19:37 +0200)]
* apt-pkg/contrib/mmap.cc:
- Fix FTBFS on GNU/kFreeBSD by disabling DynamicMMap::Grow() on
non-Linux architectures (as it uses mremap).
Michael Vogt [Thu, 30 Jul 2009 16:45:46 +0000 (18:45 +0200)]
* cmdline/apt-get.cc:
- honor APT::Get::Only-Source properly in FindSrc() (thanks to
Martin Pitt for reporting the problem)
* Added more error handlings. Closes: #438803, #462734, #454989
Michael Vogt [Thu, 30 Jul 2009 16:14:01 +0000 (18:14 +0200)]
fix extra , at the end of the changelog line
Michael Vogt [Thu, 30 Jul 2009 13:31:39 +0000 (15:31 +0200)]
merged from debian-sid
Michael Vogt [Thu, 30 Jul 2009 13:28:21 +0000 (15:28 +0200)]
* cmdline/apt-get.cc:
- honor APT::Get::Only-Source properly in FindSrc() (thanks to
Martin Pitt for reporting the problem)
Michael Vogt [Wed, 29 Jul 2009 20:12:50 +0000 (22:12 +0200)]
releasing version 0.7.22
Michael Vogt [Tue, 28 Jul 2009 11:27:03 +0000 (13:27 +0200)]
apt-pkg/depcache.cc:
- 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
Michael Vogt [Mon, 27 Jul 2009 07:50:32 +0000 (09:50 +0200)]
merged from donkult
David Kalnischkies [Sat, 25 Jul 2009 23:11:53 +0000 (01:11 +0200)]
merge with lp:apt/debian-sid
Remove a bug (= an evil amok running if) introduced by the merge in 1817
which cause a segfault in the destructor for the dynamic mmap.
Otavio Salvador [Sat, 25 Jul 2009 19:29:49 +0000 (16:29 -0300)]
Apply patch from Sami Liedes <sliedes@cc.hut.fi> to avoid unecessary
temporary allocations.
Otavio Salvador [Sat, 25 Jul 2009 19:00:41 +0000 (16:00 -0300)]
Apply patch from Sami Liedes <sliedes@cc.hut.fi> to reduce the
number of times we call progress bar updating and debugging
configuration settings.
Michael Vogt [Fri, 24 Jul 2009 07:09:59 +0000 (09:09 +0200)]
merge from the donkult branch
David Kalnischkies [Thu, 23 Jul 2009 12:05:41 +0000 (14:05 +0200)]
[apt-pkg] yet another bit of mmap and pkgcachegen housekeeping
* add mmap error message also to the dynamic mmap
* remove some more {Ver,Desc} == 0 checks in for loops
* try to respect the given flags to the dynamic mmap
* open cached caches not as ReadOnly and not as Shared, so we
always have a copy of the cache in the memory we can modify
(e.g. set the hold state on-the-fly)
Michael Vogt [Thu, 23 Jul 2009 08:41:38 +0000 (10:41 +0200)]
[ABI] merged the libudev-dlopen branch, this allows to pass
"apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will
dynamically find/mount the cdrom device (if libhal is available)
Michael Vogt [Thu, 23 Jul 2009 07:47:41 +0000 (09:47 +0200)]
methods/cdrom.cc: add AutoDetectAndMount method
Michael Vogt [Wed, 22 Jul 2009 16:32:08 +0000 (18:32 +0200)]
methods/cdrom.cc: move the scan into the loop that waits for a CD
Michael Vogt [Wed, 22 Jul 2009 16:01:43 +0000 (18:01 +0200)]
* methods/cdrom.cc:
- add Acquire::Cdrom::mount "apt-udev-auto" magic to allow
dynamically finding the cdrom device
* apt-pkg/contrib/cdromutl.{h,cc}:
- support additional (optional) DeviceName parameter for MountCdrom()
Michael Vogt [Wed, 22 Jul 2009 13:59:50 +0000 (15:59 +0200)]
apt-pkg/cdrom.cc: make cdrom.Mounted property reliable
Michael Vogt [Wed, 22 Jul 2009 07:41:27 +0000 (09:41 +0200)]
merged from the mvo branch
Michael Vogt [Wed, 22 Jul 2009 07:40:02 +0000 (09:40 +0200)]
* doc/apt.conf.5.xml:
- merged patch from Aurélien Couderc to improve the text
(thanks!)
bubulle@debian.org [Tue, 21 Jul 2009 21:34:14 +0000 (23:34 +0200)]
French translation yet-another-update
bubulle@debian.org [Tue, 21 Jul 2009 21:25:42 +0000 (23:25 +0200)]
Update all PO files
bubulle@debian.org [Tue, 21 Jul 2009 21:22:29 +0000 (23:22 +0200)]
Slovak translation updated
Michael Vogt [Tue, 21 Jul 2009 18:14:15 +0000 (20:14 +0200)]
merged from donkult
Michael Vogt [Tue, 21 Jul 2009 18:13:29 +0000 (20:13 +0200)]
merged from the mvo branch
David Kalnischkies [Tue, 21 Jul 2009 18:08:56 +0000 (20:08 +0200)]
[apt-pkg/pkgcachegen.cc] remove the Ver == 0 and Desc == 0 from the last
changeset as they are useless after the checks for LastVer & co work
correctly.
Michael Vogt [Tue, 21 Jul 2009 16:31:36 +0000 (18:31 +0200)]
The 'not dead yet' release
* add hook for MarkInstall and MarkDelete (closes: #470035)
* add the various foldmarkers in apt-pkg & cmdline (no code change)
* versions with a pin of -1 shouldn't be a candidate (Closes: #355237)
* prefer mmap as memory allocator in MMap instead of a static char
array which can (at least in theory) grow dynamic
* eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc
which can arise if cache doesn't fit into the mmap (Closes: #535218)
* display warnings instead of errors if the parts dirs doesn't exist
* honor the dpkg hold state in new Marker hooks (closes: #64141)
Michael Vogt [Tue, 21 Jul 2009 15:50:54 +0000 (17:50 +0200)]
Only run Download-Upgradable and Unattended-Upgrades if the initial
update was successful Closes: #341970
Michael Vogt [Tue, 21 Jul 2009 15:04:33 +0000 (17:04 +0200)]
merged from mvo
Michael Vogt [Tue, 21 Jul 2009 15:04:06 +0000 (17:04 +0200)]
merge from mvo
Michael Vogt [Tue, 21 Jul 2009 14:58:17 +0000 (16:58 +0200)]
debian/apt.cron.daily: add missing check_size_constrains
David Kalnischkies [Tue, 21 Jul 2009 14:54:28 +0000 (16:54 +0200)]
eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc
which can arise if cache doesn't fit into the mmap (Closes: #535218)
This removes also the previously introduced SegfaultSignalHandler:
The handler works, but is ugly by design...
Michael Vogt [Tue, 21 Jul 2009 14:53:42 +0000 (16:53 +0200)]
debian/apt.cron.daily: cleanups in the cron script
Michael Vogt [Tue, 21 Jul 2009 14:05:52 +0000 (16:05 +0200)]
* apt-pkg/acquire.cc:
- make the max pipeline depth of the acquire queue configurable
via Acquire::Max-Pipeline-Depth
* apt-pkg/deb/dpkgpm.cc:
- add Dpkg::UseIoNice boolean option to run dpkg with ionice -c3
(off by default)
- send "dpkg-exec" message on the status fd when dpkg is run
- provide DPkg::Chroot-Directory config option (useful for testing)
- fix potential hang when in a backgroud process group
* apt-pkg/algorithms.cc:
- consider recommends when making the scores for the problem
resolver
* apt-pkg/acquire-worker.cc:
- show error details of failed methods
* apt-pkg/contrib/fileutl.cc:
- if a process aborts with signal, show signal number
* methods/http.cc:
- ignore SIGPIPE, we deal with EPIPE from write in
HttpMethod::ServerDie() (LP: #385144)
* apt-pkg/indexcopy.cc:
- support having CDs with no Packages file (just a Packages.gz)
by not forcing a verification on non-existing files
(LP: #255545)
- remove the gettext from a string that consists entirely
of variables (LP: #56792)
* apt-pkg/cacheiterators.h:
- add missing checks for Owner == 0 in end()
* apt-pkg/indexrecords.cc:
- fix some i18n issues
* apt-pkg/contrib/strutl.h:
- add new strprintf() function to make i18n strings easier
- fix compiler warning
* apt-pkg/deb/debsystem.cc:
- make strings i18n able
* fix problematic use of tolower() when calculating the version
hash by using locale independant tolower_ascii() function.
Thanks to M. Vefa Bicakci (LP: #80248)
* build fixes for g++-4.4
* cmdline/apt-mark:
- add "showauto" option to show automatically installed packages
* document --install-recommends and --no-install-recommends
(thanks to Dereck Wonnacott, LP: #126180)
* Updated cron script to support backups by hardlinks and
verbose levels. All features turned off by default.
* Added more error handlings. Closes: #438803, #462734, #454989,
* Refactored condition structure to make download and upgrade performed
if only previous steps succeeded. Closes: #341970
* Documented all cron script related configuration items in
configure-index.
* apt-ftparchive might write corrupt Release files (LP: #46439)
* Apply --important option to apt-cache depends (LP: #16947)
Michael Vogt [Tue, 21 Jul 2009 11:52:48 +0000 (13:52 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- provide DPkg::Chroot-Directory config option (useful for testing)
bubulle@debian.org [Fri, 17 Jul 2009 18:08:54 +0000 (20:08 +0200)]
Update French manpage translation
Julian Andres Klode [Thu, 16 Jul 2009 10:59:39 +0000 (12:59 +0200)]
* apt-pkg/contrib/hashes.cc, apt-pkg/contrib/md5.cc:
- Support reading until EOF if Size=0 to match behaviour of
SHA1Summation and SHA256Summation
David Kalnischkies [Wed, 15 Jul 2009 21:57:07 +0000 (23:57 +0200)]
display warnings instead of errors if the parts dirs doesn't exist
Parts dirs are /etc/apt/{sources.list,apt.conf,preferences}.d
(in the default setup)
David Kalnischkies [Wed, 15 Jul 2009 21:40:35 +0000 (23:40 +0200)]
[contrib/error.cc] place a colon between errno and error text in output
of GlobalError::Errno and WarningE (as it described in the comments of
these methods)
David Kalnischkies [Wed, 15 Jul 2009 14:45:49 +0000 (16:45 +0200)]
merge with lp:~mvo/apt/debian-sid
Michael Vogt [Tue, 14 Jul 2009 09:23:38 +0000 (11:23 +0200)]
* debian/apt.cron.daily:
- if the timestamp is too far in the future, delete it
bubulle@debian.org [Sun, 12 Jul 2009 04:29:10 +0000 (06:29 +0200)]
German translation completed
Michael Vogt [Fri, 10 Jul 2009 15:21:11 +0000 (17:21 +0200)]
apt-pkg/deb/dpkgpm.cc: remove dead code, add comment on problematic argument list split
bubulle@debian.org [Fri, 10 Jul 2009 06:00:45 +0000 (08:00 +0200)]
German translation update
Michael Vogt [Thu, 9 Jul 2009 15:16:05 +0000 (17:16 +0200)]
move libudev based code into libapt cdrom.cc class
Michael Vogt [Wed, 8 Jul 2009 12:39:32 +0000 (14:39 +0200)]
prototype for libudev dlopen() type of cdrom detection
David Kalnischkies [Tue, 7 Jul 2009 23:11:16 +0000 (01:11 +0200)]
add a segfault handler to MMap to show the Cache-Limit message, which
can be deactivated with MMap::SegfaultHandler=false (Closes: 535218)
David Kalnischkies [Tue, 7 Jul 2009 23:03:15 +0000 (01:03 +0200)]
[contrib/mmap] implements a theoretical dynamic growing mmap
based on Michael Vogts patch in #195018 this commit implements the use
of mmap (as preferred) instead of a static char array. In theory this
made it possible to grow the mmap as needed, but as it is currently
impossible to move the mmap around in the memory the grow is likely
to fail but it improve the memory usage a bit, so it is not totally
useless for now - and maybe we can adjust the pointers in the future...
David Kalnischkies [Tue, 7 Jul 2009 18:14:04 +0000 (20:14 +0200)]
* remove the MarkKeep calls if Is{Delete,Install}Ok false, because
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
David Kalnischkies [Tue, 7 Jul 2009 17:23:04 +0000 (19:23 +0200)]
[apt-get] add possibility to hide the user simulation note
Julian Andres Klode [Mon, 6 Jul 2009 15:29:12 +0000 (17:29 +0200)]
Remove Eugene V. Lyubimkin from uploaders as requested.
Julian Andres Klode [Mon, 6 Jul 2009 15:09:08 +0000 (17:09 +0200)]
Support /etc/apt/preferences.d, by adding ReadPinDir() (Closes: #535512)
Julian Andres Klode [Mon, 6 Jul 2009 14:20:13 +0000 (16:20 +0200)]
configure-index: document Dir::Etc::SourceParts and some other options
(Closes: #459605)
Julian Andres Klode [Mon, 6 Jul 2009 13:46:54 +0000 (15:46 +0200)]
Support /etc/apt/preferences.d (Closes: #535512)
bubulle@debian.org [Mon, 6 Jul 2009 12:56:22 +0000 (14:56 +0200)]
Correct spelling
Michael Vogt [Thu, 2 Jul 2009 12:07:18 +0000 (14:07 +0200)]
* apt-pkg/acquire-worker.cc:
- show error details of failed methods
* apt-pkg/contrib/fileutl.cc:
- if a process aborts with signal, show signal number
* methods/http.cc:
- ignore SIGPIPE, we deal with EPIPE from write in
HttpMethod::ServerDie() (LP: #385144)
bubulle@debian.org [Wed, 1 Jul 2009 20:48:57 +0000 (22:48 +0200)]
French translation update
Marcos Alvarez Costales [Wed, 1 Jul 2009 20:43:12 +0000 (22:43 +0200)]
Updated Asturian translation
David Kalnischkies [Wed, 1 Jul 2009 08:25:41 +0000 (10:25 +0200)]
versions with a pin of -1 shouldn't be a candidate (Closes: #355237)
David Kalnischkies [Tue, 30 Jun 2009 19:44:24 +0000 (21:44 +0200)]
* add hook for MarkInstall and MarkDelete (closes: #470035)
* 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.
David Kalnischkies [Tue, 30 Jun 2009 19:37:30 +0000 (21:37 +0200)]
add the various foldmarkers in apt-pkg & cmdline (no code change)
Michael Vogt [Tue, 30 Jun 2009 12:16:32 +0000 (14:16 +0200)]
fix typo in apt-pkg/acquire.cc which prevents Dl-Limit to work
correctly when downloading from multiple sites (Closes: #534752)
Michael Vogt [Tue, 30 Jun 2009 12:11:31 +0000 (14:11 +0200)]
merged r1811..1815 from lp:~donkult/apt/experimental
Michael Vogt [Tue, 30 Jun 2009 12:01:46 +0000 (14:01 +0200)]
merged r1811 from lp:~donkult/apt/experimenal
Michael Vogt [Tue, 30 Jun 2009 11:52:52 +0000 (13:52 +0200)]
merge the AutoInstOk patch from debian-experimental
Michael Vogt [Mon, 29 Jun 2009 16:40:42 +0000 (18:40 +0200)]
* support IsAutoInstallOk in the resolver too
* honor the dpkg hold state in IsAutoInstallOk (closes: #64141)
Michael Vogt [Mon, 29 Jun 2009 16:23:07 +0000 (18:23 +0200)]
merge r1797 from lp:~donkult/apt/experimental
Michael Vogt [Mon, 29 Jun 2009 16:20:58 +0000 (18:20 +0200)]
add hook for auto-install (closes: #470035)
Michael Vogt [Mon, 29 Jun 2009 16:13:23 +0000 (18:13 +0200)]
do not write state file in simulate mode (closes: #433007)
Michael Vogt [Mon, 29 Jun 2009 16:07:30 +0000 (18:07 +0200)]
* add Debug::pkgDepCache::Marker with more detailed debug output
* add Debug::pkgProblemResolver::ShowScores and make the scores
adjustable
Michael Vogt [Mon, 29 Jun 2009 16:00:54 +0000 (18:00 +0200)]
* add depth information to the debug output and show what depends
type triggers a autoinst (closes: #458389)
* add debug::pkgDepCache::Marker with more detailed debug output
(closes: #87520)
Michael Vogt [Mon, 29 Jun 2009 14:55:49 +0000 (16:55 +0200)]
support running "--simulate" as user
Michael Vogt [Mon, 29 Jun 2009 14:44:46 +0000 (16:44 +0200)]
[ABI break] Allow pinning by codename (closes: #97564)
Michael Vogt [Tue, 23 Jun 2009 19:43:18 +0000 (21:43 +0200)]
* apt-pkg/algorithms.cc:
- consider recommends when making the scores for the problem
resolver
Michael Vogt [Wed, 17 Jun 2009 08:44:21 +0000 (10:44 +0200)]
send "dpkg-exec" message on the status fd when dpkg is run
Michael Vogt [Wed, 17 Jun 2009 08:15:51 +0000 (10:15 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- add Dpkg::UseIoNice boolean option to run dpkg with ionice -c3
(off by default)
jak@debian.org [Mon, 15 Jun 2009 12:57:01 +0000 (14:57 +0200)]
Introduce support for the Enhances field. (Closes: #137583)
Julian Andres Klode [Fri, 12 Jun 2009 17:07:40 +0000 (19:07 +0200)]
apt-pkg/contrib/configuration.cc: Fix a small memory leak in
ReadConfigFile.
Michael Vogt [Tue, 9 Jun 2009 15:33:22 +0000 (17:33 +0200)]
[ABI break] support '#' in apt.conf and /etc/apt/preferences
(closes: #189866)
Michael Vogt [Tue, 9 Jun 2009 14:14:21 +0000 (16:14 +0200)]
* apt-pkg/acquire.cc:
- make the max pipeline depth of the acquire queue configurable
via Acquire::Max-Pipeline-Depth
bubulle@debian.org [Sat, 6 Jun 2009 05:47:28 +0000 (07:47 +0200)]
Completed Catalan translation
bubulle@debian.org [Fri, 5 Jun 2009 18:37:49 +0000 (20:37 +0200)]
Pending translations
Michael Vogt [Wed, 3 Jun 2009 10:05:20 +0000 (12:05 +0200)]
* cmdline/apt-mark:
- add "showauto" option to show automatically installed packages
bubulle@debian.org [Tue, 2 Jun 2009 05:37:38 +0000 (07:37 +0200)]
Update French translation
Deng Xiyue [Mon, 1 Jun 2009 08:55:26 +0000 (10:55 +0200)]
Simplified Chinese translation update
bubulle@debian.org [Thu, 21 May 2009 10:19:01 +0000 (12:19 +0200)]
Updated Asturian translation
bubulle@debian.org [Sun, 17 May 2009 10:43:09 +0000 (12:43 +0200)]
Asturian translation added
bubulle@debian.org [Sun, 17 May 2009 06:50:40 +0000 (08:50 +0200)]
Basque translation update
David Kalnischkies [Thu, 7 May 2009 10:04:21 +0000 (12:04 +0200)]
[apt-pkg] allow also codenames for specifying a release
* MatchType::Release checks first for archive than for codename equality
* new n= option in apt_preference to be able to pin based on a codeName
bubulle@debian.org [Tue, 28 Apr 2009 18:18:01 +0000 (20:18 +0200)]
Slovak translation update
Michael Vogt [Fri, 24 Apr 2009 08:12:36 +0000 (10:12 +0200)]
build fixes for g++-4.4
Michael Vogt [Thu, 23 Apr 2009 10:53:48 +0000 (12:53 +0200)]
fix problematic use of tolower() when calculating the version
hash by using locale independant tolower_ascii() function.
Thanks to M. Vefa Bicakci (LP: #80248)
bubulle@debian.org [Thu, 23 Apr 2009 06:05:00 +0000 (08:05 +0200)]
Update French translation
bubulle@debian.org [Thu, 23 Apr 2009 05:37:15 +0000 (07:37 +0200)]
Update PO files