summaryrefslogtreecommitdiff
path: root/cmdline
Commit message (Collapse)AuthorAgeFilesLines
* trivial indent fixMichael Vogt2014-02-131-1/+1
|
* Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt2014-02-122-6/+0
|\ | | | | | | | | Conflicts: test/integration/test-apt-get-download
| * Use a APT::VersionSet instead of a VersionListMichael Vogt2014-02-121-3/+3
| | | | | | | | | | | | | | 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)
| * move isatty() check into InitOutput()Michael Vogt2014-02-052-6/+0
| |
* | apt-cdrom should succeed if any drive succeedsJohn Ogness2014-02-121-17/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | use VersionSet in download to handle repeatsDavid Kalnischkies2014-02-101-3/+3
|/ | | | Closes: 738103
* fix apt-get download truncation (closes: #736962)Michael Vogt2014-01-291-3/+6
|
* Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2014-01-261-13/+14
|\ | | | | | | | | | | | | Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
| * use gpg --homedir instead of explicit file placementDavid Kalnischkies2014-01-161-13/+14
| | | | | | | | | | | | 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.
* | apt-mark help shows all commands nowMichael Vogt2014-01-241-0/+5
| |
* | add "apt full-upgrade" and tweak "apt upgrade"Michael Vogt2014-01-242-23/+17
| | | | | | | | | | | | | | | | 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".
* | add test for apt showMichael Vogt2014-01-221-1/+2
| |
* | add purge to the apt cmdlineMichael Vogt2014-01-171-1/+5
| |
* | add missing integration test for "apt list"Michael Vogt2014-01-171-10/+13
| |
* | reword !isatty() warningMichael Vogt2014-01-171-4/+3
| |
* | add apt upgrade --distMichael Vogt2014-01-171-1/+10
|/
* Merge branch 'feature/test-apt-key-net-update' into debian/sidMichael Vogt2013-12-271-6/+13
|\
| * fix apt-key net-update test to use the buildin webserverMichael Vogt2013-12-191-1/+1
| |
| * make apt-key net-update actually testableMichael Vogt2013-12-131-6/+13
| |
* | factor GetTempDir outMichael Vogt2013-12-222-14/+7
| |
* | Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sidMichael Vogt2013-12-121-1/+1
|\|
| * clarify error message when apt-get source=ver fails, print a real error ↵Michael Vogt2013-12-121-1/+1
| | | | | | | | message instead of "ignoring"
* | improve error messageMichael Vogt2013-12-111-3/+6
|/
* improve error message for apt-get source pkg:arch{=ver,/release}Michael Vogt2013-12-111-4/+14
|
* add support for "apt-get source pkg:arch"Michael Vogt2013-12-111-10/+50
|
* user-requested version tag gets precedence in apt-get source -t dist ↵Michael Vogt2013-12-101-4/+4
| | | | pkg=version requests
* fix typoMichael Vogt2013-12-101-1/+1
|
* if there is only deb-src pick higest version in deb-src release matchingMichael Vogt2013-12-101-3/+5
|
* * enable release based selection for deb-src (closes: 731102)Michael Vogt2013-12-051-25/+97
|
* generate apt-key script with vendor info about keysDavid Kalnischkies2013-12-012-5/+13
| | | | | | | 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.
* cherry-pick ubuntus (disabled) net-update fixesDavid Kalnischkies2013-12-011-13/+31
| | | | | | | 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.
* move EditSources into its own fileMichael Vogt2013-11-281-37/+1
|
* add check when sources.list changedMichael Vogt2013-11-261-6/+14
|
* add syntax check for sources.listMichael Vogt2013-11-261-3/+16
|
* add basic "edit-sources" commandMichael Vogt2013-11-252-18/+25
|
* Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sidMichael Vogt2013-10-222-26/+2
|\
| * rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGESMichael Vogt2013-10-051-66/+41
| |\
| * | * move upgrade releated code into upgrade.{cc,h}Michael Vogt2013-10-052-1/+2
| | | | | | | | | | | | | | | | | | 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).
| * | cleanup upgrade API some more (thanks for the feedback from David)Michael Vogt2013-10-051-26/+0
| | |
* | | Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sidMichael Vogt2013-10-081-1/+1
|\ \ \ | |_|/ |/| |
| * | Merge remote-tracking branch 'upstream/debian/sid' into feature/upgrade-with-newMichael Vogt2013-08-281-3/+4
| |\ \
| * | | add man-page, improve option, use --with-new-pkgs as the flagMichael Vogt2013-08-281-1/+1
| | | |
* | | | use pkgAcqArchive in 'download' for proper errorsDavid Kalnischkies2013-10-031-45/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | put fetch errors in 'source' on our errorstackDavid Kalnischkies2013-10-031-22/+6
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 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.
* | | fix vim-style foldmarkerDavid Kalnischkies2013-09-031-6/+2
| |/ |/| | | | | Git-Dch: Ignore
* | allow pkg manipulation in the upgrade/dist-upgrade commandline, e.g. apt-get ↵Michael Vogt2013-08-271-3/+4
|/ | | | dist-upgrade 2vcard- 4g8+
* do chdir("/") after chroot()Michael Vogt2013-08-221-2/+2
|
* Merge remote-tracking branch 'mvo/feature/apt-binary2' into debian/sidMichael Vogt2013-08-177-2098/+260
|\ | | | | | | | | Conflicts: cmdline/apt-get.cc
| * squash merge of the feature/apt-binary branch without the changes from ↵Michael Vogt2013-08-127-2095/+260
| | | | | | | | experimental
* | merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade ↵Michael Vogt2013-08-151-0/+6
|/ | | | | | is used with additional arguments (closes: #705510)