summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
AgeCommit message (Collapse)Author
2015-12-07part revert, part redo 'which' replacementDavid Kalnischkies
In e75e5879 'replace "which" with "command -v" for portability' I missed that command -v isn't actually required to be available in debian, so for the 5 files we are using it: Two (abicheck/run_abi_test & test/integration/framework) are called in environments were I believe sh is at least dash or 'better' as the first one is "interactive" for apt developers and the later is sourced by ~200 tests in the same directory run by hand and ci-services – for the later we have pulled some uglier hacks for worser things already, so if there should actually end up needing something more compatible we will notice eventually (and the later actually had a command -v call for some time already and nobody came running). debian/rules and debian/apt.cron.daily I switched back to which as that is more or less debian-specific or at least highly non-critical. That leaves cmdline/apt-key.in with a bunch of calls where I will implement that functionality in shell as this is relatively short-lived as it is used to detect wget (for net-update, which Michael wants to revive and in that process will properly use apt-helper instead of wget) and to detect gpg vs. gpg2 systems, where the earlier is supposed to go away in the longrun (or the later, but by replacing the earlier…). [and this gpg/gpg2 detection is new in sid, so I have some sympathy for that being a problem now.] Thanks: Jakub Wilk for pointing out #747320
2015-12-06replace "which" with "command -v" for portabilityDavid Kalnischkies
which is a debian specific tool packaged in debianutils (essential) while command is a shell builtin defined by POSIX. Closes: 807144 Thanks: Mingye Wang for the suggestion.
2015-08-12document APT::Periodic::RandomSleepTomas Pospisek
The documentation in the patch is from https://help.ubuntu.com/community/AutomaticSecurityUpdates That page is licensed under Creative Commons Attribution-ShareAlike 3.0. Because I'm unsure how that license meshes with apt's license I've not copied the text but formulated the same information freely in my own words. The original text was contributed by Chris Bainbridge [1][3] and Kees Cook [2]. Thanks to them. [1] https://help.ubuntu.com/community/AutomaticSecurityUpdates?action=diff&rev1=40&rev2=41 [2] https://help.ubuntu.com/community/AutomaticSecurityUpdates?action=diff&rev1=38&rev2=39 [3] https://help.ubuntu.com/community/AutomaticSecurityUpdates?action=diff&rev1=37&rev2=38 Closes: 776380 Thanks: Chris Bainbridge and Kees Cook for initial text
2015-08-12apt.cron.daily: Reference 10periodic instead of 02periodicJulian Andres Klode
LP: #1332106
2014-03-27Merge remote-tracking branch 'upstream/debian/sid' into debian/sidMichael Vogt
2014-03-27fix documentation for APT::Periodic::MaxSize "0" (closes: #740551)Michael Vogt
2014-03-21correct some reported typos in /etc/cron.daily/aptDavid Kalnischkies
Closes: 702016 Reported-By: Mason Loring Bliss <mason@blisses.org>, Jakub Wilk <jwilk@debian.org>
2014-02-22Fix typos in documentation (codespell)Michael Vogt
2013-11-23Changed MinAgeSec to MinAge in /etc/cron.daily/apt:200,204 LP: #1206047Michael Vogt
2013-09-01Remove invalid "-f" option for apt-get checkMichael Vogt
Thanks to Philipp Weis (closes: #721477)
2013-01-10instead of cut, use % 32767Michael Vogt
2013-01-09* debian/apt.cron.daily:Michael Vogt
- when reading from /dev/urandom, use less entropy and fix a rare bug when the random number chksum is less than 1000. Closes: #695285
2012-07-04* debian/apt.cron.daily:David Kalnischkies
- do not try to backup extended_states file if it doesn't exist (Closes: #680287)
2012-01-10/var/apt/cache is in reality /var/cache/aptSergio Cipolla
2011-04-21debian/apt.cron.daily: Check power after wait, patch by manuel-soto (LP: ↵Julian Andres Klode
#705269)
2011-04-07* debian/apt.cron.daily:Michael Vogt
- run unattended-upgrades even if there was a error during the apt-get update (LP: #676295)
2011-03-11rename debian/apt.cron.daily back for now until the conffile is properly copyiedMichael Vogt
2011-03-10* debian/zzapt.cron.daily:Michael Vogt
- move cron job to the end of execution (LP: #727685) * methods/rsh.cc - fix rsh/ssh option parsing (LP: #678080), thanks to Ville Mattila
2010-10-13* debian/apt.cron.daily:Michael Vogt
- source /etc/default/locale (if available) so that the apt-get update cron job fetches the right translated package descriptions * fix test failure on amd64
2010-10-01debian/apt.cron.daily: export LANGUAGE LC_MESSAGES LC_ALL as wellMichael Vogt
2010-10-01* debian/apt.cron.daily:Michael Vogt
- source /etc/default/locale (if available) so that the apt-get update cron job fetches the right translated package descriptions
2010-09-15* debian/apt.cron.daily:David Kalnischkies
- handle absolut directory paths correctly by loading directories directly instead of building the paths on our own (Closes: #596421)
2010-08-18* debian/apt.cron.daily:David Kalnischkies
- create backups for our extended_states file (Closes: #593430)
2009-12-11check cache size even if we do nothing else otherwise in apt.cron.daily,David Kalnischkies
thanks Francesco Poli for patch(s) and patience! (Closes: #459344)
2009-08-06debian/apt.cron.daily: Fix issue related to APT::Periodic::Enable.Julian Andres Klode
2009-08-06debian/apt.cron.daily: Support using debdelta to download packages (Closes: ↵Julian Andres Klode
#532079)
2009-08-06debian/apt.cron.daily: Script can be disabled by APT::Periodic::Enable=0 ↵Julian Andres Klode
(Closes: #485476)
2009-08-06debian/apt.cron.daily: Make sure that VERBOSE is always setJulian Andres Klode
before accessing it (Closes: #539366)
2009-07-21merged from the mvo branchMichael Vogt
2009-07-21Only run Download-Upgradable and Unattended-Upgrades if the initialMichael Vogt
update was successful Closes: #341970
2009-07-21merged from mvoMichael Vogt
2009-07-21merge from mvoMichael Vogt
2009-07-21debian/apt.cron.daily: add missing check_size_constrainsMichael Vogt
2009-07-21debian/apt.cron.daily: cleanups in the cron scriptMichael Vogt
2009-07-21* apt-pkg/acquire.cc:Michael Vogt
- 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)
2009-07-14* debian/apt.cron.daily:Michael Vogt
- if the timestamp is too far in the future, delete it
2009-04-08apt.cron.daily: catch invalid dates due to DST time changesMichael Vogt
in the stamp files
2008-10-28* apt-ftparchive might write corrupt Release files (LP: #46439)Michael Vogt
* Apply --important option to apt-cache depends (LP: #16947) * apt-pkg/acquire-item.cc: - Added fallback to uncompressed 'Packages' if neither 'bz2' nor 'gz' available. (Closes: #409284) * apt-pkg/algorithm.cc: - Strip username and password from source URL in error message. (Closes: #425150) * Fix typos: - apt-pkg/depcache.cc * Fix compilation warnings: - apt-pkg/acquire.cc - apt-pkg/versionmatch.cc * Compilation fixes and portability improvement for compiling APT against non-GNU libc (thanks to Martin Koeppe, closes: #392063): - buildlib/apti18n.h.in: + textdomain() and bindtextdomain() must not be visible when --disable-nls - buildlib/inttypes.h.in: undefine standard int*_t types - Append INTLLIBS to SLIBS: + cmdline/makefile + ftparchive/makefile + methods/makefile * doc/apt.conf.5.xml: - clarify whether configuration items of apt.conf are case-sensitive (thanks to Vincent McIntyre, closes: #345901) * doc/apt-cache.8.xml: - search command uses POSIX regex, and searches for virtual packages too (closes: #277536) * doc/offline.sgml: clarify remote and target hosts (thanks to Nikolaus Schulz, closes: #175940) * Fix several typos in docs, translations and debian/changelog (thanks to timeless, Nicolas Bonifas and Josh Triplett, closes: #368665, #298821, #411532, #431636, #461458) * Document apt-key finger and adv commands (thanks to Stefan Schmidt, closes: #350575) * Better documentation for apt-get --option (thanks to Tomas Pospisek, closes: #386579) * Retitle the apt-mark.8 manpage (thanks to Justin Pryzby, closes: #471276) * Better documentation on using both APT::Default-Release and /etc/apt/preferences (thanks to Ingo Saitz, closes: #145575) * doc/apt-cache.8.xml: - add missing citerefentry * Upload to unstable * apt-pkg/deb/dpkgpm.cc: - Store the trigger state descriptions in a way that does not break the ABI. The approach taken makes the search for a string O(n) rather than O(lg(n)), but since n == 4, I do not consider this a major concern. If it becomes a concern, we can sort the static array and use std::equal_range(). (Closes: #499322) * apt-pkg/pkgcachegen.cc: - do not add multiple identical descriptions for the same language (closes: #400768) * Catalan updated. Closes: #499462 * Fix typo in cron.daily script. Closes: #486179 * Traditional Chinese updated. Closes: #488526 * German corrected and completed. Closes: #490532, #480002, #498018 * French completed * Bulgarian updated. Closes: #492473 * Slovak updated. Closes: #492475 * Galician updated. Closes: #492794 * Japanese updated. Closes: #492975 * Fix missing space in Greek translation. Closes: #493922 * Greek updated. * Brazilian Portuguese updated. * Basque updated. Closes: #496754 * Romanian updated. Closes: #492773, #488361 * Portuguese updated. Closes: #491790 * Simplified Chinese updated. Closes: #489344 * Norwegian Bokmål updated. Closes: #480022 * Czech updated. Closes: #479628, #497277 * Korean updated. Closes: #464515 * Spanish updated. Closes: #457706 * Lithuanian added. Closes: #493328 * Swedish updated. Closes: #497496 * Vietnamese updated. Closes: #497893 * Portuguese updated. Closes: #498411 * Greek updated. Closes: #498687 * Polish updated. * merge patch that enforces stricter https server certificate checking (thanks to Arnaud Ebalard, closes: #485960) * allow per-mirror specific https settings (thanks to Arnaud Ebalard, closes: #485965) * add doc/examples/apt-https-method-example.cof (thanks to Arnaud Ebalard, closes: #485964) * apt-pkg/depcache.cc: - when checking for new important deps, skip critical ones (closes: #485943) * improve apt progress reporting, display trigger actions * add DPkg::NoTriggers option so that applications that call apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess) * doc/makefile: - add examples/apt-https-method-example.conf * Russian updated. Closes: #479777, #499029 * fix FTBFS by changing build-depends to * ABI library name change because it's built against * Package that contains all the new features * Branch that contains all the new features:
2008-06-14Fix typo in cron.daily script commentsbubulle@debian.org
2008-06-03merged from the debian-sid branchMichael Vogt
2008-05-28* debian/apt.cron.daily:Michael Vogt
- apply patch based on the ideas of Francesco Poli for better behavior when the cache can not be locked (closes: #459344)
2008-05-28debian/apt.cron.daily: test for both existance of dbus-send and if ↵Michael Vogt
dbus-daemon is actually running
2008-05-28merged from the debian-sid branchMichael Vogt
2008-05-24Avoid using dbus if dbus-daemon isn't running. Closes: #438803Otavio Salvador
2008-05-05* Updated cron script to support backups by hardlinks and Michael Vogt
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.
2008-05-05replaced cron.daily with new version and updated document accordinglyOsamu Aoki
2008-05-02Make cron script quiet if cache is locked. Closes: #459344Otavio Salvador
2008-02-25* debian/apt.cron.daily:Michael Vogt
- sleep random amount of time (default within 0-30min) before starting the upate to hit the mirrors less hard
2007-12-16* Fix cron.daily job to not call fail if apt isn't installed, closes:Otavio Salvador
#443286.
2007-12-06* debian/apt.conf.daily:Michael Vogt
- print warning if the cache can not be locked (closes: #454561), thanks to Bastian Kleineidam