summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2007-08-08Do not print empty lines after 'Setting up ...' output.Guillem Jover1-8/+6
2007-08-08Use NULL instead of '(char *)0'.Guillem Jover5-27/+27
2007-08-08Fix Breaks commit.Guillem Jover4-42/+49
Enable depisok for the Breaks case. Remove comments stating Breaks needs to be implemented. And split functions calls which had different arguments depending on a variable.
2007-08-07Fix pattern matching in dpkg-query -l and -W.Guillem Jover1-30/+52
Do not segfault when the result from a 'dpkg-query -l' is bigger than the total number of current packages, and do not produce repeated results with overlapping patterns on 'dpkg-query -W'.
2007-08-07Implement support for Breaks field.Ian Jackson10-52/+241
As a side effect, run the deconfiguration of each package to be deconfigured once, instead of once per each conflicting package being removed.
2007-08-07Change formatting to match the rest of the file.Ian Jackson1-32/+32
2007-05-08Add missing svn:ignore entries.Guillem Jover1-0/+2
2007-03-21Show the epoch (if present) when displaying package versions.Guillem Jover3-11/+8
Closes: #107449, #179913, #345594, #393924, #405668 Based on a patch by Jeffrey W. Baker.
2007-03-20Update svn:ignore attributes.Guillem Jover1-0/+2
2007-02-13Exit with an error instead of an assert if the number of conflictors isGuillem Jover1-6/+7
exceeded. Remove bogus comments. Closes: #377855
2007-02-10Use l10n-friendlier strings to describe dependencies. Closes: #390916Guillem Jover1-10/+33
Thanks to Ian Jackson.
2007-01-15Add a missing newline to a warning message in dpkg. Closes: #390914Guillem Jover1-1/+1
Thanks to Ian Jackson.
2007-01-11Do not bail out in dpkg when building without start-stop-daemon support,Guillem Jover1-1/+1
by checking if the macro value is true instead of it being defined. Thanks to Mark Rosenstand.
2006-08-08Add initial support for the Breaks field, by parsing but rejecting it.Guillem Jover3-2/+27
Thanks to Ian Jackson <iwj@ubuntu.com>. Closes: #375703
2006-06-17Set all svn:ignore.Guillem Jover1-0/+1
2006-06-04Fix dependency cycle breaking in the case when every link involvesGuillem Jover1-3/+2
a Provides (Ian Jackson). This is a proper fix for #349442. Closes: #370017
2006-06-02Disambiguate error message about conflicting command line actions byGuillem Jover2-2/+4
providing both long and short option names. Based on a suggestion by Josip Rodin. Closes: #45575
2006-05-31Update the Section and Priority fields in the status file from theGuillem Jover1-1/+1
new packages. We assume that the information from the binary package is correct, otherwise it should be fixed there to match the archive override file (Koblinger Egmont). Closes: #54529, #58106, #81171, #230610, #237622, #237626
2006-05-30Print the bogus version and prefix the error message with 'dpkg: 'Guillem Jover1-2/+4
when using '--compare-versions'. Closes: #369177
2006-05-19Don't drop directories that contain our conffiles too early fromFrank Lichtenheld3-1/+30
our file listing. Otherwise we might leave them behind on purge if we share them with other packages. Closes: #174180, #198128, #198522, #318825, #366178
2006-05-19Update archtable to reflect current archive: Add amd64 and removeFrank Lichtenheld2-0/+6
sh. Closes: #367329
2006-05-16Fix the --force-depends-version option. This closes #57104.Nicolas FRANCOIS1-1/+1
2006-05-16Flush the terminal's input before prompting the user.Nicolas FRANCOIS1-0/+5
2006-05-15Try harder to detect dependency cycles that contain ProvidesFrank Lichtenheld1-0/+1
links. Closes: #349120, #349442
2006-05-13Fix --ignore-depends argument value parsing. Closes: #169125Frank Lichtenheld1-3/+3
2006-05-02Split usage strings to make it easier for translators when those change.Guillem Jover2-54/+79
Closes: #323957
2006-04-29Fix a typo in an error message (unexecpted -> unexpected).Nicolas FRANCOIS1-1/+1
2006-04-21Fix strings so that they can be more easily translated. Closes: #134358Guillem Jover3-27/+40
2006-04-21 * src/main.c (printforhelp, setdebug, setforce): Quote each stringGuillem Jover1-54/+57
line instead of escaping its new line at the end.
2006-04-10Fix typo in variable name. If hit, this could lead to aFrank Lichtenheld1-4/+4
infinite loop and OOM in varbufvprintf. (A good way to hit it is installing files with long non-ASCII filenames in UTF-8 locales). Fixed also some typos in the comment for this function. Closes: #346436
2006-04-09Add new '--clear-selections' option to dpkg (Andrew Suffield).Guillem Jover3-1/+26
Closes: #112388
2006-04-09Obsolete force/refuse 'auto-select' dpkg option.Guillem Jover2-10/+16
2006-04-09Pass '--admindir' option over to dpkg-query when passing '--admindir' orGuillem Jover1-17/+54
'--root' to dpkg (initial patch by Branden Robinson). Closes: #153305, #271041, #282853, #307715, #355915
2006-03-30Add a '[!]' in --force-all help denoting that it is a dangerous option.Guillem Jover1-1/+1
Closes: #359935
2006-02-13Add a missing closing parenthesis in a dpkg string (Jordi Mallach).Guillem Jover1-1/+1
2006-02-12Remove all the generated files so we don't need to track changes in them.Frank Lichtenheld1-530/+0
These were actually commited accidently by importing from the source package and not an arch checkout
2006-02-11Add cfof_userrmd flag which was forgotten in a previous patchFrank Lichtenheld1-0/+1
2006-02-10Improve processing of disappearing conffiles (Ian Jackson).Frank Lichtenheld7-74/+193
This is part of the fix for #108587. * lib/dpkg-db.h (conffile): Add `obsolete' field. * lib/dump.c (w_conffiles): Write "obsolete" at the end of conffile entry if obsolete is set. * lib/fields.c (f_conffiles): Parse entries for obsolete conffiles correctly. * src/filesdb.h (filenamenode.flags): Add new flag for obsolete conffiles. * src/remove.c (removal_bulk_remove_configfiles): Handle obsolete conffiles. * src/archives.c (newconff_append): New function to append a filenamenode to a fileinlist. (addfiletolist): New function to add a filenamenode to a tarcontext. (tarobject): Use new addfiletolist function. Handle case where a new package takes over an obsolete conffile from another package. * src/archives.h: Add declaration of the addfiletolist function. * src/processarc.c (process_archive): Use new newconff_append function from archives.c. Detect obsoleted conffiles and mark them as such. * src/help.c (chmodsafe_unlink): Make it possible to differentiate between failed chmod and failed unlink by adding a new `failed' argument which will be set to the name of the failed command. (chmodsafe_unlink_statted): New function that can be called if we already have a stat result for the file/directory to be removed. (ensure_pathname_nonexisting): Give better error messages by utilizing the changes to chmodsafe_unlink. * src/main.h: Reflect changes in archives.c and help.c (add declarations for newconff_append and chmodsafe_unlink_statted and change the one of chmodsafe_unlink). (conffopt): Add new isold flag.
2006-02-10On package configuration, differentiate between modified andFrank Lichtenheld1-7/+14
deleted configuration files (Ian Jackson). Closes: #351361
2006-02-06Cleanup and unify program usage and version output, make it more i18nGuillem Jover2-100/+102
friendly. Fix wrong gettext usage with interparsed macros. Thanks to Changwoo Ryu for noticing. Closes: #23791
2006-01-22When linking statically, explicitly add libsepol, even if its only aGuillem Jover1-3/+1
transitive library. The proper fix should come with a pkg-config file. Based on a patch by Bart Martens <bart.martens@advalvas.be>.
2006-01-22Correct typo in dpkg help message (thanks Clytie) and unfuzzy translationsChristian Perrier1-1/+1
2006-01-18Actually import 1.13.11.1, not 1.13.11, D'oh!Frank Lichtenheld1-2/+2
2006-01-18Import latest release as a temporary trunk which should beFrank Lichtenheld7-39/+74
later merged into a branch with the full history from CVS and arch
2005-06-28dpkg (1.13.10) unstable; urgency=lowScott James Remnant1-0/+62
The "Bully's Special Prize" Release. * Removed /usr/sbin/start-stop-daemon. Closes: #313400. * Fixed md5sum diversion removal. Closes: #313415. * Fixed dpkg-source to handle native tarballs with a Debian revision. Closes: #313381, #313433. * Fixed upgrade from pre-sarge dpkg outside of dselect. Closes: #314575. * Changed log times to be local rather than UTC. Closes: #313347. * Changed log writing to be line-buffered. Closes: #314550. * Moved log creation to postinst, and don't fail if base-passwd hasn't been configured yet. Closes: #316084. * Don't try to compile in SELinux support on Hurd. Closes: #313398. * Place code for SELinux support in the right place so it will actually get compiled in and used (Manoj Srivastava). Closes: #314886. * Documentation: - Added missing word to dpkg-architecture manpage. Closes: #313554. - Reference to dpkg manpage in dpkg.cfg corrected. Closes: #314262. * Updated Translations (Christian Perrier): - Basque (Piarres Beobide Egana). Closes: #313474. - Catalan (Jordi Mallach). Closes: #313288. - Czech (Miroslav Kure). Closes: #314431. - Danish (Claus Hindsgaul). - French (Christian Perrier). - German (Jens Seidel). Closes: #314125. - Greek (Greek team). Closes: #314828. - Italian (Lele Gaifax). - Japanese (Kenshi Muto). Closes: #313330. - Russian (Yuri Kozlov). Closes: #313620. * Hebrew translation de-activated on request of the translator until there is better support for RTL languages. Closes: #313282. -- Scott James Remnant <scott@netsplit.com> Tue, 28 Jun 2005 14:19:06 +0100
2005-06-12dpkg (1.13.9) unstable; urgency=lowScott James Remnant5-91/+26
The "On like Donkey Kong" Release. * Only open the log file when we first need to write to it, this avoids the need to suppress errors when not root which fakeroot defeated anyway. * Stop dpkg-source clobbering an existing .orig directory during unpacking. Closes: #21236. * Allow an alternate output directory to be specified to dpkg-source by giving a second argument to -x. Closes: #246802, #282323. * Added .arch-inventory to default diff ignore regexp. Closes: #304297. SELinux support (Manoj Srivastava): * On SELinux-enabled systems, try to set the security context when the package is unpacked. Closes: #193653, #249496, #307139. * Added build-dependancy on libselinux1-dev. Improvements to dpkg-source (Brendan O'Dea): * Support unpacking of "Wig And Pen" (Format 2.0) source packages. * Multiple pristine upstream tarballs allowed. * Native and upstream tarballs may be bzip2-compressed instead of gzip, as may the debian diff or tarball. * Unsupported format error fixed to output the unsupported format rather than the supported one. Closes: #156317. -- Scott James Remnant <scott@netsplit.com> Sun, 12 Jun 2005 15:52:43 +0100
2005-06-09dpkg (1.13.7) experimental; urgency=lowScott James Remnant1-1/+7
The "Maidenhead Creeping Water Plant" Release. * Reduced inability to open a log file to a warning, suppressed for non-root operations. Closes: #312383. -- Scott James Remnant <scott@netsplit.com> Thu, 9 Jun 2005 06:12:56 +0100
2005-06-06dpkg (1.13.5) experimental; urgency=lowScott James Remnant1-2/+23
The "Flatulent Elm of West Ruislip" Release. * Actions and package states are now logged by default in the /var/log/dpkg.log file. This file is rotated monthly and can be disabled by commenting the line in /etc/dpkg/dpkg.cfg. * User decisions about conffiles are now logged. * dpkg-source no longer complains about Enhances field. Closes: #159642, #159745, #159746. * preinst no longer relies on procps being installed. Closes: #311808. * Architecture Support: - Change DEB_*_GNU_CPU from i386 to i486, to reflect reality. DEB_*_ARCH_CPU remains at i386, you should be checking against that. Closes: #310394. - Fixed order ostable is read to prevent Linux becoming the Hurd. Closes: #309603. * Updated Manpage Translations (Christian Perrier): - Syntax error corrected in Swedish man page for dpkg-deb. Closes: #300980. - Syntax error corrected in Spanish man page for dpkg-scanpackages. Closes: #300981 -- Scott James Remnant <scott@netsplit.com> Mon, 6 Jun 2005 05:34:21 +0100
2005-03-21dpkg (1.13.3) experimental; urgency=lowScott James Remnant2-9/+13
The "Paying off Karma at a vastly acclerated rate" Release. * Missing newline added to warning output function. Closes: #283798. * Fixed prototype warning in dpkg-scansources. Closes: #213577, #219760, #267505. * Removed trailing line from debian origins file. Closes: #264904. * Changed dpkg-buildpackage to say "source changed by" rather than "source maintainer is". Closes: #247313. * Fixed dpkg-gencontrol to allow '-' in architecture names. Closes: #274677. * Fixed "unknown information field" error to report field that it doesn't know about. Closes: #275243. * Documentation: - Remove "medium-level" from description of dpkg. Closes: #292454. - Harmonised argument names in update-alternatives(8). Closes: #267095, #284941 - Documented what the '+' and '*' mean in update-alternatives --config output. Closes: #270486. - Mention aptitude alongside dselect in 'dpkg --usage' and 'dpkg-deb --help', fix quote style of mention in 'dpkg --help'. Closes: #274800, #278118. - Associate --truename with the description of what it does in dpkg-divert(8). Closes: #277076. - Removed last remaining references to the packaging manual, replacing with better references. Closes: #262775. - Documented format of file dpkg --set-selections takes. Closes: #270043. -- Scott James Remnant <scott@netsplit.com> Mon, 21 Mar 2005 03:10:27 +0000
2005-03-18dpkg (1.13.2) experimental; urgency=lowScott James Remnant7-21/+122
* md5sum has been removed, the coreutils or textutils version will be diverted to /usr/bin/md5sum. Closes: #6633, #136110. The following bugs are filed against the dpkg md5sum, so no longer apply. Closes: #95755, #193877, #223381, #264195, #270241, #286632, * Take Replaces into account when installing packages; don't issue a "trying to overwrite" error if the file that already exists is in a package that Replaces the one being installed. Closes: #164595, #184635, #277890. * Allow actions and status changes to be logged to a file. Disabled by default, uncomment line in /etc/dpkg/dpkg.cfg to enable. Closes: #957, #53376, #77109, #143882, #284499. * Don't truncate output of 'dpkg -l' when stdout is not a tty. Closes: #92263, #253860, #258608, #261822, #282790. * Fix further compilation problems with gcc 4.0. Closes: #299699 * Handle tar files without trailing slash in directory names. Closes: #287152. * Output arguments to maintainer scripts with -D2. Closes: #237684, #296030. * Architecture Support: - Added ppc64. Closes: #263743. - Split archtable into cputable and ostable, archtable is retained for compatibility with other packages that might use it only. - dpkg-architecture no longer canonises -t argument. Closes: #173205. - dpkg-architecture output includes new DEB_*_ARCH_OS and DEB_*_ARCH_CPU variables that contain the Debian system and CPU names respectively. - dpkg-architecture outputs (mostly) correct GNU system names now, in particular this means that it will output "linux-gnu" instead of "linux". You should use the new _ARCH_OS variables instead. * Documentation: - Add examples to dpkg-divert(8). Closes: #291816. - Correct typo in dpkg-architecture(1). Closes: #299090. -- Scott James Remnant <scott@netsplit.com> Fri, 18 Mar 2005 16:21:32 +0000