summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
Commit message (Collapse)AuthorAgeFilesLines
...
| * | fix failing ./test/integration/test-disappearing-packages (thanks Donkult!)Michael Vogt2013-10-221-4/+4
| | |
| * | use Pkg.FullName() in disappearedPkgs and remove duplicated checkMichael Vogt2013-10-221-11/+2
| | |
| * | fix install-progress locationMichael Vogt2013-10-221-2/+1
| | |
| * | restore binary compatiblity with the pkgPackageManager interfaceMichael Vogt2013-10-211-1/+2
| | |
| * | fix apt output ordering and update test to match the new human friendly ↵Michael Vogt2013-10-211-5/+5
| | | | | | | | | | | | messages that include the architecture
| * | re-add missing APT::String::StripMichael Vogt2013-10-181-3/+4
| | |
| * | merged debian/sidMichael Vogt2013-10-181-130/+127
| | |
| * | cleanupMichael Vogt2013-10-182-34/+73
| | |
| * | ensure that short-name -> long-name detection for dpkg-status works for ↵Michael Vogt2013-10-171-1/+4
| | | | | | | | | | | | reinstalls too
| * | Merge branch 'debian/sid' into feature/install-progress-refactorMichael Vogt2013-10-172-10/+37
| |\| | | | | | | | | | | | | Conflicts: apt-pkg/deb/dpkgpm.cc
| | * fix broken clean when apt was finished and ensure that terminal progress is ↵Michael Vogt2013-10-172-9/+20
| | | | | | | | | | | | updated when a new dpkg-loop is entered in dpkgpm.cc
| | * tests, do not send pkgname with arch via the status-fdMichael Vogt2013-10-151-1/+1
| | |
| | * Merge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2Michael Vogt2013-10-151-3/+3
| | |\
| | | * fix progress-segfault in case of dpkg errors/promptsDavid Kalnischkies2013-10-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * add missing _() around the new "Progress" stringMichael Vogt2013-10-111-1/+1
| | | |
| | * | fix logic for finding what package dpkg means in the --status-fd and only ↵Michael Vogt2013-10-151-4/+19
| | |/ | | | | | | | | | send out short packagenames
| * | re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need ↵Michael Vogt2013-10-141-0/+6
| | | | | | | | | | | | this
| * | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵Michael Vogt2013-10-141-6/+4
| | | | | | | | | | | | pkgAcquireStatus
| * | add APT::Progress::PackageManager::Pulse()Michael Vogt2013-10-131-2/+3
| | |
| * | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵Michael Vogt2013-10-132-78/+28
| | | | | | | | | | | | point, breaks ABI/API, lets see what we can do about this
| * | move common code into PackageManager::StatusChanged()Michael Vogt2013-10-111-2/+3
| | |
| * | first iteration of install progress refactorMichael Vogt2013-10-112-91/+21
| |/
| * apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea resetMichael Vogt2013-10-081-1/+1
| |
| * Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sidMichael Vogt2013-10-082-9/+81
| |\
| | * fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea()Michael Vogt2013-10-071-1/+1
| | |
| | * use Dpkg::Progress-Fancy to be consitent with Dpkg::ProgressMichael Vogt2013-10-071-1/+1
| | |
| | * add -o DpkgPM::Progress-Fancy for better dpkg progress output on vt100+ ↵Michael Vogt2013-10-072-9/+81
| | | | | | | | | | | | terminals
| * | Merge remote-tracking branch 'mvo/bugfix/dpkg-progress-multiarch' into ↵Michael Vogt2013-10-051-27/+41
| |\| | | | | | | | | | debian/sid
| | * make dpkg progress slightly nicerMichael Vogt2013-10-021-3/+17
| | |
| | * fix multiarch status-fd progress calculationMichael Vogt2013-09-071-24/+24
| | |
| * | don't strip :any from dependencies in single-archDavid Kalnischkies2013-09-261-4/+2
| |/ | | | | | | | | | | | | | | | | | | | | The parser goes a bit to far by stripping :any from dependencies in a single architecture environment. the flag "Multi-Arch: allowed" doesn't care any architecture restrictions in that case (as in single arch everything is native), but it still limits the possible versions statisfying the dependency so stripping :any over-simplifies in upgrade situations from "Multi-Arch: none" to "Multi-Arch: allowed". Closes: 723586
| * Merge remote-tracking branch 'mvo/feature/install-progress' into debian/sidMichael Vogt2013-08-282-1/+18
| |\
| | * Add DPkgPM::Progress for terminal install progressMichael Vogt2013-07-112-1/+18
| | |
* | | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2013-08-172-6/+16
|\| | | | | | | | | | | | | | | | | Conflicts: cmdline/apt-get.cc debian/changelog
| * | allow Pre-Install-Pkgs hooks to get info over an FD != stdinDavid Kalnischkies2013-08-161-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | init the pkgTagFile with the size of the Release fileDavid Kalnischkies2013-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | Release files are basically one big Section, so we might safe some Resize circles by starting with the filesize. Git-Dch: Ignore
* | | fix merge artifactMichael Vogt2013-08-151-5/+0
| | |
* | | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2013-08-154-123/+122
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | use our _error stack to generate openpty errorsDavid Kalnischkies2013-08-121-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * | do not try to chown if not run as rootDavid Kalnischkies2013-08-121-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | fix -Wall errorsMichael Vogt2013-08-081-2/+4
| | |
| * | use pkgTagFile to parse "header" of Release filesDavid Kalnischkies2013-08-081-85/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The handwritten parsing here was mostly done as we couldn't trust the Release file we got, but nowadays we are sure that the Release file is valid and contains just a single section we want it to include. Beside reducing code it also fixes a bug: Fieldnames in deb822 formatted files are case-insensitive and pkgTagFile does it correctly, but this selfbuilt stuff here didn't.
| * | Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sidMichael Vogt2013-07-282-0/+2
| |\ \
| | * | fix some coverity chroot() releated warningsMichael Vogt2013-07-261-0/+1
| | | |
| | * | delete targets dataMichael Vogt2013-07-251-0/+1
| | |/
| * / fix if-clause to generate hook-info for 'rc' packagesDavid Kalnischkies2013-07-161-1/+1
| |/ | | | | | | | | | | | | | | | | 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
| * implement arch+= and arch-= for sources.listDavid Kalnischkies2013-07-111-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default is to acquire all architectures from APT::Architectures which can be changed by arch=, but this isn't very flexible if you want "mostly" the default as you have to hardcode the architectures then, so arch-= and arch+= can be used to add/remove architectures from the default set. On a machine with 'amd64' and 'i386' configured the lines: deb [arch+=armel] http://example.org/debian wheezy rocks deb [arch-=amd64] http://example.org/debian jessie rocks will result in the download of: wheezy Packages for 'amd64', 'i386' and 'armel' jessie Packages for 'i386'
| * Version 3 for DPkg::Pre-Install-Pkgs with MultiArch infoDavid Kalnischkies2013-07-112-22/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * handle missing "Description" in apt-cache showDavid Kalnischkies2013-06-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | do not blindly assume that all packages stanzas have a "Description:" field in 'apt-cache show' as well as in the cache creation itself. We instead assume now that if the stanza has a Description, it will not be the first field as we look out for "\nDescription" to take care of MD5sum as well as (maybe ignored) translated Descriptions embedded in the package stanza. Closes: #712435
* | merged debian-sid branch and resolved conflictsMichael Vogt2013-04-235-39/+55
|\|