summaryrefslogtreecommitdiff
path: root/cmdline
AgeCommit message (Collapse)Author
2014-02-12Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt
Conflicts: test/integration/test-apt-get-download
2014-02-12Use a APT::VersionSet instead of a VersionListMichael Vogt
Use a APT::VersionSet instead of a APT::VersionList in DoDownload() to ensure that there is only one version in the set even if the user passes multiple identical name/versions on the commandline (Bug#738103)
2014-02-12apt-cdrom should succeed if any drive succeedsJohn Ogness
If there are multiple CD-ROM drives, `apt-cdrom add` will abort with an error if any of the drives do not contain a Debian CD which is against the documentation we have saying "a CD-ROM" and also scripts do not expect it this way. This patch modifies apt-cdrom to return success if any of the drives succeeded. If failures occur, apt-cdrom will still continue trying all the drives and report the last failure (if none of them succeeded). The 'ident' command was also changed to match the new 'add' behavior. Closes: 728153
2014-02-10use VersionSet in download to handle repeatsDavid Kalnischkies
Closes: 738103
2014-02-05move isatty() check into InitOutput()Michael Vogt
2014-01-29fix apt-get download truncation (closes: #736962)Michael Vogt
2014-01-26Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
2014-01-24apt-mark help shows all commands nowMichael Vogt
2014-01-24add "apt full-upgrade" and tweak "apt upgrade"Michael Vogt
There is a new "apt full-upgrade" that performs a apt-get dist-upgrade. "apt dist-upgrade" is still supported as a alias. The "apt upgrade" code is changed so that it mirrors the behavior of "apt-get upgrade --with-new-pkgs" and also honors "apt uprade --no-new-pkgs".
2014-01-22add test for apt showMichael Vogt
2014-01-17add purge to the apt cmdlineMichael Vogt
2014-01-17add missing integration test for "apt list"Michael Vogt
2014-01-17reword !isatty() warningMichael Vogt
2014-01-17add apt upgrade --distMichael Vogt
2014-01-16use gpg --homedir instead of explicit file placementDavid Kalnischkies
Avoids that gpg gets the idea it could use files from the user which weren't overridden specifically like secret keyring and trustdb as before.
2013-12-27Merge branch 'feature/test-apt-key-net-update' into debian/sidMichael Vogt
2013-12-22factor GetTempDir outMichael Vogt
2013-12-19fix apt-key net-update test to use the buildin webserverMichael Vogt
2013-12-13make apt-key net-update actually testableMichael Vogt
2013-12-12Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sidMichael Vogt
2013-12-12clarify error message when apt-get source=ver fails, print a real error ↵Michael Vogt
message instead of "ignoring"
2013-12-11improve error messageMichael Vogt
2013-12-11improve error message for apt-get source pkg:arch{=ver,/release}Michael Vogt
2013-12-11add support for "apt-get source pkg:arch"Michael Vogt
2013-12-10user-requested version tag gets precedence in apt-get source -t dist ↵Michael Vogt
pkg=version requests
2013-12-10fix typoMichael Vogt
2013-12-10if there is only deb-src pick higest version in deb-src release matchingMichael Vogt
2013-12-05* enable release based selection for deb-src (closes: 731102)Michael Vogt
2013-12-01generate apt-key script with vendor info about keysDavid Kalnischkies
The apt-key script uses quiet a few keyring files for operation which are specific to the distribution it is build on and is hence one of the most patched parts – even if it is not that often used anymore now that a fragment directory for trusted.gpg exists.
2013-12-01cherry-pick ubuntus (disabled) net-update fixesDavid Kalnischkies
With the net-update command a special keyring can be downloaded and imported into apt, which must be signed by a master key. Its is currently disabled because of security problems with it – and the only known user before that was Ubuntu.
2013-11-28move EditSources into its own fileMichael Vogt
2013-11-26add check when sources.list changedMichael Vogt
2013-11-26add syntax check for sources.listMichael Vogt
2013-11-25add basic "edit-sources" commandMichael Vogt
2013-10-22Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sidMichael Vogt
2013-10-08Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sidMichael Vogt
2013-10-05rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGESMichael Vogt
2013-10-05* move upgrade releated code into upgrade.{cc,h}Michael Vogt
The upgrade releated code is moved into upgrade.{cc,h} and all pkg*Upgrade* prototypes are included in algorihms.h to avoid breaking API (unless build with APT_9_CLEANER_HEADERS).
2013-10-05cleanup upgrade API some more (thanks for the feedback from David)Michael Vogt
2013-10-03use pkgAcqArchive in 'download' for proper errorsDavid Kalnischkies
With a bit of trickery we can reuse the usual infrastructure we have in place to acquire deb files for the 'download' operation as well, which gains us authentification check & display, error messages, correct filenames and "downloads" from the root-owned archives.
2013-10-03put fetch errors in 'source' on our errorstackDavid Kalnischkies
refactor the fetching process so that it looks more like the others we have in the hope that we can reuse code in the future. This is a soft interface change as 'source' previously printed errors directly on stderr, while it will now push it onto our usual error stack.
2013-09-03fix vim-style foldmarkerDavid Kalnischkies
Git-Dch: Ignore
2013-08-28Merge remote-tracking branch 'upstream/debian/sid' into feature/upgrade-with-newMichael Vogt
2013-08-28add man-page, improve option, use --with-new-pkgs as the flagMichael Vogt
2013-08-27allow pkg manipulation in the upgrade/dist-upgrade commandline, e.g. apt-get ↵Michael Vogt
dist-upgrade 2vcard- 4g8+
2013-08-22do chdir("/") after chroot()Michael Vogt
2013-08-17Merge remote-tracking branch 'mvo/feature/apt-binary2' into debian/sidMichael Vogt
Conflicts: cmdline/apt-get.cc
2013-08-15merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade ↵Michael Vogt
is used with additional arguments (closes: #705510)
2013-08-12squash merge of the feature/apt-binary branch without the changes from ↵Michael Vogt
experimental
2013-08-12let apt-key del work better with softlink and single key keyringsDavid Kalnischkies
Having fragement files means there is a good chance that there is one key per keyring, so deal with that as well as with setups in which keyrings are linked into trusted.gpg.d as we can't just modify those files (they might be in /usr for example).