summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-12-10user-requested version tag gets precedence in apt-get source -t dist ↵Michael Vogt1-4/+4
pkg=version requests
2013-12-10fix typoMichael Vogt1-1/+1
2013-12-10if there is only deb-src pick higest version in deb-src release matchingMichael Vogt1-3/+5
2013-12-05* enable release based selection for deb-src (closes: 731102)Michael Vogt1-25/+97
2013-11-25add basic "edit-sources" commandMichael Vogt1-18/+1
2013-10-22Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sidMichael Vogt1-26/+1
2013-10-08Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sidMichael Vogt1-1/+1
2013-10-05rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGESMichael Vogt1-66/+41
2013-10-05* move upgrade releated code into upgrade.{cc,h}Michael Vogt1-1/+1
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 Vogt1-26/+0
2013-10-03use pkgAcqArchive in 'download' for proper errorsDavid Kalnischkies1-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.
2013-10-03put fetch errors in 'source' on our errorstackDavid Kalnischkies1-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.
2013-09-03fix vim-style foldmarkerDavid Kalnischkies1-6/+2
Git-Dch: Ignore
2013-08-28Merge remote-tracking branch 'upstream/debian/sid' into feature/upgrade-with-newMichael Vogt1-3/+4
2013-08-28add man-page, improve option, use --with-new-pkgs as the flagMichael Vogt1-1/+1
2013-08-27allow pkg manipulation in the upgrade/dist-upgrade commandline, e.g. apt-get ↵Michael Vogt1-3/+4
dist-upgrade 2vcard- 4g8+
2013-08-17Merge branch 'debian/sid' into debian/experimentalMichael Vogt1-1961/+28
Conflicts: cmdline/apt-get.cc debian/changelog
2013-08-17Merge remote-tracking branch 'mvo/feature/apt-binary2' into debian/sidMichael Vogt1-1962/+29
Conflicts: cmdline/apt-get.cc
2013-08-15merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade ↵Michael Vogt1-0/+6
is used with additional arguments (closes: #705510)
2013-08-15Merge branch 'debian/sid' into debian/experimentalMichael Vogt1-10/+39
Conflicts: apt-pkg/contrib/strutl.cc apt-pkg/deb/dpkgpm.cc configure.ac debian/changelog doc/po/apt-doc.pot po/apt-all.pot po/ar.po po/ast.po po/bg.po po/bs.po po/ca.po po/cs.po po/cy.po po/da.po po/de.po po/dz.po po/el.po po/es.po po/eu.po po/fi.po po/fr.po po/gl.po po/hu.po po/it.po po/ja.po po/km.po po/ko.po po/ku.po po/lt.po po/mr.po po/nb.po po/ne.po po/nl.po po/nn.po po/pl.po po/pt.po po/pt_BR.po po/ro.po po/ru.po po/sk.po po/sl.po po/sv.po po/th.po po/tl.po po/uk.po po/vi.po po/zh_CN.po po/zh_TW.po test/integration/framework test/integration/test-bug-602412-dequote-redirect test/integration/test-ubuntu-bug-346386-apt-get-update-paywall test/interactive-helper/aptwebserver.cc test/interactive-helper/makefile
2013-08-12squash merge of the feature/apt-binary branch without the changes from ↵Michael Vogt1-1959/+29
experimental
2013-08-01unset LANGUAGE for showing [Y/n] answer hintsDavid Kalnischkies1-3/+32
nl_langinfo is used to acquire the YESEXPR of the language used, but it will return the one from LC_MESSAGES, which might be different from the language chosen for display of the question (based on LANGUAGE) so this commit removes the [Y/n] help text from the questions itself and moves it to the prompt creation in which the usage of LC_MESSAGES is forced for it, so that the helptext shown actually represents the characters accepted as input for the question. There is still room for problems of course starting with an untranslated "[Y/n]" but a translated YESEXPR or the problem that the question is asked in a completely different language which might have a conflicting definition of [Y/n] input or the user simple ignores the helptext and assumes that an answer matching the question language is accepted, but the mayority of users will never have this problem to begin with, so we should be fine (or at least a bit finer than before). Closes nothing really, but should at least help a bit with bugs like deb:194614, deb:471102, lp:1205578, and countless others.
2013-07-25fix potential GetLock() fd leakMichael Vogt1-4/+6
2013-06-09deprecate InstallProtect as a cpu-eating no-opDavid Kalnischkies1-3/+1
In the past packages were flagged "Protected" so that install/ remove markings where issued before the ProblemResolver. Nowadays, the marking methods check if they are allowed to modify the marking of a package instead, so that markings set by FromUser calls are not overwritten anymore by automatic calls which elimates the need for InstallProtect which just eats CPU now. The method itself is left untouched for now in case frontend needs it still for some wierd usecase, but they should be eliminated.
2013-04-23merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade ↵Michael Vogt1-0/+6
is used with additional arguments (closes: #705510)
2013-04-23merged debian-sid branch and resolved conflictsMichael Vogt1-3/+3
2013-04-08merged bundle from davidMichael Vogt1-2/+2
2013-03-25merge patch from Daniel HartwigMichael Vogt1-1/+1
2013-03-10various simple changes to fix cppcheck warningsDavid Kalnischkies1-2/+2
2013-03-01merged lp:~mvo/apt/source-hashesMichael Vogt1-8/+5
2013-01-14fix skipping of already downloaded files and add some FIXMEsMichael Vogt1-1/+1
2013-01-14first iteration that adds support for checksums-{sha512,sha256}Michael Vogt1-8/+5
2013-01-14ensure sha512 is really used when available (thanks to Tyler Hicks )Michael Vogt1-1/+1
2012-11-09* cmdline/apt-get.cc:David Kalnischkies1-3/+3
- do not call Mark{Install,Delete} from the autoremove code with the FromUser bit set to avoid modifying the auto-installed bit
2012-10-20adds a comment for Translators to the 'do as I say' prompt toDavid Kalnischkies1-1/+3
prevent problems like #691024 in new translations
2012-08-06disable the display of the error messages for DoInstall if DoBuildDepDavid Kalnischkies1-1/+1
is calling the helper (enabled by enforcing failure reporting)
2012-08-05ensure that the right architecture is used for cross-dependencies inDavid Kalnischkies1-11/+22
cases we have to choose a provider by defaulting on host-arch instead of build-arch
2012-08-04improve the check for purely virtuals as provided packages aren'tDavid Kalnischkies1-1/+1
purely virtual and shouldn't error out cause of that
2012-08-04* cmdline/apt-get.cc:David Kalnischkies1-2/+2
- error out on (unsatisfiable) build-deps on purly virtual packages instead of ignoring these dependencies; thanks to Johannes Schauer for the detailed report! (Closes: #683786)
2012-06-18* cmdline/apt-get.cc:David Kalnischkies1-2/+14
- print a friendly message in 'download' if a package can't be downloaded (Closes: #677887)
2012-06-11check build-dep candidate if install is forbiddenDavid Kalnischkies1-19/+39
2012-06-10* cmdline/apt-get.cc:Thibaut Girka1-4/+4
- complain correctly about :any build-dep on M-A:none packages
2012-06-10show 'bzr branch' as 'bzr get' is deprecated (LP: #1011032)David Kalnischkies1-1/+1
2012-06-10* cmdline/apt-get.cc:Daniel Hartwig1-1/+5
- print URIs for all changelogs in case of --print-uris, thanks to Daniel Hartwig for the patch! (Closes: #674897)
2012-05-24* cmdline/apt-get.cc:David Kalnischkies1-0/+3
- do not show 'list of broken packages' header if no package is broken as it happens e.g. for external resolver errors
2012-05-16* cmdline/apt-get.cc:David Kalnischkies1-2/+12
- use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *
2012-04-16* cmdline/apt-get.cc:David Kalnischkies1-4/+7
- if pkgCacheFile::Generate is disabled in 'update' don't remove the caches (and don't try to open them)
2012-04-12merged r1972 from lp:~paolorotolo/apt/fix-for-967393Michael Vogt1-1/+1
2012-04-12merged r1970 lp:~vorlon/apt/lp.968828Michael Vogt1-1/+1
2012-04-11* cmdline/apt-get.cc:David Kalnischkies1-18/+18
- print list of autoremoves in alphabetical order (Closes: #639008)