* Fixed status database updates reading bug.
* `Setting up' message includes version number.
* `existence check' message changed to say `cannot access archive'.
-- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 27 Jun 1996 13:39:36 +0100
+dpkg (1.2.9); priority=MEDIUM
+
+ * Fixed status database updates reading bug.
+ * `Setting up' message includes version number.
+ * `existence check' message changed to say `cannot access archive'.
+
+ -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 27 Jun 1996 13:39:36 +0100
+
dpkg (1.2.8); priority=LOW
* dpkg --record-avail puts data in Size field.
#!/usr/bin/make -f
package=dpkg
-version=1.2.8
+version=1.2.9
archi=$(shell dpkg --print-architecture)
DIR:=$(shell pwd)
strcat(updatefnbuf,"/" UPDATESDIR);
updatefnrest= updatefnbuf+strlen(updatefnbuf);
- cleanupdates();
+ if (cstatus != msdbrw_needsuperuserlockonly) {
+ cleanupdates();
+ parsedb(availablefile,
+ pdb_recordavailable|pdb_rejectstatus,
+ 0,0,0);
+ }
if (cstatus >= msdbrw_write) {
createimptmp();
uvb.buf= m_malloc(uvb.size);
}
- if (cstatus != msdbrw_needsuperuserlockonly) {
- parsedb(statusfile, pdb_weakclassification, 0,0,0);
- parsedb(availablefile,
- pdb_recordavailable|pdb_rejectstatus,
- 0,0,0);
- }
-
return cstatus;
}
"Package is in a very bad inconsistent state - you should\n"
" reinstall it before attempting configuration.");
- printf("Setting up %s ...\n",pkg->name);
+ printf("Setting up %s (%s) ...\n",pkg->name,
+ versiondescribe(&pkg->installed.version,vdew_never));
if (f_noact) {
pkg->status= stat_installed;
switch (pkg->status) {
case stat_installed:
break;
- case stat_unpacked: case stat_halfconfigured:
+ case stat_unpacked: case stat_halfconfigured: case stat_halfinstalled:
if (versionsatisfied3(&pkg->configversion,&predepversion,dvr_laterequal))
break;
printf("Version of dpkg with Pre-Depends support not yet configured.\n"
pfilename= filename;
}
- if (stat(filename,&stab)) ohshite("existence check failed");
+ if (stat(filename,&stab)) ohshite("cannot access archive");
if (!f_noact) {
/* We can't `tentatively-reassemble' packages. */
-#define DPKG_VERSION "1.2.8" /* This line modified by Makefile */
+#define DPKG_VERSION "1.2.9" /* This line modified by Makefile */