summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/cdrom.cc:David Kalnischkies2012-09-034-0/+45
| | | | | | | - copy only configured translation files from a CD-ROM and not all available translation files preventing new installs with d-i from being initialized with all translations (Closes: #678227) - handle Components in the reduction for the source.list as multi-arch CDs otherwise create duplicated source entries (e.g. "wheezy main main")
* - do not create duplicated flat-archive CD-ROM sources for foreignDavid Kalnischkies2012-09-031-6/+9
| | | | | | | architectures on multi-arch CD-ROMs - do not warn about files which have a record in the Release file, but are not present on the CD to mirror the behavior of the other methods and to allow uncompressed indexes to be dropped without scaring users - handle Components in the reduction for the source.list as multi-arch CDs
* * apt-pkg/cdrom.cc:David Kalnischkies2012-09-021-3/+6
| | | | - handle Components in the reduction for the source.list as multi-arch cds otherwise create duplicated source entries (e.g. "wheezy main main")
* * apt-pkg/indexcopy.cc:David Kalnischkies2012-09-021-4/+7
| | | | - do not create duplicated flat-archive cdrom sources for foreign architectures on multi-arch cdroms
* * apt-pkg/packagemanager.cc:David Kalnischkies2012-08-301-1/+3
| | | | | - unpack versions in case a different version from the package is currently in unpack state to recover from broken system states (like different file in M-A:same package and other dpkg errors)
* * apt-pkg/cdrom.cc:David Kalnischkies2012-08-051-2/+2
| | | | - do not link() but rename() the cdroms.list to cdroms.list~ as a backup to ensure that apt-cdrom can be run multiple times (Closes: #676302)
* * apt-pkg/indexcopy.cc:David Kalnischkies2012-08-051-1/+6
| | | | - do not use atomic writing if the target is /dev/null as we don't want to replace it, not even automically. (Closes: #683410)
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2012-08-041-2/+0
| | | | - remove _POSIX_SYNCHRONIZED_IO guard in FileFd::Sync() around fsync as this guard is only needed for fdatasync and not defined on hurd
* move the sysconf call behind the _POSIX_SYNCHRONIZED_IO guard thereDavid Kalnischkies2012-08-041-1/+1
| | | | it is used for the msync call
* apt-pkg/contrib/mmap.cc:Pino Toscano2012-08-041-7/+7
| | | | | | - guard only the msync call with _POSIX_SYNCHRONIZED_IO rather than also the fallback code as it breaks APT on hurd since 0.9.7.3 as the fallback is now always used on non-linux (Closes: #683354)
* for filesystems not supporting mmap'ing a file we need to use aDavid Kalnischkies2012-07-241-0/+1
| | | SyncToFd dummy just as we did for compressed files in 0.9.5
* trigger the usage of the fallback code for kfreebsd also in theDavid Kalnischkies2012-07-241-1/+11
| | | second (filebased) constructor of DynamicMMap (Closes: #677704)
* * apt-pkg/contrib/mmap.cc:David Kalnischkies2012-07-201-1/+1
| | | | - refer to APT::Cache-Start in case the growing failed as if -Limit is really the offender it will be noted in a previous error message.
* * apt-pkg/packagemanager.cc:David Kalnischkies2012-07-181-1/+1
| | | | - do not segfault if nothing can be configured to statisfy a pre-depends (e.g. in a pre-depends loop) (Closes: #681958)
* * apt-pkg/cacheset.cc:David Kalnischkies2012-07-181-0/+2
| | | | - handle :all and :native correctly as architectures again in the commandline parsing (regression in 0.9.7)
* * apt-pkg/cachefilter.cc:David Kalnischkies2012-07-121-6/+0
| | | | | | | - remove architecture-specific arch to tuple expansion-rules as they lead to the same tuples for different architectures (e.g. linux-arm for arm, armel and armhf) while the dpkg-architecture code uses triples which are different (in the first part, which we omit in our tuples), so e.g. build-dep restrictions for armel ended up effecting armhf as well
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-07-091-1/+2
| | | | - negative dependencies need to apply to all architectures, but those with a specific architecture only apply to this one
* * apt-pkg/clean.cc:David Kalnischkies2012-07-051-2/+3
| | | | - run autoclean against pkg:arch and not always against pkg:native as this removes valid cache entries (Closes: #679371)
* merged from donkultMichael Vogt2012-06-199-62/+180
|\
| * do not dereference the storage for the unique strings as the pointer canDavid Kalnischkies2012-06-163-9/+13
| | | | | | | | | | change at the time of writing the strings, so first store it temporary and then save the index in the (possibily new) pointer location
| * * apt-pkg/pkgcache.cc:David Kalnischkies2012-06-141-1/+1
| | | | | | | | - do a string comparision for architecture checking in IsMultiArchImplicit as 'unique' strings in the pkgcache aren't unique (Closes: #677454)
| * * apt-pkg/pkgcachegen.cc:Daniel Hartwig2012-06-141-2/+3
| | | | | | | | - always reset _error->StackCount in MakeStatusCache (Closes: #677175)
| * * apt-pkg/cacheset.cc:David Kalnischkies2012-06-142-4/+51
| | | | | | | | - add PackageContainerInterface::FromGroup to support architecture specifications with wildcards on the commandline
| * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-143-27/+86
| | | | | | | | | | - use PackageArchitectureMatchesSpecification filter * apt-pkg/cachefilter.cc: - add PackageArchitectureMatchesSpecification (Closes: #672603)
| * * deb/deblistparser.cc:David Kalnischkies2012-06-141-23/+30
| | | | | | | | - ensure that mixed positive/negative architecture wildcards are handled in the same way as dpkg handles them
* | Fix previous commit: Do not call memset() if realloc() returned NULL.Julian Andres Klode2012-06-161-2/+3
| |
* | Zero out the new memory allocated with realloc().Julian Andres Klode2012-06-161-0/+2
| |
* | * apt-pkg/contrib/mmap.cc:Julian Andres Klode2012-06-161-9/+8
|/ | | | | - Fix the Fallback option to work correctly, by not calling realloc() on a map mapped by mmap(), and by using malloc and friends instead of new[].
* * apt-pkg/deb/deblistparser.cc:Thibaut Girka2012-06-112-4/+21
| | | | - add support for arch-specific qualifiers in dependencies
* * apt-pkg/cacheiterators.h:David Kalnischkies2012-06-113-9/+33
| | | - add an IsMultiArchImplicit() method for Dep- and PrvIterator
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-06-101-11/+15
| | | | - if APT::Languages=none save "none" in allCodes so that the detected configuration is cached as intended (Closes: #674690, LP: #1004947)
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-102-11/+35
| | | | | - set pkgCacheGen::Essential to "all" again (Closes: #675449) * apt-pkg/algorithms.cc: - force install only for one essential package out of a group
* fix segfault with empty LongOpt in --no-* branchDavid Kalnischkies2012-06-091-1/+2
|
* * apt-pkg/contrib/cmdline.cc:Daniel Hartwig2012-06-091-2/+3
| | | | | - apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331)
* * apt-pkg/cdrom.cc:David Kalnischkies2012-06-091-1/+1
| | | | | - fix regression from 0.9.3 which dumped the main configuration _config instead of the cdrom settings (Cnf) as identified and tested by Milan Kupcevic, thanks! (Closes: #674100)
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2012-05-221-4/+15
| | | | - dup() given compressed fd in OpenDescriptor if AutoClose is disabled as otherwise gzclose() and co will close it
* * apt-pkg/contrib/mmap.cc:David Kalnischkies2012-05-211-0/+1
| | | | | - have a dummy SyncToFd around in case of ReadOnly access to a compressed file as we otherwise on Close() do not delete[] the char buffer but munmap() it… (Closes: #673815)
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-05-201-1/+1
| | | | - longcode Translation files are saved with encoded underscore, so make sure to pick these files up as well for Acquire::Languages
* * apt-pkg/packagemanager.cc:David Kalnischkies2012-05-191-1/+1
| | | - do not run into loop on new-pre-depends-breaks (Closes: #673536)
* * cmdline/apt-get.cc:David Kalnischkies2012-05-161-0/+1
| | | | | - use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2012-05-161-24/+41
| | | | - ensure that we close compressed fds, wait for forks and such even if the FileFd itself is set to not autoclose the given Fd
* * apt-pkg/algorithms.cc:Marius Vollmer2012-05-152-0/+7
| | | | - fix memory leak of Flags in pkgSimulate by a proper destructor
* * apt-pkg/acquire*.cc:Raphael Geissert2012-05-143-20/+52
| | | | | | | - handle redirections in the worker with the right method instead of in the method the redirection occured in (Closes: #668111) * methods/http.cc: - forbid redirects to change protocol
* * apt-pkg/acquire-methods.cc:David Kalnischkies2012-05-142-13/+13
| | | - factor out into private Dequeue() to fix access to deleted pointer
* * apt-pkg/pkgcachegen.cc:David Kalnischkies2012-05-121-2/+2
| | | | - make IsDuplicatedDescription static so that it is really private as we don't need a symbol for it as it is not in a header
* * apt-pkg/algorithms.cc:David Kalnischkies2012-05-102-12/+29
| | | | - factor out of ListUpdate a AcquireUpdate to be able to provide your own pkgAcquire fetcher to the wrapper
* ensure that d is set before accessing itDavid Kalnischkies2012-05-101-41/+50
|
* fix calling style of FileFd (no functional change)David Kalnischkies2012-05-101-3/+3
|
* ensure that in error conditions the Fail flag is setDavid Kalnischkies2012-05-101-3/+46
|
* collect zombie (de)compressor processes on reopenDavid Kalnischkies2012-05-101-1/+14
|