summaryrefslogtreecommitdiff
path: root/cmdline
AgeCommit message (Collapse)Author
2010-11-09* Add cmdline/apt-changelog: Script to fetch package changelog fromMartin Pitt
changelogs.ubuntu.com. Install it in cmdline/makefile and debian/rules. * Add doc/apt-changelog.1.xml, and install it in debian/rules.
2010-10-14merged from the debian-sid branchMichael Vogt
2010-10-01cherry pick -r2025 from lp:~donkult/apt/sidMichael Vogt
2010-09-28* apt-pkg/contrib/strutl.cc:David Kalnischkies
- add a space between number and unit as required by SI (Closes: #598352)
2010-09-24* cmdline/apt-cache.cc:David Kalnischkies
- use the TranslatedDescription for searching and not the first available one as it is maybe not an expected language (Closes: #597925)
2010-09-07merged from the debian-sid branchMichael Vogt
2010-09-04* cmdline/apt-key:David Kalnischkies
- support also Dir::Etc::Trusted so that apt-key works in the same way as the library part which works with the trusted files
2010-08-30* merged fixes from the debian-sid bzr branch:Michael Vogt
* Simplified Chinese (Aron Xu). Closes: #594458 * Bulgarian (Damyan Ivanov). Closes: #594627 * Portuguese (Miguel Figueiredo). Closes: #594668 * Korean (Changwoo Ryu). Closes: #594809 * Portuguese (Américo Monteiro) * cmdline/apt-cache.cc: - remove useless GetInitialize method * cmdline/apt-get.cc: - remove direct calls of ReadMainList and use the wrapper instead to protect us from useless re-reads and two-times notice display - remove death code by removing unused GetInitialize * apt-pkg/depcache.cc: - now that apt-get purge works on 'rc' packages let the MarkDelete pass this purge forward to the non-pseudo package for pseudos * apt-pkg/contrib/fileutl.cc: - apply SilentlyIgnore also on files without an extension * apt-pkg/contrib/configuration.cc: - fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689) * apt-pkg/versionmatch.cc: - let the pin origin actually work as advertised in the manpage which means "" are optional and pinning a local archive does work - even if it is a non-flat archive (Closes: #594435)
2010-08-28remove useless GetInitialize methodDavid Kalnischkies
2010-08-28remove death code by removing unused GetInitializeDavid Kalnischkies
2010-08-26* cmdline/apt-get.cc:David Kalnischkies
- remove direct calls of ReadMainList and use the wrapper instead to protect us from useless re-reads and two-times notice display
2010-08-26* merged fixes from the debian-sid bzr branch:Michael Vogt
* Thai (Theppitak Karoonboonyanan). Closes: #592695 * Russian (Yuri Kozlov). Closes: #594232 * Slovak (Ivan Masár). Closes: #594255 * Swedish (Daniel Nylander). Closes: #594241 * Japanese (Kenshi Muto, Osamu Aoki). Closes: #594265 * Italian (Milo Casagrande). Closes: #594238 * Asturian (maacub). Closes: #594303 * Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aoki Closes: #594211 * show in madison command again also source packages (LP: #614589)
2010-08-25show in madison command again also source packages (LP: #614589)David Kalnischkies
2010-08-24* merged from debian/unstableMichael Vogt
* merge of the debian-expermental-ma branch * refresh po/pot files in doc/ and po/ * Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aoki Closes: #594211 * Swedish (Daniel Nylander). Closes: #592366 * French (Christian Perrier) * Thai (Theppitak Karoonboonyanan). Closes: #592695 * Russian (Yuri Kozlov). Closes: #594232 * French (Christian Perrier) * apt-pkg/contrib/strutl.cc: - fix error checking for vsnprintf in its safe variant * methods/bzip2.cc: - fix error checking for read in case of failing bzip2/lzma/whatever * debian/apt.cron.daily: - create backups for our extended_states file (Closes: #593430) * apt-pkg/init.cc: - set the default values for dir::etc::trusted options correctly * ftparchive/writer.cc: - init valid-until correctly to prevent garbage entering Release file * apt-pkg/deb/debsystem.cc: - set dir::state::status based at least on dir * apt-pkg/deb/dpkgpm.cc: - use the InstVer instead of the CurrentVer for the autobit transfer * methods/http.cc: - some http servers violate HTTP1.1 by not issuing a Reason-Phrase (or at least a space after the code) especially for 200, but lets be nice and ignore it as we don't need the reason in general * apt-pkg/acquire-item.cc: - don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work in combination with the AddFd methods of our hashclasses
2010-08-24Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aokibubulle@debian.org
Closes: #594211
2010-08-13merged from debianMichael Vogt
2010-08-12purge packages in 'rc' state, thanks Rogier! (Closes: #150831)David Kalnischkies
2010-08-11* cmdline/apt-get.cc:David Kalnischkies
- let APT::Get::Arch-Only in build-dep default to false again (Closes: #592628) Thanks Mohamed Amine IL Idrissi for report!
2010-07-30merged from http://bzr.debian.org/apt/apt/debian-experimental-maMichael Vogt
2010-07-30 - return success in show if a virtual package was givenDavid Kalnischkies
*
2010-07-30 - [ABI BREAK] add an ErrorType option to CacheSetHelperDavid Kalnischkies
* cmdline/apt-cache.cc: - use Notice instead of Error in the CacheSetHelper messages for compat reasons. Otherwise tools like sbuild blow up
2010-07-29merged with the debian-experimental-ma branchMichael Vogt
2010-07-29merged lp:~donkult/apt/sidMichael Vogt
2010-07-27* cmdline/apt-get.cc:Julian Andres Klode
- Support large filesystems by using statvfs64() instead of statvfs() and statfs64() instead of statfs() (Closes: #590513).
2010-07-26 - show in (r)depends the canidate per default instead of newestDavid Kalnischkies
- share the (r)depends code instead of codecopy
2010-07-26add APT::Cache::ShowOnlyFirstOr option to print only the firstDavid Kalnischkies
alternative in the apt-cache (r)depends commands
2010-07-17* apt-pkg/cacheset.cc:David Kalnischkies
- move them back to the library as they look stable now
2010-07-17factor regex package name matches into newly created cachefilter classesDavid Kalnischkies
2010-07-16* cmdline/apt-cache.cc:David Kalnischkies
- be able to omit dependency types in (r)depends (Closes: #319006)
2010-07-11[ Martin Pitt ]David Kalnischkies
* debian/rules: - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. * apt-pkg/contrib/fileutl.{h,cc}: - Add support for reading of gzipped files with the new "ReadOnlyGzip" OpenMode. (Closes: #188407) - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. - [ABI BREAK] This adds a new private member to FileFd, but its initialization is in the public header file. * configure.in: - Check for zlib library and headers. * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc, apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h, cmdline/apt-cache.cc: - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode. * apt-pkg/deb/debindexfile.cc: - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. * apt-pkg/acquire-item.cc: - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it. * doc/apt.conf.5.xml: - Document the new Acquire::GzipIndexes option. * doc/po/apt-doc.pot, doc/po/de.po: - German translation of new Acquire::GzipIndexes option. * Add test/test-indexes.sh: - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. * methods/gzip.cc: With FileFd now being able to read gzipped files, there is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
2010-07-05make the specify order of packages irrelevant (half-close #196021)David Kalnischkies
2010-07-04prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies
if DepCache is not available as fallback built the Policy
2010-07-03reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies
2010-07-03Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies
and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
2010-07-02add a ConstructedBy member to the PackageSet which can be used by theDavid Kalnischkies
e.g. FromString to tell the caller if the string was an exact match or found by regex or task. The two later ones can match packages for which we want to ignore failures in the VersionSet
2010-06-29if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies
one package provides it - if it is only one use this package instead
2010-06-29rename AddSelectedVersion() to a better public FromPackage()David Kalnischkies
2010-06-29for install, do all installs first and then the removes and vice versaDavid Kalnischkies
2010-06-28 - factor out code to get a single package FromName()David Kalnischkies
- check in Grouped* first without modifier interpretation
2010-06-26 - only print errors if all tries to get a package by string failedDavid Kalnischkies
*
2010-06-26give the APT::Cache::Generate option her effect backDavid Kalnischkies
2010-06-26do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies
2010-06-25print all messages if the application is in an interactive runDavid Kalnischkies
2010-06-24Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de
expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
2010-06-22Use an abstract helper for error handling and outputDavid Kalnischkies
instead of doing this directly in the CacheSets. With this method an application like apt-get can change the behavior of the CacheSets to his liking. It can for example easily keep track of how packages were added to the set: by names or with regex's…
2010-06-19* cmdline/apt-get.cc:David Kalnischkies
- use the cachsets in the install commands
2010-06-19get packages by task^ with FromTask()David Kalnischkies
2010-06-15* cmdline/cacheset.cc:David Kalnischkies
- doesn't include it in the library for now as it is too volatile
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt
2010-06-09* merge the remaining Ubuntu change:Michael Vogt
- on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)