summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | Arch() on a MultiArch:all version should return "all" to be compatibleDavid Kalnischkies2010-02-111-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with previous usecases. You now need to requested with Arch(true) the return of the architecture this version (and pseudo package) was created for.
| | | * | | Add Multi-Arch: allowed support by creating an implicit provide ofDavid Kalnischkies2010-02-112-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name:any for such packages, so dependencies in this style can be easily resolved.
| | | * | | Foreign Versions add an implicit Provides to the other packages in the groupDavid Kalnischkies2010-02-103-24/+42
| | | | | |
| | | * | | Create implicit dependencies needed for Multi-Arch handlingDavid Kalnischkies2010-02-101-7/+24
| | | | | |
| | | * | | Pre-MultiArch a package which depends on a package with architecture "all"David Kalnischkies2010-02-103-11/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be sure that a package comeing in as a dependency of this package will be of the same architecture as itself (or all). We don't want to break this, so internal an arch all package is represented as many arch depending packages. The only problem we have now is that we only know that a arch all package is installed or not - we don't know for which architecture it was installed: So we will look at all these broken arch all pseudo packages and "remove" them.
| | | * | | Drop the Arch information from the Version structure as we can getDavid Kalnischkies2010-02-076-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | the information from the parent package now
| | | * | | Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies2009-12-276-40/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for creating the dependencies needed for our groups: For now for all groups only one package can be installed at the same time which conflicts with each other packages in the group. The exceptions are architecture all package. Also, the Multi-Arch field is now parsed, but not used for now.
| | | * | | merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies2009-12-2318-214/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch which includes the following big changes: - Declare the unused [vendor] field in sources.list as option field, e.g. deb [arch=amd64,i386 lang=en_GB have=fun] http://example.org - When fetching index files download them for all APT::Architectures (overrideable with the options field above) - Allow all architectures of APT::Architectures to be in the Cache - Add the architecture to status and progress informations - Add b= (Binary architecture) to policy This commit doesn't incude the "pin-hack" as the Group structure will take care of this (and does it already to some extend).
| | | * | | Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies2009-12-197-70/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | infrastructor for packages. APT is now aware of the fact that a package A in architecture X can't satisfy a dependency on package A in architecture Y - to handle these packages are now identified by name and architecture, so different architectures of the same package are handled internally as completly different packages. This is great for pinning, dependency checking and in many other situations, but sometimes we need to know which archs are available for a given package: Here Groups come to our rescue!
| | | * | | mark the Error/Warning method as __coldDavid Kalnischkies2009-12-191-4/+5
| | | | | |
| | | * | | add optional gcc features as deprecated, unused and (un)likelyDavid Kalnischkies2009-12-191-0/+22
| | | | | |
| | | * | | Refactor the cache iterators by using a common base classDavid Kalnischkies2009-12-093-418/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
| * | | | | Fix a segfault in the version merger introduced in the previous patch:David Kalnischkies2010-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As we skip now versions with a different hash we will have situations in which the version is equal but the hash different causing to check the next version, but as this version was the last one the version iterator is invalid then the merger wants to add further information.
| * | | | | * apt-pkg/pkgcachegen.cc:David Kalnischkies2010-03-171-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - merge versions correctly even if multiple different versions with the same version number are available. Thanks to Magnus Holmgren for the patch! (Closes: #351056)
| * | | | | * apt-pkg/depcache.cc:David Kalnischkies2010-03-144-20/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove Auto-Installed information from extended_states together with the package itself (Closes: #572364)
| * | | | | * apt-pkg/deb/debversion.cc:David Kalnischkies2010-03-131-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - consider absent of debian revision equivalent to 0 (Closes: #573592) This moves the existing testcase for version comparison to "my" directory, adds a few more tests (e.g. the tests used in cupt) and rewrites the testcases runner: The runner does now call dpkg --compare-versions to check what dpkg thinks about the comparison - all done in less code ;)
| * | | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-03-123-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - if available store the Commandline in the history * apt-pkg/contrib/cmndline.cc: - save Commandline in Commandline::AsString for logging
| * | | | | * cmdline/apt-get.ccDavid Kalnischkies2010-03-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | - fix memory leaks in error conditions in DoSource()
| * | | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-03-121-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | - fix error message construction in OpenLog()
| * | | | | fix memory leak in getLanguages() by closing the directory after checkingDavid Kalnischkies2010-03-031-0/+1
| | | | | |
| * | | | | * apt-pkg/contrib/mmap.{h,cc}:David Kalnischkies2010-02-272-11/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add char[] fallback for filesystems without shared writable mmap() like JFFS2. Thanks to Marius Vollmer for writing and to Loïc Minier for pointing to the patch! (Closes: #314334)
* | | | | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-03-262-0/+6
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option
| * | | | | apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManagerMichael Vogt2010-03-161-0/+5
| | | | | |
| * | | | | * apt-pkg/indexfile.cc:Michael Vogt2010-03-121-5/+13
| | | | | | | | | | | | | | | | | | - deal correctly with three letter langcodes (LP: #391409)
| * | | | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-02-251-0/+1
| | | | | | | | | | | | | | | | | | - fix backgrounding when dpkg runs (closes: #486222)
* | | | | | * apt-pkg/policy.cc:Julian Andres Klode2010-03-211-0/+14
| |/ / / / |/| | | | | | | | | | | | | | - Always return a candidate if there is at least one version pinned > 0 (Closes: #512318)
* | | | | fix crash when LANGUAGE is not setMichael Vogt2010-02-181-1/+2
| | | | |
* | | | | merge from the lp:~donkult/apt/sid branchMichael Vogt2010-02-187-42/+158
|\ \ \ \ \
| * | | | | we break the ABI, so let use increase the ABI number :)David Kalnischkies2010-02-181-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | (This is the revert of the glibc-abi-compatibility-hack)
| * | | | * aptconfiguration.cc:David Kalnischkies2010-02-182-7/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - include all existing Translation files in the Cache (Closes: 564137) Previously if APT was executed with a different LC_* all these invocations needed to rebuild the Cache as too many files were included or missing: Now the lists-directory is checked for Translation-files and all these will be included in getLanguages() regardless of the environment setting (after a "none" so APT will not use them for displaying information).
| * | | | dd support for the LANGUAGE environment variableDavid Kalnischkies2010-02-184-33/+80
| | | | |
| * | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-02-181-1/+1
| | |/ / | |/| | | | | | | | | | | | | | - stdin redirected to /dev/null takes all CPU (Closes: #569488) Thanks to Aurelien Jarno for providing (again) a patch!
* | | | * [BREAK] merged lp:~mvo/apt/historyMichael Vogt2010-02-186-21/+99
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log) * methods/http.cc: - add cache-control headers even if no cache is given to allow adding options for intercepting proxies - add Acquire::http::ProxyAutoDetect configuration that can be used to call a external helper to figure out the proxy configuration and return it to apt via stdout (this is a step towards WPAD and zeroconf/avahi support) * abicheck/ - add new abitest tester using the ABI Compliance Checker from http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker * Change the package index Info methods to allow apt-cache policy to be useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
| * | Change the package index Info methods to allow apt-cache policy to beMichael Vogt2010-02-183-6/+19
| | | | | | | | | | | | useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
| * | merged from debian-sidMichael Vogt2010-02-1719-197/+364
| |\ \
| * | | add Dir::Media::MountPath config optionMichael Vogt2010-01-261-1/+2
| | | |
| * | | * cmdline/apt-cdrom.cc:Michael Vogt2010-01-261-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed signed/unsigned warning - create /media mount point if needed - fix initialization for res in DoAdd() * methods/cdrom.cc: - make AptMountPoint a variable
| * | | cmdline/apt-cdrom.cc: add --auto-detectMichael Vogt2010-01-261-1/+2
| | | |
| * | | * apt-pkg/contrib/cdromutl.cc:Michael Vogt2010-01-221-21/+30
| | | | | | | | | | | | | | | | - fix UnmountCdrom() fails, give it a bit more time and try the umount again
| * | | * merged lp:~mvo/apt/historyMichael Vogt2009-12-183-16/+81
| |\ \ \ | | | | | | | | | | | | | | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log)
| | * | | apt-pkg/deb/dpkgpm.{cc,h}: refactor writing of the history tag, add ","Michael Vogt2009-12-182-17/+24
| | | | |
| | * | | apt-pkg/deb/dpkgpm.cc: fflush earlyMichael Vogt2009-12-181-0/+1
| | | | |
| | * | | fix order of upgrade, install check because for a upgrade "Install()" ↵Michael Vogt2009-12-181-5/+5
| | | | | | | | | | | | | | | | | | | | returns True as well
| | * | | add /var/log/apt/history.log fileMichael Vogt2009-12-183-16/+73
| | | | |
* | | | | merge with debian-sidDavid Kalnischkies2010-02-133-25/+34
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt2010-01-318-17/+11
| | | | |
| * | | | * cmdline/acqprogress.cc:Michael Vogt2010-01-312-23/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243) * ftparchive/writer.cc: - generate sha1 and sha256 checksums for dsc (Closes: #567343) * cmdline/apt-get.cc: - don't mark as manually if in download only (Closes: #468180)
| * | | | merge 1695..1701 from the lp:~mvo/apt/mvo branchMichael Vogt2010-01-272-4/+4
| | | | |
| * | | | * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-238-30/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
| * | | | * apt-pkg/contrib/cdromutl.cc:Michael Vogt2010-01-221-21/+30
| | | | | | | | | | | | | | | | | | | | - fix UnmountCdrom() fails, give it a bit more time and try the umount again