summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
AgeCommit message (Collapse)Author
2010-05-04cmdline/apt-get.cc: Add apt-get markauto, showauto and unmarkauto commands.Julian Andres Klode
2010-05-04merged from davids branchMichael Vogt
2010-04-24set also "all" to this version for pseudo packages in TryToChangeVerDavid Kalnischkies
2010-04-24show non-candidates as fallback for virtual packages (Closes: #578385)David Kalnischkies
2010-04-21replace backticks with single quote in broken packages message.David Kalnischkies
Thanks to Jari Aalto for spotting & patching! (Closes: #577168)
2010-04-13regex for package names executed on Grp- not PkgIteratorDavid Kalnischkies
2010-04-09* apt-pkg/acquire-item.cc:David Kalnischkies
- Acquire::ForceHash to force method for expected hash - display MD5Sum in --print-uris if not forced to use another method instead of displaying the strongest available (Closes: #576420)
2010-04-08* cmdline/apt-get.cc:Michael Vogt
- fix crash when pkg.VersionList() is empty
2010-04-07* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- add a parent-guarded "mkdir -p" as CreateDirectory() * apt-pkg/acquire.{cc,h}: - add a delayed constructor with Setup() for success reporting - check for and create directories in Setup if needed instead of error out unfriendly in the Constructor (Closes: #523920, #525783) - optional handle a lock file in Setup() * cmdline/apt-get.cc: - remove the lock file handling and let Acquire take care of it instead
2010-04-01merged from lp:~donkult/apt/sidMichael Vogt
2010-03-30try version match in FindSrc first exact than fuzzy (LP: #551178)David Kalnischkies
2010-03-26* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option
2010-03-18merge MultiArch-ABI. We don't support MultiArch yet (as most other tools),David Kalnischkies
but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029)
2010-03-12* cmdline/apt-get.cc:Michael Vogt
- if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641)
2010-03-12* cmdline/apt-get.ccDavid Kalnischkies
- fix memory leaks in error conditions in DoSource()
2010-03-12* cmdline/apt-get.cc:David Kalnischkies
- add a --only-upgrade flag to install command (Closes: #572259) That is NOT what is requested in e.g. #74067 - this is a very simple flag which behaves orthogonal to --no-upgrade not a full-blown upgrade option for a single package instead of the whole package set.
2010-02-26move ShowPkg() from apt-get to the PkgIterator and rename it to FullName()David Kalnischkies
responseable for displaying a package name and the architecture in a uniform way. Pretty option can be used to not append the architecture if it is the native architecture or all - and use it all over the place in the commandline tools.
2010-02-18* buildlib/apti18n.h.in, po/makefile:David Kalnischkies
- add ngettext support with P_()
2010-02-15* buildlib/apti18n.h.in, po/makefile:David Kalnischkies
- add ngettext support with P_()
2010-02-15Activate support of :any and stuff in apt-get build-dep as we haveDavid Kalnischkies
now support for MultiArch, so Multi-Arch: allowed packages should already provide package:any
2010-02-13[BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies
but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029) MultiArch isn't ready for Primetime usage for now, but the branch has managed to be a NOP if used in SingleArch-mode so we can start to promote the use of the new MultiArchable API-extensions.
2010-02-12In SingleArch environments we don't need the arch "all" pseudo packageDavid Kalnischkies
for handling arch:all packages, so we create only one package and stop calling it a pseudo package.
2010-02-12Add yet another pseudo package which isn't as pseudo as the others:David Kalnischkies
Arch all packages are now represented by arch depending packages which all depend on a package with the same name and the special arch "all". This packages has NO dependencies, but beside this the same information. It is the only package which has a size, the arch depending ones all have a zero size. While the arch depending pseudo packages are used for dependency resolution the arch "all" package is used for downloading and ordering of the package.
2010-02-11display the architecture of the package if it is not the defaultDavid Kalnischkies
architecture in apt-get, display policy for all available architectures and use GrpIterator in apt-cache pkgnames
2010-01-31* cmdline/acqprogress.cc:Michael Vogt
- Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243) * ftparchive/writer.cc: - generate sha1 and sha256 checksums for dsc (Closes: #567343) * cmdline/apt-get.cc: - don't mark as manually if in download only (Closes: #468180)
2010-01-31* cmdline/apt-get.cc:David Kalnischkies
- don't mark as manually if in download only (Closes: #468180)
2010-01-08* cmdline/apt-get.cc:Michael Vogt
- fix apt-get source pkg=version regression (closes: #561971)
2009-12-10merged -r 1923..1926 from lp:~donkult/apt/sidMichael Vogt
2009-12-10merged -r1887..1901 from lp:~donkult/apt/sidMichael Vogt
2009-12-10* cmdline/apt-get.cc:Michael Vogt
- source should displays his final pkg pick (Closes: #249383, #550952) - source doesn't need the complete version for match (Closes: #245250) - source ignores versions/releases if not available (Closes: #377424)
2009-11-27add --debian-only as alias for --diff-only for all source v3 loversDavid Kalnischkies
2009-10-20only warn if (free) space can't be determined as it overflows the structDavid Kalnischkies
as this prevents e.g. download operations on large RAIDs (Closes: #522238)
2009-10-19rewrite FindSrc() in cmdline/apt-get.cc to fix some bugs, including:David Kalnischkies
* cmdline/apt-get.cc: - source should displays his final pkg pick (Closes: #249383, #550952) - source doesn't need the complete version for match (Closes: #245250) - source ignores versions/releases if not available (Closes: #377424)
2009-09-24When selecting a real package instead of a virtual one,David Kalnischkies
ignore versions for the same package that are not candidates. This allows us to survive repositories that contain more than one version of a package. Bugreport #547788 and patch by Marius Vollmer, thanks!
2009-08-12Add the pkg/release syntax to the source command in apt-get and alsoDavid Kalnischkies
add the understanding for codenames instead of archives here [cmdline/apt-get.cc] - add pkg/archive and codename in source (Closes: #414105, #441178)
2009-08-12[cmdline/apt-get.cc]David Kalnischkies
- use SourceVersion instead of the BinaryVersion to get the source Patch by Matt Kraai, thanks! (Closes: #382826)
2009-08-09[cmdline/apt-get.cc] correct the order of picked package binary vs sourceDavid Kalnischkies
in the source command in the msg "No source package x picking y instead"
2009-08-09[cmdline/apt-get.cc] check for availability ofstatfs.f_typeDavid Kalnischkies
Patch from Robert Millan, thanks! (Closes: #509313)
2009-07-31[cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916)David Kalnischkies
Patch from Mike O'Connor, thanks!
2009-07-31[cmdline/apt-get.cc] add APT::Get::HideAutoRemove=small to display onlyDavid Kalnischkies
a short line instead of the full package list. (Closes: #537450)
2009-07-30merged from debian-sidMichael Vogt
2009-07-30* cmdline/apt-get.cc:Michael Vogt
- honor APT::Get::Only-Source properly in FindSrc() (thanks to Martin Pitt for reporting the problem)
2009-07-07[apt-get] add possibility to hide the user simulation noteDavid Kalnischkies
2009-06-30add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies
2009-06-30merged r1811..1815 from lp:~donkult/apt/experimentalMichael Vogt
2009-06-29do not write state file in simulate mode (closes: #433007)Michael Vogt
2009-06-29support running "--simulate" as userMichael Vogt
2009-04-14build fixes, change version 0.7.21Michael Vogt
2009-04-09* apt-pkg/contrib/strutl.cc:Michael Vogt
- fix TimeToStr i18n (LP: #289807) * [ABI break] merge support for http redirects, thanks to Jeff Licquia and Anthony Towns * [ABI break] use int for the package IDs (thanks to Steve Cotton) * apt-pkg/pkgcache.cc: - do not run "dpkg --configure pkg" if pkg is in trigger-awaited state (LP: #322955) * methods/https.cc: - add Acquire::https::AllowRedirect support * Clarify the --help for 'purge' (LP: #243948) * cmdline/apt-get.cc - fix "apt-get source pkg" if there is a binary package and a source package of the same name but from different packages (LP: #330103) * cmdline/acqprogress.cc: - Call pkgAcquireStatus::Pulse even if quiet, so that we still get dlstatus messages on the status-fd (LP: #290234).
2009-03-09cmdline/apt-get.cc: fix typoMichael Vogt