| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- add a class WeakPointable which allows one to register weak pointers to
an object which will be set to NULL when the object is deallocated.
* [ABI break] apt-pkg/acquire{-worker,-item,}.h:
- subclass pkgAcquire::{Worker,Item,ItemDesc} from WeakPointable.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in his package choices
The previous implementation tried to install the package for arch A and
if this fails B, C and so on. This results in wrong architecture choices
for packages which depend on other pseudo packages, so he will now try
to install the dependencies first before trying the package itself and
only if this fails he tries the next architecture.
|
| | |
|
| |
| |
| | |
- error out if #clear directive has no argument
|
| |
| |
| | |
- be less strict and accept [option=value] as well
|
| |
| |
| | |
- correct typos in german apt_preferences manpage, thanks Chris Leick!
|
| | |
|
| |
| |
| | |
- Add a note about APT_CONFIG in the -c description (Closes: #578267)
|
| |
| |
| |
| | |
- align Installed and Candidate Version in policy so they can be compared
easier, thanks Ralf Gesellensetter for the pointer! (Closes: #578657)
|
| |
| |
| | |
- remove 999 chars Files and Checksums rewrite limit (Closes: #577759)
|
| |
| |
| |
| | |
And again thanks to Jari Aalto for spotting & patching!
|
| |
| |
| |
| |
| | |
- modernize if-statements not to use 'x' (Closes: #577117)
Thanks to Jari Aalto for spotting & patching!
|
| |
| |
| | |
Thanks to Jari Aalto for spotting & patching! (Closes: #577168)
|
| |
| |
| |
| | |
- remove Chroot-Directory from files passed to install commands.
Thanks to Kel Modderman for report & patch! (Closes: #577226)
|
| |
| |
| |
| | |
Dir::Cache::lists was set
|
| | |
|
| |
| |
| |
| |
| | |
- 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)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| | |
|
| |
| |
| | |
- don't try to "unpack" pseudo packages twice
|
| |
| |
| |
| |
| | |
in the event of a failure in OpenLog() (which will happen if called with
Debug::NoLocking as user)
|
| |
| |
| | |
- "reinstall" the correct version for a killed pseudo package
|
|\ \ |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- If no "_" is found in the language code, try to find a "."
This is required for languages like Esperanto that have no
county associated with them (LP: #560956)
Thanks to "Aisano" for the fix
|
| | | | |
|
| | | |
| | | |
| | | | |
- fix incorrect std::cout usage for debug output
|
| | | |
| | | |
| | | |
| | | | |
- add "IsIndexFile" to constructor of pkgAcqFile so that it sends
the right cache control headers
|
| | | |
| | | |
| | | |
| | | | |
https://wiki.ubuntu.com/NetworklessInstallationFixes (LP: #556831).
|
| |_|/
|/| |
| | | |
- fix crash when pkg.VersionList() is empty
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Thanks to Jean-Baptiste Lallement for spotting and fixing it!
* apt-pkg/contrib/strutl.cc:
- always escape '%' (LP: #130289) (Closes: #500560)
- unescape '%' sequence only if followed by 2 hex digit
- username/password are urlencoded in proxy string (RFC 3986)
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
so it is easier to find them later on as we have no "noice"
anymore between them.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This sounds like a premature optimization and since Mr. Knuth we all
know that they are the root of all evil - but, and here it starts to be
interesting: As the tolower_ascii method is by far the most called
method we have (~60 Mio. times) and as we compare only strings containing
ascii characters (package names, configuration options) using our own
method reduces execution time of APT by 4% plus it avoids that the
locale settings can influence us.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
- correct a few typos in the german manpage translation.
Thanks to Chris Leick and Georg Koppen! (Closes: #574962)
|
| | |
| | |
| | |
| | | |
- fix a=sid vs. n=sid typo, thanks Ansgar Burchardt!
|
| | |
| | |
| | |
| | |
| | |
| | | |
the compressed files as we want them and to prevent the file to be
replaced without a reason which could save us from steady redownloads
of a file with the same content.
|
| | |
| | |
| | |
| | |
| | |
| | | |
also in TreeDefaults and Tree to support generation of archives which
should support and which shouldn't support splitted out Translation-en
files in the same run.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- write LongDescriptions if they shouldn't be included in Packages
file into i18n/Translation-en by default.
It is ensured that each package+description is listed only ones in the
Translation file even if we generate multiple Packages file in one run.
The file is only generated in "generate" - the simple file commands
can't create it by now. Also, the LongDescription is currently a
global setting, so generating archives with and without LongDescriptions
in the Packages file in the same run are currently not possible.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
essential flag:
* native is the default and will only mark packages of the main arch
* all will mark all packages which have these flag in Packages
* none will obviously do the opposite
* installed will only mark packages which are installed as essential,
so it will behave in the same way as dpkg does it.
It is mostly needed sometimes for debugging but some users with special
needs might like to switch the mode as well under the expense to be
on their own…
|
| | | |
|