summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-12remove duplication in pkgCdrom::Add and ::IdentDavid Kalnischkies
Git-Dch: Ignore
2014-02-12apt-cdrom should succeed if any drive succeedsJohn Ogness
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
2014-02-11use utimes instead of utimensat/futimensDavid Kalnischkies
cppcheck complains about the obsolete utime as it was removed in POSIX1.2008 and recommends usage of utimensat/futimens instead as those are in POSIX and so commit 9ce3cfc9 switched to them. It is just that they aren't as portable as the standard suggests: At least our kFreeBSD and Hurd ports stumble over it at runtime. So to make both, the ports and cppcheck happy, we use utimes instead. Closes: 738567
2014-02-10use VersionSet in download to handle repeatsDavid Kalnischkies
Closes: 738103
2014-02-10always cleanup patchfiles at the end of rred callDavid Kalnischkies
With APT::Get::List-Cleanup disabled the ed-style patch files are lingering in the lists/ directory otherwise. That was kinda okay in the old none-client-merge as the filename was always the same so it was constantly overridden, but now with different names for client-merge quiet a few could pill up on the system and are used by the next call as it picks them up based on the filename.
2014-02-10do not use an empty APT_CONFIG environment variableDavid Kalnischkies
2014-02-10disable doxygen undocumented method warningDavid Kalnischkies
Very few methods we have are documented, so this is A LOT of noise hidden the "interesting" warnings about methods which are documented, but incorrectly and such stuff. Git-Dch: Ignore
2014-02-10bump Standards-Version to 3.9.5 (no changes needed)David Kalnischkies
2014-02-10update libapt-pkg.symbols fileDavid Kalnischkies
2014-02-10simplify code to make compilers happyDavid Kalnischkies
Does the same as before, but is a bit simpler on the logic for humans as well as compilers. scan-build complained about it at least with: "Result of operation is garbage or undefined" Reported-By: scan-build
2014-02-10fix remaining testcase-bugs from my armel boxDavid Kalnischkies
Git-Dch: Ignore
2014-02-06releasing package apt version 0.9.15.1Michael Vogt
2014-02-06multicompress with externals sets wrong file modesColin Watson
Copy from the bug description: After we upgraded the Ubuntu master archive from lucid to precise, we noticed that Translation-en.bz2 was being written with mode 0600 rather than 0644, which broke our mirroring. This is no longer reproducible as such in unstable because apt now links against libbz2, but it's still reproducible with xz; it happens because multicompress fchmods one end of the compression pipe in this case rather than the target file. [Original testcase slightly modified to comply with house-style] Closes: 737130
2014-02-06Merge remote-tracking branch 'mvo/bugfix/multiarch-upgrade' into debian/sidMichael Vogt
2014-02-06discard impossible candidates in MarkInstallDavid Kalnischkies
If a (Pre-)Depends can't be satisfied there is no point in keeping the candidate as is as it is impossible to find a solution for it, so we can just as well reset the candidate to the currently installed version. We avoid trying to install this impossible candidate later on this way. Closes: #735967
2014-02-04Fix multiarch package upgrade issueMichael Vogt
When checking for negative dependencies in MarkInstall() ensure that only dependencies that are relevant (i.e. getting installed) are checked.
2014-01-31show "status" in apt list lastMichael Vogt
2014-01-31Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
2014-01-30do not crash if VF.File()/VF.File().Archive() is NULLMichael Vogt
2014-01-30fix various style/performance warnings in rredDavid Kalnischkies
Reported-By: cppcheck Git-Dch: Ignore
2014-01-30restart debSrcRecordParsers only if neededDavid Kalnischkies
The offset variable in DebSrcRecordParser was not initialized which we now do and based on it do not trigger a restart if the parser was not used yet avoiding a needless rescan of the section. Detected while working on the previous commit e62aa1dd. Both commits act as a "fix" for the bug shown in the testcase of the commit – this one here would only hide it through.
2014-01-30pkgTagFile: if we have seen the end, do not try to see moreDavid Kalnischkies
Asking for more via Step() will notice that we are done with the file already and will result in a fail, which means we can't find the last sections anymore (which is especially painful if we haven't moved at all as in the testcase we haven't even looked at one of the sources leading to a strange behaviour) Reported-By: Niall Walsh <niallwalsh@users.berlios.de>
2014-01-29fix apt-get download truncation (closes: #736962)Michael Vogt
2014-01-28add test for Suite with pathMichael Vogt
2014-01-26enable deb822 sources for associated testcaseDavid Kalnischkies
Git-Dch: Ignore
2014-01-26fixup merge issues introduced in 796673cDavid Kalnischkies
Issues in doc/po/de.po (fixed by Chris already) and test/integration/framework Git-Dch: Ignore
2014-01-26Trivian unfuzzies of the German po4a translationChris Leick
2014-01-26Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
2014-01-25releasing package apt version 0.9.150.9.15Michael Vogt
2014-01-25Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt
2014-01-25Merge branch 'debian/experimental-no-abi-break' into debian/sidMichael Vogt
2014-01-25support " " in deb822 source optionsMichael Vogt
2014-01-25use svg in doxygen and ensure dot is around for itDavid Kalnischkies
2014-01-24releasing package apt version 0.9.14.3~exp50.9.14.3.exp5Michael Vogt
2014-01-24fix testMichael Vogt
2014-01-24set APT::Sources::Use-Deb822 to default false for nowMichael Vogt
2014-01-24make update-poMichael Vogt
2014-01-24Merge remote-tracking branch 'mvo/feature/apt-show-nice' into ↵Michael Vogt
debian/experimental-no-abi-break Conflicts: apt-private/private-cmndline.cc
2014-01-24Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-24Merge remote-tracking branch 'ajt/better-pdiffs-dk' into debian/sidMichael Vogt
2014-01-24apt-mark help shows all commands nowMichael Vogt
2014-01-24hide more from apt showMichael Vogt
Hide the Hashes,Filename,Multi-Arch,Architecture by default from "apt show". The information is still available via apt-cache show. Also improve the output of the Size-
2014-01-24show APT-Sources in apt showMichael Vogt
2014-01-24Show "Manual-Installed: {yes|no}" in apt showMichael Vogt
2014-01-24add "apt full-upgrade" and tweak "apt upgrade"Michael Vogt
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".
2014-01-24update german manpage translationChris Leick
2014-01-23include "Archive-Origin" in the apt show outputMichael Vogt
2014-01-23Show only the candidate with "apt show"Michael Vogt
Display only the candidate version with "apt show pkg" but show a notice that there is more to see.
2014-01-22releasing package apt version 0.9.14.3~exp4Michael Vogt
2014-01-22Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt
debian/experimental-no-abi-break