Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-15 | fix logic for finding what package dpkg means in the --status-fd and only ↵ | Michael Vogt | |
send out short packagenames | |||
2013-10-14 | fix progress-segfault in case of dpkg errors/prompts | David Kalnischkies | |
Errors and conffile prompts have a fourth information piece, which the "old" code access which isn't provided by the "new" one. This isn't checking if the messages are really well-formed, so it could still segfault on misformed messages, but this code needs more work anyway, so one step at a time. Closes: 726047 | |||
2013-10-14 | re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need ↵ | Michael Vogt | |
this | |||
2013-10-14 | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵ | Michael Vogt | |
pkgAcquireStatus | |||
2013-10-13 | add APT::Progress::PackageManager::Pulse() | Michael Vogt | |
2013-10-13 | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵ | Michael Vogt | |
point, breaks ABI/API, lets see what we can do about this | |||
2013-10-11 | move common code into PackageManager::StatusChanged() | Michael Vogt | |
2013-10-11 | add missing _() around the new "Progress" string | Michael Vogt | |
2013-10-11 | first iteration of install progress refactor | Michael Vogt | |
2013-10-08 | apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset | Michael Vogt | |
2013-10-07 | fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea() | Michael Vogt | |
2013-10-07 | use Dpkg::Progress-Fancy to be consitent with Dpkg::Progress | Michael Vogt | |
2013-10-07 | add -o DpkgPM::Progress-Fancy for better dpkg progress output on vt100+ ↵ | Michael Vogt | |
terminals | |||
2013-10-02 | make dpkg progress slightly nicer | Michael Vogt | |
2013-09-07 | fix multiarch status-fd progress calculation | Michael Vogt | |
2013-08-28 | Merge remote-tracking branch 'mvo/feature/install-progress' into debian/sid | Michael Vogt | |
2013-08-16 | allow Pre-Install-Pkgs hooks to get info over an FD != stdin | David Kalnischkies | |
This adds ::InfoFD option alongside the ::Version one to request sending the information to the specified FD, by default it is STDIN as it was the case before. The environment variable APT_HOOK_INFO_FD contains the FD the data is on as a confirmation that the APT version used understood the request. Allowing the hook to choose the FD is needed/helpful e.g. for shellscripts which have a hard time accessing FDs above 9 (as >= 10 are usually used internally by them) Closes: #671728 | |||
2013-08-12 | use our _error stack to generate openpty errors | David Kalnischkies | |
While we don't want these error messages on our usual stack, we can use our usual infrastructure to generate an error message with all the usual bells like errno and strerror attached. Git-Dch: Ignore | |||
2013-08-12 | do not try to chown if not run as root | David Kalnischkies | |
If this code is run as non-root we are in a special situation (e.g. in our testcases) where it is obvious that we can't enforce user/group on any file, so skip this code altogether instead of bugging users with an error message – which we also switch to a warning as a failure to open the file is "just" a warning, so the 'wrong' owner shouldn't be that much of an issue. The file is still handled with chmod, so all the security we can enforce is still enforced of course, which also gets a warning if it fails. Git-Dch: Ignore | |||
2013-08-08 | fix -Wall errors | Michael Vogt | |
2013-07-28 | Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sid | Michael Vogt | |
2013-07-26 | fix some coverity chroot() releated warnings | Michael Vogt | |
2013-07-16 | fix if-clause to generate hook-info for 'rc' packages | David Kalnischkies | |
The code incorrectly skips printing of current version information, if the package has no current version (for APT, but for dpkg as it is the case for packages which are removed but not purged) by using an unintended "else if" rather than an "if". Closes: 717006 | |||
2013-07-11 | Add DPkgPM::Progress for terminal install progress | Michael Vogt | |
2013-07-11 | Version 3 for DPkg::Pre-Install-Pkgs with MultiArch info | David Kalnischkies | |
Adds on top of Version 2 to all displayed version numbers the architecture as well as the MultiArch flag for consumption by the hooks. Most of the time the architecture will be the same for both versions displayed, but packages might change from "all" to "any" (or back) between versions so we can't display the architecture for packages. Pseudo-Format for Version 3: <name> <version> <arch> <m-a-flag> <compare> <version> <arch> <m-a-flag> Examples: stuff - - none < 1 amd64 none **CONFIGURE** libsame 1 i386 same < 2 i386 same **CONFIGURE** stuff 2 i386 none > 1 i386 none **CONFIGURE** libsame 2 i386 same > - - none **REMOVE** toolkit 1 all foreign > - - none **REMOVE** Closes: #712116 | |||
2013-04-30 | merged from the debian-sid branch | Michael Vogt | |
2013-03-10 | various simple changes to fix cppcheck warnings | David Kalnischkies | |
2012-12-13 | merged from the debian-sid branch | Michael Vogt | |
2012-12-13 | change permissions of /var/log/apt/term.log to 0640 (LP: #975199) | Michael Vogt | |
2012-11-01 | merged from the debian-sid branch | Michael Vogt | |
2012-09-09 | handle packages without a mandatory architecture (debian-policy §5.3) | David Kalnischkies | |
by introducing a pseudo-architecture 'none' so that the small group of users with these packages can get right of them without introducing too much hassle for other users (Closes: #686346) | |||
2012-09-04 | merged sftp://bzr.debian.org/bzr/apt/apt/debian-sid | Michael Vogt | |
2012-09-03 | report the package name with architecture in the "no file" error message | David Kalnischkies | |
2012-05-22 | merged (and resolved a bunch of conflicts) of the debian-sid branch | Michael Vogt | |
2012-04-20 | merge from the lp:~mvo/apt/mvo branch | Michael Vogt | |
2012-04-20 | cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntu | Michael Vogt | |
2012-04-12 | Set FD_CLOEXEC on history.log's FD (Closes: #610069, LP: #636010) | Adam Conrad | |
2012-04-11 | use a static FileFd::Write overload to reduce duplication of write()-retry code | David Kalnischkies | |
2012-03-27 | * apt-pkg/deb/dpkgpm.cc: | Michael Vogt | |
- do not crash if (*I).Pkg is NULL (LP: #939867) | |||
2012-03-22 | make these retry_write methods static so that they don't end up as symbols | David Kalnischkies | |
2012-03-20 | * methods/rred.cc: | David Kalnischkies | |
- check return of writev() as gcc recommends * methods/mirror.cc: - check return of chdir() as gcc recommends * apt-pkg/deb/dpkgpm.cc: - check return of write() a gcc recommends * apt-inst/deb/debfile.cc: - check return of chdir() as gcc recommends * apt-inst/deb/dpkgdb.cc: - check return of chdir() as gcc recommends | |||
2012-03-13 | cherry pick 2217.1.26 (cppcheck fixes) | Michael Vogt | |
2012-03-05 | set char-limits for the scanf parsing previous crash-reports | David Kalnischkies | |
2012-03-04 | fix a bunch of cppcheck "(warning) Member variable '<#>' is not | David Kalnischkies | |
initialized in the constructor." messages (no functional change) | |||
2012-03-04 | handle a SIGINT in all modes as a break after the currently running | David Kalnischkies | |
dpkg transaction instead of ignoring it completely | |||
2012-02-11 | save the universe by not printing messages about apport if a package | David Kalnischkies | |
with this name is not installed (Closes: #619646) | |||
2012-02-09 | call dpkg --assert-multi-arch with execvp instead of execv | David Kalnischkies | |
2012-01-30 | merged from lp:~mvo/apt/mvo (and lp:~donkult/apt/experimental) | Michael Vogt | |
2012-01-30 | * apt-pkg/deb/dpkgpm.cc: | Michael Vogt | |
- fix crash when a package is in removed but residual config state (LP: #923807) | |||
2012-01-29 | ensure that dpkg binary doesn't have the chroot-directory prefixed | David Kalnischkies | |