+dpkg (1.2.5); priority=MEDIUM
+
+ * Allow, but do not create, packages in half-installed state
+ with no version number. (Aargh.)
+
+ -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Mon, 10 Jun 1996 04:55:43 +0100
+
dpkg (1.2.4); priority=MEDIUM
* New dpkg-name from Erick (<pkg>_<version>_<arch>.deb convention).
&newpifp->description, "description");
parsemustfield(file,filename,lno, warnto,warncount,&newpig,1,
&newpifp->maintainer, "maintainer");
- parsemustfield(file,filename,lno, warnto,warncount,&newpig,0,
- &newpifp->version.version, "version");
+ if (newpig.status != stat_halfinstalled)
+ parsemustfield(file,filename,lno, warnto,warncount,&newpig,0,
+ &newpifp->version.version, "version");
}
if (flags & pdb_recordavailable)
parsemustfield(file,filename,lno, warnto,warncount,&newpig,1,
}
pkg->eflag |= eflagf_reinstreq;
+ if (pkg->status == stat_notinstalled)
+ pkg->installed.version= pkg->available.version;
pkg->status= stat_halfinstalled;
modstatdb_note(pkg);
if (oldversionstatus == stat_notinstalled) {