diff options
author | jbj <devnull@localhost> | 2001-01-15 23:09:42 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-01-15 23:09:42 +0000 |
commit | c74cc1df1c51f0c2a99de94cb0a0b1e9448499f2 (patch) | |
tree | 68ccc4b1ad6388c283f56cf9c932b2712efc29ed /convertdb.c | |
parent | 082ccecf35f3fb73c2a58b9052f102e5d9386fc4 (diff) | |
download | rpm-c74cc1df1c51f0c2a99de94cb0a0b1e9448499f2.tar.gz rpm-c74cc1df1c51f0c2a99de94cb0a0b1e9448499f2.tar.bz2 rpm-c74cc1df1c51f0c2a99de94cb0a0b1e9448499f2.zip |
- fix: extra newline in many error messages (#23947).
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.
CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
Diffstat (limited to 'convertdb.c')
-rw-r--r-- | convertdb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/convertdb.c b/convertdb.c index 091a36431..929cb2f2d 100644 --- a/convertdb.c +++ b/convertdb.c @@ -38,12 +38,12 @@ int convertDB(void) int i, j; if (rpmfileexists("/var/lib/rpm/packages.rpm")) { - rpmError(RPMERR_NOCREATEDB, _("RPM database already exists")); + rpmError(RPMERR_NOCREATEDB, _("RPM database already exists\n")); return 0; } if (oldrpmdbOpen(&olddb)) { - rpmError(RPMERR_OLDDBMISSING, _("Old db is missing")); + rpmError(RPMERR_OLDDBMISSING, _("Old db is missing\n")); return 0; } @@ -54,13 +54,13 @@ int convertDB(void) unlink("/var/lib/rpm/fileindex.rpm"); if (rpmdbOpen("", &db, O_RDWR | O_CREAT, 0644)) { - rpmError(RPMERR_DBOPEN, _("failed to create RPM database /var/lib/rpm")); + rpmError(RPMERR_DBOPEN, _("failed to create RPM database /var/lib/rpm\n")); return 0; } packageLabels = oldrpmdbGetAllLabels(&olddb); if (!packageLabels) { - rpmError(RPMERR_OLDDBCORRUPT, _("Old db is corrupt")); + rpmError(RPMERR_OLDDBCORRUPT, _("Old db is corrupt\n")); rpmdbClose(db); unlink("/var/lib/rpm/packages.rpm"); oldrpmdbClose(&olddb); |