ntk/apt.git
12 years agoFixed a problem where the loop flag would be removed prematurely.
Christopher Baines [Tue, 16 Aug 2011 17:00:01 +0000 (18:00 +0100)]
Fixed a problem where the loop flag would be removed prematurely.

  SmartConfigure xserver-xorg-video-apm (1:1.2.3-0ubuntu1)
    SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) <- Loop flag set on xserver-xorg-core
      SmartConfigure xserver-xorg (1:7.5+6ubuntu3)
        SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) (Only Correct Dependancies) <- Loop flag removed prematurely
          SmartConfigure libpciaccess0 (0.12.0-1)
          SmartConfigure libpixman-1-0 (0.18.4-1)
        SmartConfigure xserver-xorg-video-all (1:7.5+6ubuntu3)
          SmartConfigure xserver-xorg-video-apm (1:1.2.3-0ubuntu1) (Only Correct Dependancies)
            SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) <- Incorrectly detects first run as no loop flag

Also applied this fix to the SmartUnpack method.

12 years agoFixed a bug where SmartUnPack would be called with Immediate=true (to resolve dependa...
Christopher Baines [Mon, 15 Aug 2011 21:31:09 +0000 (22:31 +0100)]
Fixed a bug where SmartUnPack would be called with Immediate=true (to resolve dependancies in SmartConfigure) yet Pkg
would not be immediately configured. This was because SmartUnPack still required the immediate flag to be set on Pkg.

Also inproved the debuging adding indented output for SmartUnPack and SmartConfigure and specifying in the output if
SmartConfigure or SmartUnPack was called just to Correct something (PkgLoop = true) or not.

12 years agoApplied DonKult (David)'s excellent fix for inproving the loop management. Now both...
Christopher Baines [Sun, 14 Aug 2011 17:41:38 +0000 (18:41 +0100)]
Applied DonKult (David)'s excellent fix for inproving the loop management. Now both SmartConfigure and SmartUnPack can be
called mutiple times on the same package, this is to make sure that when loops are broken all packages that are required
are kept in the same dpkg run.

12 years agoFix a bug introduced in Rev.2159 on line 398, also fix another potential bug.
Christopher Baines [Sat, 13 Aug 2011 16:29:49 +0000 (17:29 +0100)]
Fix a bug introduced in Rev.2159 on line 398, also fix another potential bug.

12 years agoAdded code to allow SmartConfigure to be called mutiple times on the same package...
Christopher Baines [Fri, 12 Aug 2011 15:36:25 +0000 (16:36 +0100)]
Added code to allow SmartConfigure to be called mutiple times on the same package to ensure all dependancies are satisfied.

12 years agoInproved debug with versioning
Christopher Baines [Fri, 12 Aug 2011 11:22:17 +0000 (12:22 +0100)]
Inproved debug with versioning

12 years agoSmall fix for loop handeling.
Christopher Baines [Fri, 12 Aug 2011 09:38:19 +0000 (10:38 +0100)]
Small fix for loop handeling.

12 years agoAdded a RmFlag function to remvoe the loop flag, this should prevent any errors or...
Christopher Baines [Thu, 11 Aug 2011 14:35:54 +0000 (15:35 +0100)]
Added a RmFlag function to remvoe the loop flag, this should prevent any errors or wierd behaviour because of the loop flag being used
at mutiple stages in both SmartUnpack and SmartConfigure.

12 years agoMore inproved comments about loops.
Christopher Baines [Tue, 9 Aug 2011 16:10:09 +0000 (17:10 +0100)]
More inproved comments about loops.

12 years agoImproved errors and messages in general and improved the comments.
Christopher Baines [Sun, 7 Aug 2011 19:26:31 +0000 (20:26 +0100)]
Improved errors and messages in general and improved the comments.
Removed quite a bit of code I used while learning about how apt handles things.
Added some extra checks and warnings relevent for Immediate Configuration.
Removed a wierd section I put in to prevent a segfault at 724+, this appears no longer to be needed.

12 years agoFixed a bug on line 623, I picked this up after seeing SmartUnpack trying to remove...
Christopher Baines [Sun, 7 Aug 2011 15:35:36 +0000 (16:35 +0100)]
Fixed a bug on line 623, I picked this up after seeing SmartUnpack trying to remove packages once they were confiured to solve Conflicts with the previous version!
Luckily EarlyRemove is sane, and properly checks, so I think this was just cosmetic.

Also fixed a bug on line 374 with SmartUnpack not checking if a dependancy has been removed, this bug was definately harmful.

12 years agoInproved the SIGINT stop in the dpkgpm, not perfect yet but it should work when using...
Christopher Baines [Tue, 2 Aug 2011 09:29:11 +0000 (10:29 +0100)]
Inproved the SIGINT stop in the dpkgpm, not perfect yet but it should work when using Immediate-Configure-All.

12 years agoOnly stop on SigInt if the system state is right (still needs more testing).
Christopher Baines [Mon, 1 Aug 2011 11:27:10 +0000 (12:27 +0100)]
Only stop on SigInt if the system state is right (still needs more testing).
More inprovements to the package manager to prevent packages from being configured
twice.

12 years agoOnly allow interupts when using, Immediate-Configure-All.
Christopher Baines [Sun, 31 Jul 2011 15:26:39 +0000 (16:26 +0100)]
Only allow interupts when using, Immediate-Configure-All.

TODO for dpkgpm:
Useful messages about the interupt, what was done to what packages and what was not done to what packages.
Only fail when the system is in a clean state, at the moment it will fail either a configure or install run.

12 years agoSmartConfigure and SmartUnPack have got smarter! The full descriptions of what they...
Christopher Baines [Wed, 27 Jul 2011 14:20:35 +0000 (15:20 +0100)]
SmartConfigure and SmartUnPack have got smarter! The full descriptions of what they now do is in the apt-pkg/packagemanager.cc file.
The short version is that they will both put the system in a state where there operation can be achived, this involves calling
themselves and each other recursively. Because SmartConfigure can now configure a package and all its dependancies itself, there is
no current need for DepAdd (at least in packagemanager.cc), SmartConfigure also performs the function of the short lived VerifyConfigure
as it checks through all the dependancies before performing configuration.

Another change is to use the ConfigureAll method in OrderInstall to clean up any packages left unconfigured during ImmConfigureAll.
This is necessary to inprove the safety of ImmConfiguration and because of the new SIGINT functionality of dpkgpm.cc relies on no
packages being left unconfigured between pairs of dpkg calls.  While writing this commit log, I have realised that the SIGINT stuff
is a prototype and not ready to be used yet as I have only tested it twice.

12 years agoDont try to configure packages using SmartConfigure when not performing immediate...
Christopher Baines [Sat, 16 Jul 2011 21:10:52 +0000 (22:10 +0100)]
Dont try to configure packages using SmartConfigure when not performing immediate configuration.

12 years agoInproved errors and warnings, will now warn if package configuration fails, but only...
Christopher Baines [Thu, 14 Jul 2011 15:39:06 +0000 (16:39 +0100)]
Inproved errors and warnings, will now warn if package configuration fails, but only error if the package is not configured at the end.

12 years agoMore changes to make imediate configuration work for all packages,
Christopher Baines [Thu, 14 Jul 2011 12:26:19 +0000 (13:26 +0100)]
More changes to make imediate configuration work for all packages,
I have stolen the Loop flag from orderlist.cc as it didnt seem to use it anymore.

12 years agoAdded test for conflicts loop
Christopher Baines [Wed, 13 Jul 2011 09:50:41 +0000 (10:50 +0100)]
Added test for conflicts loop

12 years agoMore changes to the SmartUnpack method to allow imediate configuration of all packages.
Christopher Baines [Wed, 13 Jul 2011 08:12:19 +0000 (09:12 +0100)]
More changes to the SmartUnpack method to allow imediate configuration of all packages.

12 years agoAdded a APT::Immediate-Configure-All option to enable imediate configuration for...
Christopher Baines [Wed, 6 Jul 2011 21:13:59 +0000 (22:13 +0100)]
Added a APT::Immediate-Configure-All option to enable imediate configuration for all packages.
Began adding to the SmartUnpack method to prevent dependancy loops breaking apt.

12 years agoFlag the package in the SmartUnPack method as UnPacked while solving breakages to...
Christopher Baines [Tue, 5 Jul 2011 15:20:09 +0000 (16:20 +0100)]
Flag the package in the SmartUnPack method as UnPacked while solving breakages to prevent loops.

12 years agoFix for reinstallation of packages
Christopher Baines [Tue, 5 Jul 2011 13:14:24 +0000 (14:14 +0100)]
Fix for reinstallation of packages

12 years ago[ David Kalnischkies ]
Christopher Baines [Tue, 5 Jul 2011 12:28:22 +0000 (13:28 +0100)]
[ David Kalnischkies ]
* doc/makefile:
  - create doxygen directory to avoid depending on magic (Closes: #628799)
* cmdline/apt-key:
  - explicitly state that net-update is not supported if no url is set
  - require to be root for add, rm, update and net-update
  - clarify update vs. net-update in different distros (Closes: #632043)
* debian/apt.symbols:
  - forgot 'mips' in the list for all architecture dependent symbols
  - comment out gcc-4.5 specific symbols as gcc-4.6 is now default
  - the symbol for PrintStatus() is architecture dependent
* apt-pkg/policy.cc:
  - do not segfault in pinning if a package with this name doesn't exist.
    Thanks to Ferdinand Thommes for the report!
  - Defaults is a vector of Pin not of PkgPin
  - ensure that only the first specific stanza for a package is used
  - save all stanzas which had no effect in Unmatched
  - allow package:architecure in Package:
  - remove invalid pkgcache.bin and rebuild it if possible
  - log reinstall commands in history.log
* apt-pkg/init.cc:
  - don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!
* cmdline/apt-config.cc:
  - show Acquire::Languages and APT::Architectures settings
    in 'dump' (Closes: 626739)
* apt-pkg/orderlist.cc:
  - ensure that an old version of a package with a provides can
    never satisfy a dependency of a newer version of this package
[ Michael Vogt ]
* methods/mirror.cc:
  - ignore lines starting with "#" in the mirror file
  - ignore non http urls in the mirrors
  - append the dist (e.g. sid, wheezy) as a query string when
    asking for a suitable mirror
* apt-pkg/deb/deblistparser.cc:
  - include all known languages when building the apt cache
    (LP: #794907)
* apt-pkg/deb/debindexfile.cc:
  - remove some no longer valid checks for "TranslationsAvailable()"
[ Kenneth Solbø Andersen ]
* apt-pkg/deb/dpkgpm.cc:
  - set permissions of term.log to root.adm and 644 (LP: #404724)

[ Chris Leick ]
* various typo and syntax corrections in doc/*.xml

[Chris Baines]
* Began to fix DepAdd for imediate configuration of all packages

12 years agoCommit some stuff so that I can merge
Christopher Baines [Tue, 5 Jul 2011 12:11:19 +0000 (13:11 +0100)]
Commit some stuff so that I can merge

12 years agoChanged check in the SmartUnpack method, reverted change in the DepAdd method.
Christopher Baines [Tue, 5 Jul 2011 12:04:30 +0000 (13:04 +0100)]
Changed check in the SmartUnpack method, reverted change in the DepAdd method.

12 years agoRemoved some debug stuff, corrected the VerifyConfigure calls to VerifyAndConfigure
Christopher Baines [Tue, 5 Jul 2011 10:30:35 +0000 (11:30 +0100)]
Removed some debug stuff, corrected the VerifyConfigure calls to VerifyAndConfigure

12 years agoAdded temp debug statement.
Christopher Baines [Mon, 4 Jul 2011 11:12:13 +0000 (12:12 +0100)]
Added temp debug statement.

12 years agoAdded debug output to package manager.
Christopher Baines [Sun, 3 Jul 2011 19:45:07 +0000 (20:45 +0100)]
Added debug output to package manager.

12 years agoThe modification to orderlist.cc is from a patch DonKult (David) gave me, The modific...
Christopher Baines [Sat, 2 Jul 2011 14:33:25 +0000 (15:33 +0100)]
The modification to orderlist.cc is from a patch DonKult (David) gave me, The modifications to the packagemanager should fix the test-provides-gone-with-upgrade testcase.

12 years agoreleasing version 0.8.15.1 0.8.15.1
Michael Vogt [Thu, 30 Jun 2011 08:14:38 +0000 (10:14 +0200)]
releasing version 0.8.15.1

12 years ago* doc/makefile:
Michael Vogt [Thu, 30 Jun 2011 07:33:19 +0000 (08:33 +0100)]
* doc/makefile:
  - create doxygen directory to avoid depending on magic (Closes: #628799)
* cmdline/apt-key:
  - explicitly state that net-update is not supported if no url is set
  - require to be root for add, rm, update and net-update
  - clarify update vs. net-update in different distros (Closes: #632043)
* debian/apt.symbols:
  - forgot 'mips' in the list for all architecture dependent symbols
  - comment out gcc-4.5 specific symbols as gcc-4.6 is now default
  - the symbol for PrintStatus() is architecture dependent
* apt-pkg/policy.cc:
  - do not segfault in pinning if a package with this name doesn't exist.
    Thanks to Ferdinand Thommes for the report!
  - Defaults is a vector of Pin not of PkgPin
  - ensure that only the first specific stanza for a package is used
  - save all stanzas which had no effect in Unmatched
  - allow package:architecure in Package:

12 years agoreleasing version 0.8.15 0.8.15
Michael Vogt [Tue, 28 Jun 2011 16:49:01 +0000 (18:49 +0200)]
releasing version 0.8.15

12 years agovarious typo and syntax corrections in doc/*.xml
Michael Vogt [Tue, 28 Jun 2011 16:00:07 +0000 (17:00 +0100)]
various typo and syntax corrections in doc/*.xml

12 years agoupdate symbol file (thanks to david)
Michael Vogt [Tue, 28 Jun 2011 15:27:48 +0000 (16:27 +0100)]
update symbol file (thanks to david)

12 years agomerged from lp:~mvo/apt/mvo
Michael Vogt [Tue, 28 Jun 2011 14:51:33 +0000 (15:51 +0100)]
merged from lp:~mvo/apt/mvo

12 years agomerged from donkult
Michael Vogt [Tue, 28 Jun 2011 14:49:45 +0000 (15:49 +0100)]
merged from donkult

12 years agochange to 0.8.14.2
Michael Vogt [Tue, 28 Jun 2011 14:46:28 +0000 (15:46 +0100)]
change to 0.8.14.2

12 years agocherry pick from donkult
Michael Vogt [Tue, 28 Jun 2011 14:45:59 +0000 (15:45 +0100)]
cherry pick from donkult

12 years agoRemoved temp debug lines.
Christopher Baines [Mon, 27 Jun 2011 13:56:07 +0000 (14:56 +0100)]
Removed temp debug lines.

12 years agoFixed missing argument in VerifyConfigure call.
Christopher Baines [Mon, 27 Jun 2011 13:52:41 +0000 (14:52 +0100)]
Fixed missing argument in VerifyConfigure call.

12 years agoInitial commit from my GSoC project. Added a verification function (VerifyConfigure...
Christopher Baines [Mon, 27 Jun 2011 13:34:00 +0000 (14:34 +0100)]
Initial commit from my GSoC project. Added a verification function (VerifyConfigure) to the configuration methods.

12 years ago* apt-pkg/deb/dpkgpm.cc:
Michael Vogt [Mon, 27 Jun 2011 08:46:41 +0000 (10:46 +0200)]
* apt-pkg/deb/dpkgpm.cc:
  - set permissions of term.log to root.adm and 644 (LP: #404724)

13 years agoCatalan translation update (Jordi Mallach). Closes: #630657
bubulle@debian.org [Sat, 18 Jun 2011 11:56:21 +0000 (13:56 +0200)]
Catalan translation update (Jordi Mallach). Closes: #630657

13 years agoGerman documentation translation update (Chris Leick). Closes: #629949
bubulle@debian.org [Thu, 9 Jun 2011 20:48:35 +0000 (22:48 +0200)]
German documentation translation update (Chris Leick). Closes: #629949

13 years agoupdate changelog for the previous two commits
Michael Vogt [Thu, 9 Jun 2011 12:02:03 +0000 (14:02 +0200)]
update changelog for the previous two commits

13 years agoapt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage that...
Michael Vogt [Thu, 9 Jun 2011 11:30:08 +0000 (13:30 +0200)]
apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage that is not needed

13 years agoapt-pkg/deb/debindexfile.cc: remove tests for TranslationsAvailable() as this will...
Michael Vogt [Thu, 9 Jun 2011 11:24:36 +0000 (13:24 +0200)]
apt-pkg/deb/debindexfile.cc: remove tests for TranslationsAvailable() as this will break adding translations to the cache if the current environment does not include the language (e.g. LANG=C but german translations). testing for existance of the file is the better approach

13 years ago* apt-pkg/deb/deblistparser.cc:
Michael Vogt [Thu, 9 Jun 2011 09:51:45 +0000 (11:51 +0200)]
* apt-pkg/deb/deblistparser.cc:
  - include all known languages when building the apt cache
    (LP: #794907)

13 years agoappend the dist (e.g. sid, wheezy) as a query string when
Michael Vogt [Tue, 7 Jun 2011 11:21:47 +0000 (13:21 +0200)]
append the dist (e.g. sid, wheezy) as a query string when
asking for a suitable mirror

13 years ago* methods/mirror.cc:
Michael Vogt [Tue, 7 Jun 2011 06:48:09 +0000 (08:48 +0200)]
* methods/mirror.cc:
  - ignore lines starting with "#" in the mirror file
  - ignore non http urls in the mirrors

13 years agomerge from lp:~mvo/apt/mvo
Michael Vogt [Tue, 31 May 2011 08:56:06 +0000 (10:56 +0200)]
merge from lp:~mvo/apt/mvo

13 years agoapt-pkg/acquire-item.cc: only test packages file for correctness if its not empty...
Michael Vogt [Tue, 31 May 2011 08:40:53 +0000 (10:40 +0200)]
apt-pkg/acquire-item.cc: only test packages file for correctness if its not empty (its ok to have empty packages files)

13 years agomerged from the debian branch
Michael Vogt [Tue, 31 May 2011 08:34:56 +0000 (10:34 +0200)]
merged from the debian branch

13 years agoReject files known to be invalid (LP: #346386) (Closes: #627642)
Julian Andres Klode [Mon, 30 May 2011 12:14:11 +0000 (14:14 +0200)]
Reject files known to be invalid (LP: #346386) (Closes: #627642)

13 years agoapt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) (Closes:...
Julian Andres Klode [Mon, 30 May 2011 12:04:01 +0000 (14:04 +0200)]
apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) (Closes: #195301)

This commit deals with the following cases:

  - First section of index file (Packages,Sources,Translation) without Package field
  - Signed release files without GPG data (NODATA)
  - i18n/Index files without hash sums

Handling unsigned Release files is more complicated, and the example code
using indexRecords is disabled as it can reject correct Release files
without hashes. How we can reliably check unsigned Release files is
another question, and not urgent anyway, as it should have no
dramatic effect (we could check that it is a valid RFC-822 section,
but that's a bit too long to write)

13 years ago* cmdline/apt-config.cc:
David Kalnischkies [Sat, 28 May 2011 08:56:46 +0000 (10:56 +0200)]
* cmdline/apt-config.cc:
  - show Acquire::Languages and APT::Architectures settings
    in 'dump' (Closes: 626739)

13 years ago* apt-pkg/init.cc:
Jörg Sommer [Sat, 28 May 2011 08:54:10 +0000 (10:54 +0200)]
* apt-pkg/init.cc:
  - don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer!

13 years agouse the correct option name in comment for Acquire::Languages
Jörg Sommer [Sat, 28 May 2011 08:14:43 +0000 (10:14 +0200)]
use the correct option name in comment for Acquire::Languages

13 years agoItalian translation update (Milo Casagrande). Closes: #627834
bubulle@debian.org [Wed, 25 May 2011 12:45:04 +0000 (14:45 +0200)]
Italian translation update (Milo Casagrande). Closes: #627834

13 years agodebian/changelog: next version will be 0.8.15
Michael Vogt [Wed, 25 May 2011 12:43:05 +0000 (14:43 +0200)]
debian/changelog: next version will be 0.8.15

13 years agolog reinstall commands in history.log
David Kalnischkies [Mon, 23 May 2011 16:10:48 +0000 (18:10 +0200)]
log reinstall commands in history.log

13 years agoremove invalid pkgcache.bin and rebuild it if possible
David Kalnischkies [Thu, 19 May 2011 12:16:43 +0000 (14:16 +0200)]
remove invalid pkgcache.bin and rebuild it if possible

The next invocation of APT tried to load an outdated big
(and possible io-cold) file just to end up rebuilding it
(possibly only as non-root in memory again and again), so
we remove it here and if we have a srcpkgcache we are
going to rebuild, too.

13 years agorename I to J to avoid redefining a variable (clang warning)
David Kalnischkies [Tue, 17 May 2011 13:15:13 +0000 (15:15 +0200)]
rename I to J to avoid redefining a variable (clang warning)

13 years agoServerState is a struct and not a class (clang mismatch type warning)
David Kalnischkies [Tue, 17 May 2011 13:13:56 +0000 (15:13 +0200)]
ServerState is a struct and not a class (clang mismatch type warning)

13 years agoremove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)
David Kalnischkies [Tue, 17 May 2011 13:12:04 +0000 (15:12 +0200)]
remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Mon, 16 May 2011 13:57:52 +0000 (15:57 +0200)]
merged from lp:~donkult/apt/sid

13 years ago* apt-pkg/packagemanager.cc:
David Kalnischkies [Mon, 16 May 2011 09:41:43 +0000 (11:41 +0200)]
* apt-pkg/packagemanager.cc:
  - ensure for Multi-Arch:same packages that they are unpacked in
    lock step even in immediate configuration (Closes: #618288)

13 years agoGalician translation update (Miguel Anxo Bouzada). Closes: #626505
bubulle@debian.org [Fri, 13 May 2011 21:00:18 +0000 (23:00 +0200)]
Galician translation update (Miguel Anxo Bouzada). Closes: #626505

13 years agoMAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needs
David Kalnischkies [Thu, 12 May 2011 23:14:50 +0000 (01:14 +0200)]
MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needs
to ships a patch for this so pretend to be nice and make it work (TM)

13 years ago* apt-pkg/contrib/netrc.cc:
David Kalnischkies [Thu, 12 May 2011 23:12:21 +0000 (01:12 +0200)]
* apt-pkg/contrib/netrc.cc:
  - replace non-posix gnu-extension strdupa with strdup

13 years agorewrite new and previously satisfied important dependency detection in
David Kalnischkies [Thu, 12 May 2011 22:07:22 +0000 (00:07 +0200)]
rewrite new and previously satisfied important dependency detection in
MarkInstall to be a bit more easy to read and possibily a bit faster -
and add a small testcase for these situations to ensure the same behaviour

13 years agomove the broken dependency detection above the new recommends detection
David Kalnischkies [Thu, 12 May 2011 10:45:37 +0000 (12:45 +0200)]
move the broken dependency detection above the new recommends detection
as if the recommends can't be installed there is not much sense in checking
if it a new recommends or not

13 years agoconvert a lot of places to use IsNegative instead of checking by hand
David Kalnischkies [Wed, 11 May 2011 14:05:30 +0000 (16:05 +0200)]
convert a lot of places to use IsNegative instead of checking by hand
for the three different dependencies

13 years agoif critical or-group can't be satisfied, exit directly.
David Kalnischkies [Wed, 11 May 2011 12:09:18 +0000 (14:09 +0200)]
if critical or-group can't be satisfied, exit directly.

13 years agofix order of CurrentURI and UsedMirror in Status() and Log()
David Kalnischkies [Tue, 10 May 2011 16:51:29 +0000 (18:51 +0200)]
fix order of CurrentURI and UsedMirror in Status() and Log()

13 years agodequote URL taken from Location in redirects as we will otherwise
David Kalnischkies [Tue, 10 May 2011 13:49:25 +0000 (15:49 +0200)]
dequote URL taken from Location in redirects as we will otherwise
quote an already quoted string in the request later (Closes: #602412)

13 years agoLocation header in redirects should be absolute URI, but some
David Kalnischkies [Thu, 28 Apr 2011 23:20:44 +0000 (01:20 +0200)]
Location header in redirects should be absolute URI, but some
servers just send an absolute path so still deal with it properly

13 years ago* debian/control:
Julian Andres Klode [Wed, 27 Apr 2011 12:52:49 +0000 (14:52 +0200)]
* debian/control:
  - Move ${shlibs:Depends} to Pre-Depends, as we do not want APT
    unpacked if a library is too old and thus break upgrades

13 years agosupport lighttpd as test webserver but still prefer weborf
David Kalnischkies [Wed, 27 Apr 2011 12:38:48 +0000 (14:38 +0200)]
support lighttpd as test webserver but still prefer weborf

13 years ago* methods/http.cc:
David Kalnischkies [Wed, 27 Apr 2011 08:32:53 +0000 (10:32 +0200)]
* methods/http.cc:
  - add config option to ignore a closed stdin to be able to easily
    use the method as a simple standalone downloader

13 years ago* apt-pkg/acquire-item.cc:
Ben Finney [Tue, 26 Apr 2011 20:45:31 +0000 (22:45 +0200)]
* apt-pkg/acquire-item.cc:
  - apply fix for poorly worded 'locate file' error message from
    Ben Finney, thanks! (Closes: #623171)

13 years ago* apt-pkg/acquire-worker.cc:
David Kalnischkies [Tue, 26 Apr 2011 20:37:46 +0000 (22:37 +0200)]
* apt-pkg/acquire-worker.cc:
  - print filename in the unmatching size warning (Closes: #623137)

13 years ago* test/versions.lst:
David Kalnischkies [Tue, 26 Apr 2011 17:30:21 +0000 (19:30 +0200)]
* test/versions.lst:
  - disable obscure version number tests with versions dpkg doesn't
    allow any more as they don't start with a number

13 years ago* apt-pkg/deb/debmetaindex.cc:
David Kalnischkies [Tue, 26 Apr 2011 17:15:29 +0000 (19:15 +0200)]
* apt-pkg/deb/debmetaindex.cc:
  - do not download TranslationIndex if no Translation-* will be
    downloaded later on anyway (Closes: #624218)

13 years ago* doc/po/de.po:
Chris Leick [Tue, 26 Apr 2011 15:43:15 +0000 (17:43 +0200)]
* doc/po/de.po:
  - undo the translation of the command 'dump' in manpage of apt-config
    as report by Burghard Grossmann on debian-l10n-german, thanks!

13 years agoprovide a 'dpkg --set-selections' wrapper to set/release holds
David Kalnischkies [Tue, 26 Apr 2011 15:29:54 +0000 (17:29 +0200)]
provide a 'dpkg --set-selections' wrapper to set/release holds

13 years ago* apt-pkg/pkgcache.cc:
David Kalnischkies [Mon, 25 Apr 2011 11:51:53 +0000 (13:51 +0200)]
* apt-pkg/pkgcache.cc:
  - really ignore :arch in FindPkg() in non-multiarch environment

13 years agoupdate the apt-mark manpage
David Kalnischkies [Thu, 21 Apr 2011 16:58:07 +0000 (18:58 +0200)]
update the apt-mark manpage

13 years agoadd a close entry as a showmanual is provided by apt-mark now
David Kalnischkies [Thu, 21 Apr 2011 16:56:40 +0000 (18:56 +0200)]
add a close entry as a showmanual is provided by apt-mark now

13 years ago* cmdline/apt-get.cc:
David Kalnischkies [Thu, 21 Apr 2011 15:00:37 +0000 (17:00 +0200)]
* cmdline/apt-get.cc:
  - deprecate mostly undocumented 'markauto' in favor of 'apt-mark'
* cmdline/apt-cache.cc:
  - deprecate mostly undocumented 'showauto' in favor of 'apt-mark'

13 years ago* cmdline/apt-mark.cc:
David Kalnischkies [Thu, 21 Apr 2011 14:46:28 +0000 (16:46 +0200)]
* cmdline/apt-mark.cc:
  - reimplement apt-mark in c++

13 years agoremove not existing packages left over from the testcase
David Kalnischkies [Thu, 21 Apr 2011 14:41:07 +0000 (16:41 +0200)]
remove not existing packages left over from the testcase

13 years agosimplify the code for wildcard pinning a bit
David Kalnischkies [Thu, 21 Apr 2011 14:38:06 +0000 (16:38 +0200)]
simplify the code for wildcard pinning a bit

13 years agoMake purge work again for config-files (LP: #244598) (Closes: #150831)
Julian Andres Klode [Thu, 21 Apr 2011 10:18:05 +0000 (12:18 +0200)]
Make purge work again for config-files (LP: #244598) (Closes: #150831)

13 years agodoc/apt-key.8.xml: Document apt-key net-update (LP: #192810)
Julian Andres Klode [Thu, 21 Apr 2011 09:25:52 +0000 (11:25 +0200)]
doc/apt-key.8.xml: Document apt-key net-update (LP: #192810)

13 years agodebian/apt.cron.daily: Check power after wait, patch by manuel-soto (LP: #705269)
Julian Andres Klode [Thu, 21 Apr 2011 07:53:37 +0000 (09:53 +0200)]
debian/apt.cron.daily: Check power after wait, patch by manuel-soto (LP: #705269)

13 years agomerge with debian-sid branch and 0.8.14.1 release
David Kalnischkies [Wed, 20 Apr 2011 14:02:44 +0000 (16:02 +0200)]
merge with debian-sid branch and 0.8.14.1 release

* apt-pkg/depcache.cc:
  - Really release action groups only once (Closes: #622744)
* apt-pkg/acquire-item.cc:
  - Only try to rename existing Release files (Closes: #622912)

13 years ago* debian/rules:
David Kalnischkies [Tue, 19 Apr 2011 18:58:14 +0000 (20:58 +0200)]
* debian/rules:
  - remove unused embedded jquery by doxygen from libapt-pkg-doc

13 years ago* debian/apt.lintian-overrides:
David Kalnischkies [Tue, 19 Apr 2011 17:35:59 +0000 (19:35 +0200)]
* debian/apt.lintian-overrides:
  - update the missing-python-dep override to the lintian 2.5 way