1
0
forked from mirrors/pacman

Compare commits

..

16 Commits

Author SHA1 Message Date
Aaron Griffin
ef578e77c8 * Updated 2007-04-04 05:07:43 +00:00
Aaron Griffin
cfbec7464f * Version number bump 2007-04-04 05:03:52 +00:00
Aaron Griffin
10ba636987 * Fix FS#6798 - there is no reason to fail on a duplicate removal target
Added a pactest case for this ("-R foo foo foo foo foo" should do what is
  expected)
2007-04-04 04:43:24 +00:00
Aaron Griffin
1cd7567ff8 This change does two things:
* Prefer case-insensitive config settings.  In the future case-insensitivity
  may be enforced.
* Provides a fix for the tr_TR locale by checking the case-insensitive version
  first.  This is more elegant than setting the 'C' locale for tr_TR.

Also added a 'RootDir' config option to match CacheDir and DBPath
2007-04-04 03:59:36 +00:00
Aaron Griffin
8153e3851e Forgot the @@REPO@@ part of the russian mirror. 2007-04-04 03:00:24 +00:00
Aaron Griffin
c87745646c Added new Russian mirror 2007-04-04 02:19:37 +00:00
Aaron Griffin
ec689b5978 * Tom Killian <tom@archlinux.org>
Properly align checksums on makepkg -g
2007-04-04 02:03:44 +00:00
Dan McGee
d2c6bcdbbd * Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
2007-04-01 17:05:16 +00:00
Dan McGee
60a588261c * Updated Hungarian translation
Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
2007-03-30 19:55:05 +00:00
Dan McGee
3382a1416f * Updated Russian translation
Владимир Байраковский <4rayven@gmail.com>
2007-03-30 18:06:04 +00:00
Aaron Griffin
19cec12f73 commit 1d35c4dcc6
Author: Aaron Griffin <aaronmgriffin@gmail.com>
Date:   Thu Mar 29 22:44:10 2007 -0500

    Report an error on setmntent failure

    Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-30 04:46:17 +00:00
Aaron Griffin
a0f8f03056 commit 970d2e942e
Author: Aaron Griffin <aaronmgriffin@gmail.com>
Date:   Thu Mar 29 21:30:40 2007 -0500

    repo-add leaves .PKGINFO in the current directory

    * Misuse of 'tar xf', which should be 'tar tf'

    Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-30 03:33:19 +00:00
Aaron Griffin
1e859c647f From: Andrew Fyfe <andrew@neptune-one.net>
Date: Thu, 29 Mar 2007 11:11:36 +0100
Subject: [PATCH 1/1] Fix bug where makepkg can't extract .tar.Z archives.

For some reason 'tar -xf' doesn't work with .tar.Z, you need to use
'tar -xzf' to extract the archive.

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-30 03:24:09 +00:00
Dan McGee
ab8c825364 Fix --ignore behavior on sysupgrade
* --ignore was being ignored (haha) on sysupgrade when a package was listed
  as being a force upgrade. This adds a prompt to the user in this case asking
  what to do.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28 04:32:00 +00:00
Dan McGee
a2a781f416 * Remove outdated ProxyServer option from pacman.conf.5. 2007-03-27 15:51:18 +00:00
Dan McGee
d47b8cdf48 * Fix NEWS typo. Oops.
* Updated Russian translation.
  Владимир Байраковский <4rayven@gmail.com> and Shild <sxp@bk.ru>
* Removed a string from gettext that didn't need it.
2007-03-26 22:47:56 +00:00
15 changed files with 137 additions and 97 deletions

7
NEWS
View File

@@ -1,5 +1,10 @@
VERSION DESCRIPTION
-----------------------------------------------------------------------------
3.0.1 - fix a locale issue with tr_TR upper/lower-case conversion
- allow removal when listing the same package multiple times
- fix a repo-add bug that left a .PKGINFO file in the current
directory
- proper error messages when we cannot read mtab for freespace
3.0.0 - first release based on libalpm backend
- added internationalization (gettext) support:
- de, fr, hu, it, pt_BR, en_GB, ru_RU translations
@@ -47,7 +52,7 @@ VERSION DESCRIPTION
- repo-add - adds a package to a repo database file
- repo-remove - removes a package from a repo database file
- added pactest testing suite
- MANY fixes and small inprovements everywhere
- MANY fixes and small improvements everywhere
2.9.8 - Changed behaviour with original=X,current=Y,new=Z scenario
- keep old in place, install new as .pacnew
- Search package provides when finding matching targets with -S

View File

@@ -3,7 +3,7 @@ CFLAGS=""
AC_PREREQ(2.59)
dnl Update it right before the release since $pkgver_foo are all _post_ release snapshots
AC_INIT([Pacman package manager], 3.0.0, [pacman-dev@archlinux.org], [pacman])
AC_INIT([Pacman package manager], 3.0.1, [pacman-dev@archlinux.org], [pacman])
AC_LANG([C])
AC_CONFIG_HEADERS(config.h)
AC_CANONICAL_HOST

View File

@@ -54,9 +54,6 @@ Instructs \fBpacman\fP to ignore any upgrades for this package when performing a
Include another config file. This file can include repositories or general
configuration options.
.TP
.B ProxyServer = <\fIhost\fP|\fIip\fP>[:\fIport\fP]
If set, \fBpacman\fP will use this proxy server for all ftp/http transfers.
.TP
.B XferCommand = \fI/path/to/command %u\fP
If set, an external program will be used to download all remote files. All
instances of \fB%u\fP will be replaced with the download URL. If present,

View File

@@ -52,6 +52,8 @@ Server = ftp://cesium.di.uminho.pt/pub/archlinux/@@REPO@@/os/@CARCH@
Server = ftp://darkstar.ist.utl.pt/pub/archlinux/@@REPO@@/os/@CARCH@
# - Romania
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/@@REPO@@/os/@CARCH@
# - Russia
Server = http://archlinux.freeside.ru/@@REPO@@/os/@CARCH@
# - Sweden
Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/@@REPO@@/os/@CARCH@
Server = ftp://ftp.gigabit.nu/@@REPO@@/os/@CARCH@

View File

@@ -884,6 +884,7 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
char *ptr = NULL;
char *key = NULL;
int linenum = 0;
char origkey[256];
char section[256] = "";
pmdb_t *db = NULL;
@@ -938,21 +939,22 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
RET_ERR(PM_ERR_CONF_BAD_SYNTAX, -1);
}
_alpm_strtrim(key);
strncpy(origkey, key, min(255, strlen(key)));
key = _alpm_strtoupper(key);
if(!strlen(section) && strcmp(key, "INCLUDE")) {
RET_ERR(PM_ERR_CONF_DIRECTIVE_OUTSIDE_SECTION, -1);
}
if(ptr == NULL) {
if(!strcmp(key, "NOPASSIVEFTP")) {
if(strcmp(origkey, "NoPassiveFTP") == 0 || strcmp(key, "NOPASSIVEFTP") == 0) {
alpm_option_set_nopassiveftp(1);
_alpm_log(PM_LOG_DEBUG, _("config: nopassiveftp"));
} else if(!strcmp(key, "USESYSLOG")) {
} else if(strcmp(origkey, "UseSyslog") == 0 || strcmp(key, "USESYSLOG") == 0) {
alpm_option_set_usesyslog(1);
_alpm_log(PM_LOG_DEBUG, _("config: usesyslog"));
} else if(!strcmp(key, "ILOVECANDY")) {
} else if(strcmp(origkey, "ILoveCandy") == 0 || strcmp(key, "ILOVECANDY") == 0) {
alpm_option_set_chomp(1);
_alpm_log(PM_LOG_DEBUG, _("config: chomp"));
} else if(!strcmp(key, "USECOLOR")) {
} else if(strcmp(origkey, "UseColor") == 0 || strcmp(key, "USECOLOR") == 0) {
alpm_option_set_usecolor(1);
_alpm_log(PM_LOG_DEBUG, _("config: usecolor"));
} else {
@@ -960,13 +962,13 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
}
} else {
_alpm_strtrim(ptr);
if(!strcmp(key, "INCLUDE")) {
if(strcmp(origkey, "Include") == 0 || strcmp(key, "INCLUDE") == 0) {
char conf[PATH_MAX];
strncpy(conf, ptr, PATH_MAX);
_alpm_log(PM_LOG_DEBUG, _("config: including %s"), conf);
alpm_parse_config(conf, callback, section);
} else if(!strcmp(section, "options")) {
if(!strcmp(key, "NOUPGRADE")) {
} else if(strcmp(section, "options") == 0) {
if(strcmp(origkey, "NoUpgrade") == 0 || strcmp(key, "NOUPGRADE") == 0) {
char *p = ptr;
char *q;
@@ -979,7 +981,7 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
}
alpm_option_add_noupgrade(p);
_alpm_log(PM_LOG_DEBUG, _("config: noupgrade: %s"), p);
} else if(!strcmp(key, "NOEXTRACT")) {
} else if(strcmp(origkey, "NoExtract") == 0 || strcmp(key, "NOEXTRACT") == 0) {
char *p = ptr;
char *q;
@@ -992,7 +994,7 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
}
alpm_option_add_noextract(p);
_alpm_log(PM_LOG_DEBUG, _("config: noextract: %s"), p);
} else if(!strcmp(key, "IGNOREPKG")) {
} else if(strcmp(origkey, "IgnorePkg") == 0 || strcmp(key, "IGNOREPKG") == 0) {
char *p = ptr;
char *q;
@@ -1005,7 +1007,7 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
}
alpm_option_add_ignorepkg(p);
_alpm_log(PM_LOG_DEBUG, _("config: ignorepkg: %s"), p);
} else if(!strcmp(key, "HOLDPKG")) {
} else if(strcmp(origkey, "HoldPkg") == 0 || strcmp(key, "HOLDPKG") == 0) {
char *p = ptr;
char *q;
@@ -1018,27 +1020,34 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
}
alpm_option_add_holdpkg(p);
_alpm_log(PM_LOG_DEBUG, _("config: holdpkg: %s"), p);
} else if(!strcmp(key, "DBPATH")) {
} else if(strcmp(origkey, "DBPath") == 0 || strcmp(key, "DBPATH") == 0) {
/* shave off the leading slash, if there is one */
if(*ptr == '/') {
ptr++;
}
alpm_option_set_dbpath(ptr);
_alpm_log(PM_LOG_DEBUG, _("config: dbpath: %s"), ptr);
} else if(!strcmp(key, "CACHEDIR")) {
} else if(strcmp(origkey, "CacheDir") == 0 || strcmp(key, "CACHEDIR") == 0) {
/* shave off the leading slash, if there is one */
if(*ptr == '/') {
ptr++;
}
alpm_option_set_cachedir(ptr);
_alpm_log(PM_LOG_DEBUG, _("config: cachedir: %s"), ptr);
} else if (!strcmp(key, "LOGFILE")) {
} else if(strcmp(origkey, "RootDir") == 0 || strcmp(key, "ROOTDIR") == 0) {
/* shave off the leading slash, if there is one */
if(*ptr == '/') {
ptr++;
}
alpm_option_set_root(ptr);
_alpm_log(PM_LOG_DEBUG, _("config: rootdir: %s"), ptr);
} else if (strcmp(origkey, "LogFile") == 0 || strcmp(key, "LOGFILE") == 0) {
alpm_option_set_logfile(ptr);
_alpm_log(PM_LOG_DEBUG, _("config: logfile: %s"), ptr);
} else if (!strcmp(key, "XFERCOMMAND")) {
} else if (strcmp(origkey, "XferCommand") == 0 || strcmp(key, "XFERCOMMAND") == 0) {
alpm_option_set_xfercommand(ptr);
_alpm_log(PM_LOG_DEBUG, _("config: xfercommand: %s"), ptr);
} else if (!strcmp(key, "UPGRADEDELAY")) {
} else if (strcmp(origkey, "UpgradeDelay") == 0 || strcmp(key, "UPGRADEDELAY") == 0) {
/* The config value is in days, we use seconds */
time_t ud = atol(ptr) * 60 * 60 *24;
alpm_option_set_upgradedelay(ud);
@@ -1047,7 +1056,7 @@ int SYMEXPORT alpm_parse_config(char *file, alpm_cb_db_register callback, const
RET_ERR(PM_ERR_CONF_BAD_SYNTAX, -1);
}
} else {
if(!strcmp(key, "SERVER")) {
if(strcmp(origkey, "Server") == 0 || strcmp(key, "SERVER") == 0) {
/* add to the list */
if(alpm_db_setserver(db, ptr) != 0) {
/* pm_errno is set by alpm_db_setserver */

View File

@@ -216,14 +216,22 @@ int _alpm_sync_sysupgrade(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_s
alpm_pkg_get_name(local), alpm_pkg_get_version(local),
alpm_pkg_get_name(spkg), alpm_pkg_get_version(spkg));
if(!_alpm_sync_find(trans->packages, alpm_pkg_get_name(spkg))) {
pmpkg_t *dummy = _alpm_pkg_new(alpm_pkg_get_name(local),
alpm_pkg_get_version(local));
if(dummy == NULL) {
/* If package is in the ignorepkg list, ask before we add it to
* the transaction */
if(alpm_list_find_str(handle->ignorepkg, alpm_pkg_get_name(local))) {
int resp = 0;
QUESTION(trans, PM_TRANS_CONV_INSTALL_IGNOREPKG, local, NULL, NULL, &resp);
if(!resp) {
continue;
}
}
pmpkg_t *tmp = _alpm_pkg_dup(local);
if(tmp == NULL) {
goto error;
}
sync = _alpm_sync_new(PM_SYNC_TYPE_UPGRADE, spkg, dummy);
sync = _alpm_sync_new(PM_SYNC_TYPE_UPGRADE, spkg, tmp);
if(sync == NULL) {
FREEPKG(dummy);
FREEPKG(tmp);
goto error;
}
trans->packages = alpm_list_add(trans->packages, sync);

View File

@@ -135,7 +135,8 @@ int _alpm_trans_addtarget(pmtrans_t *trans, char *target)
ASSERT(target != NULL, RET_ERR(PM_ERR_WRONG_ARGS, -1));
if(alpm_list_find_str(trans->targets, target)) {
RET_ERR(PM_ERR_TRANS_DUP_TARGET, -1);
return(0);
//RET_ERR(PM_ERR_TRANS_DUP_TARGET, -1);
}
switch(trans->type) {

View File

@@ -560,11 +560,13 @@ cleanup:
static long long get_freespace()
{
struct mntent *mnt;
char *table = MOUNTED;
const char *table = MOUNTED;
FILE *fp;
long long ret=0;
if((fp = setmntent(table, "r")) == NULL) {
_alpm_log(PM_LOG_ERROR, _("cannot read disk space information from %s: %s"),
table, strerror(errno));
return(-1);
}

View File

@@ -0,0 +1,10 @@
# If someone else can come up with a better name, please do so
self.description = "Remove a package listed 5 times"
p = pmpkg("foo")
self.addpkg2db("local", p)
self.args = "-R " + "foo "*5
self.addrule("PACMAN_RETCODE=0")
self.addrule("!PKG_EXISTS=foo")

View File

@@ -746,7 +746,11 @@ else
if [ $ct -eq 0 ]; then
echo -n "${integrity_name}s=("
else
echo -ne "\t "
indent=0
while [ $indent -lt $((${#integrity_name}+3)) ]; do
echo -n " "
indent=$(($indent+1))
done
fi
echo -n "'$sum'"
ct=$(($ct+1))
@@ -809,6 +813,8 @@ else
file_type=$(file -biz "$file")
unset cmd
case "$file_type" in
*application/x-tar*application/x-compress*)
cmd="tar -xzf $file" ;;
*application/x-tar*)
cmd="tar -xf $file" ;;
*application/x-zip*)

View File

@@ -246,7 +246,7 @@ if [ $# -gt 1 ]; then
fi
else
if [ -f "$arg" ]; then
if ! tar xf "$arg" .PKGINFO 2>&1 >/dev/null; then
if ! tar tf "$arg" .PKGINFO 2>&1 >/dev/null; then
echo "error: '$arg' is not a package file, skipping"
else
echo ":: adding package '$arg'"

View File

@@ -129,7 +129,7 @@ msgstr "hiba: "
#: src/pacman/log.h:34
msgid "warning: "
msgstr "figyelmeztet<65>s"
msgstr "figyelmeztet<65>s: "
#: src/pacman/package.c:60
msgid "Explicitly installed"
@@ -270,7 +270,7 @@ msgstr "Backup f
#: src/pacman/package.c:180
#, c-format
msgid "error calculating checksums for %s\n"
msgstr "hiba a %s ellen<65>rz<72> <20>sszeg<65>nek sz<73>m<EFBFBD>t<EFBFBD>sa k<>zben\n"
msgstr "hiba a(z) %s ellen<65>rz<72> <20>sszeg<65>nek sz<73>m<EFBFBD>t<EFBFBD>sa k<>zben\n"
#: src/pacman/package.c:193
#, c-format
@@ -615,7 +615,7 @@ msgstr " foglaltak alapj
#: src/pacman/pacman.c:300
#, c-format
msgid "'%s' is not a valid debug level"
msgstr "a '%s' nem <20>rv<72>nyes hibakeres<65>si szint"
msgstr "a(z) '%s' nem <20>rv<72>nyes hibakeres<65>si szint"
#: src/pacman/pacman.c:315
#, c-format
@@ -687,7 +687,7 @@ msgstr "nem siker
#: src/pacman/query.c:105
#, c-format
msgid "cannot determine real path for '%s': %s"
msgstr "nem <20>llap<61>that<61> meg a val<61>di <20>tvonal a '%s' sz<73>m<EFBFBD>ra: %s"
msgstr "nem <20>llap<61>that<61> meg a val<61>di <20>tvonal a(z) '%s' sz<73>m<EFBFBD>ra: %s"
#: src/pacman/query.c:119
#, c-format
@@ -714,7 +714,7 @@ msgstr "nem tal
#: src/pacman/query.c:221
#, c-format
msgid "group \"%s\" was not found\n"
msgstr "a \"%s\" csoport nem tal<61>lhat<61>\n"
msgstr "a(z) \"%s\" csoport nem tal<61>lhat<61>\n"
#: src/pacman/query.c:232
msgid "no package file was specified for --file\n"
@@ -752,7 +752,7 @@ msgstr "nem siker
#: src/pacman/remove.c:92
#, c-format
msgid "failed to add target '%s' (%s)\n"
msgstr "nem siker<65>lt a '%s' c<>lt hozz<7A>adni a tranzakci<63>hoz (%s)\n"
msgstr "nem siker<65>lt a(z) '%s' c<>lt hozz<7A>adni a tranzakci<63>hoz (%s)\n"
#: src/pacman/remove.c:106
#, c-format
@@ -812,7 +812,7 @@ msgstr "nem siker
#: src/pacman/sync.c:223
#, c-format
msgid " %s is up to date\n"
msgstr " a %s naprak<61>sz\n"
msgstr " a(z) %s naprak<61>sz\n"
#: src/pacman/sync.c:345
#, c-format

View File

@@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Pacman package manager 3.0.0\n"
"Report-Msgid-Bugs-To: pacman-dev@archlinux.org\n"
"POT-Creation-Date: 2007-03-23 20:46-0500\n"
"PO-Revision-Date: 2007-03-22 12:40+0100\n"
"POT-Creation-Date: 2007-03-31 03:37+0200\n"
"PO-Revision-Date: 2007-03-31 04:00+0100\n"
"Last-Translator: Giovanni Scafora <linuxmania@gmail.com>\n"
"Language-Team: Arch Linux Italian Team <linuxmania@gmail.com>\n"
"MIME-Version: 1.0\n"
@@ -434,7 +434,7 @@ msgstr ""
#: src/pacman/pacman.c:127
#, c-format
msgid " required by any package\n"
msgstr " più richiesti da nessun pacchetto\n"
msgstr " ma non più richiesti da alcun pacchetto\n"
#: src/pacman/pacman.c:128 src/pacman/pacman.c:143
#, c-format
@@ -887,11 +887,6 @@ msgstr ":: Aggiornare pacman adesso? [Y/n] "
msgid "pacman: %s\n"
msgstr "pacman: %s\n"
#: src/pacman/sync.c:557
#, c-format
msgid "'%s': %s\n"
msgstr "'%s': %s\n"
#: src/pacman/sync.c:572
msgid ":: Install whole content? [Y/n] "
msgstr ":: Installare l'intero contenuto? [Y/n] "
@@ -1091,6 +1086,9 @@ msgstr ""
msgid "Total Installed Size: %.2f MB\n"
msgstr "Dimensione totale dei pacchetti installati: %.2f MB\n"
#~ msgid "'%s': %s\n"
#~ msgstr "'%s': %s\n"
#~ msgid "is required by"
#~ msgstr "è richiesto da"

View File

@@ -1,5 +1,5 @@
# Pacman Russian Translation
# Copyright (C) YEAR Judd Vinet <jvinet@zeroflux.org>
# Copyright (C) 2007 Judd Vinet <jvinet@zeroflux.org>
# This file is distributed under the same license as the Pacman package.
# Vladimir Bayrakovskiy <4rayven@gmail.com>, 2007
#
@@ -7,12 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Pacman package manager 3.0.0\n"
"Report-Msgid-Bugs-To: pacman-dev@archlinux.org\n"
"POT-Creation-Date: 2007-03-23 20:46-0500\n"
"POT-Creation-Date: 2007-03-25 17:41+0600\n"
"PO-Revision-Date: 2007-03-07 11:45-0500\n"
"Last-Translator: Vladimir Bayrakovskiy <4rayven@gmail.com>\n"
"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: src/pacman/add.c:72 src/pacman/remove.c:82 src/pacman/sync.c:482
#: src/pacman/sync.c:531
@@ -31,7 +34,7 @@ msgstr "чтение информации о пакете... "
#: src/pacman/add.c:83
#, c-format
msgid "failed to add target '%s' (%s)"
msgstr ""
msgstr "не удалось добавить цель '%s' (%s)"
#: src/pacman/add.c:88 src/pacman/sync.c:196 src/pacman/trans.c:73
#: src/pacman/trans.c:80 src/pacman/trans.c:91 src/pacman/trans.c:105
@@ -115,11 +118,11 @@ msgstr "функция"
#: src/pacman/log.c:194
msgid "Y"
msgstr ""
msgstr "Y"
#: src/pacman/log.c:194
msgid "YES"
msgstr ""
msgstr "YES"
#: src/pacman/log.h:30
msgid "error: "
@@ -131,7 +134,7 @@ msgstr "предупреждение: "
#: src/pacman/package.c:60
msgid "Explicitly installed"
msgstr "Неявно установлен"
msgstr "Явно установлен"
#: src/pacman/package.c:63
msgid "Installed as a dependency for another package"
@@ -170,7 +173,7 @@ msgstr "Группы :"
#: src/pacman/package.c:78 src/pacman/package.c:130
msgid "Provides :"
msgstr "Обеспечивает :"
msgstr "Предоставляет :"
#: src/pacman/package.c:79 src/pacman/package.c:131
msgid "Depends On :"
@@ -230,11 +233,11 @@ msgstr "Скрипт при установке : %s\n"
#: src/pacman/package.c:96
msgid "Yes"
msgstr ""
msgstr "Yes"
#: src/pacman/package.c:96
msgid "No"
msgstr ""
msgstr "No"
#: src/pacman/package.c:126
#, c-format
@@ -303,37 +306,37 @@ msgstr "использование: %s {-h --help}\n"
#: src/pacman/pacman.c:91
#, c-format
msgid " %s {-V --version}\n"
msgstr ""
msgstr " %s {-V --version}\n"
#: src/pacman/pacman.c:92
#, c-format
msgid " %s {-A --add} [options] <file>\n"
msgstr " %s {-A --add} [опции] <файл>\n"
msgstr " %s {-A --add} [параметры] <файл>\n"
#: src/pacman/pacman.c:93
#, c-format
msgid " %s {-F --freshen} [options] <file>\n"
msgstr " %s {-F --freshen} [опции] <файл>\n"
msgstr " %s {-F --freshen} [параметры] <файл>\n"
#: src/pacman/pacman.c:94
#, c-format
msgid " %s {-Q --query} [options] [package]\n"
msgstr " %s {-Q --query} [опции] [пакет]\n"
msgstr " %s {-Q --query} [параметры] [пакет]\n"
#: src/pacman/pacman.c:95
#, c-format
msgid " %s {-R --remove} [options] <package>\n"
msgstr " %s {-R --remove} [опции] <пакет>\n"
msgstr " %s {-R --remove} [параметры] <пакет>\n"
#: src/pacman/pacman.c:96
#, c-format
msgid " %s {-S --sync} [options] [package]\n"
msgstr " %s {-S --sync} [опции] [пакет]\n"
msgstr " %s {-S --sync} [параметры] [пакет]\n"
#: src/pacman/pacman.c:97
#, c-format
msgid " %s {-U --upgrade} [options] <file>\n"
msgstr " %s {-U --upgrade} [опции] <файл>\n"
msgstr " %s {-U --upgrade} [параметры] <файл>\n"
#: src/pacman/pacman.c:98
#, c-format
@@ -348,13 +351,13 @@ msgstr ""
#: src/pacman/pacman.c:101
#, c-format
msgid "usage: %s {-A --add} [options] <file>\n"
msgstr "использование: %s {-A --add} [опции] <файл>\n"
msgstr "использование: %s {-A --add} [параметры] <файл>\n"
#: src/pacman/pacman.c:102 src/pacman/pacman.c:107 src/pacman/pacman.c:119
#: src/pacman/pacman.c:124 src/pacman/pacman.c:138
#, c-format
msgid "options:\n"
msgstr "опции:\n"
msgstr "параметры:\n"
#: src/pacman/pacman.c:103 src/pacman/pacman.c:109 src/pacman/pacman.c:120
#: src/pacman/pacman.c:140
@@ -372,7 +375,7 @@ msgstr ""
#: src/pacman/pacman.c:106
#, c-format
msgid "usage: %s {-R --remove} [options] <package>\n"
msgstr "использование: %s {-R --remove} [опции] <пакет>\n"
msgstr "использование: %s {-R --remove} [параметры] <пакет>\n"
#: src/pacman/pacman.c:108
#, c-format
@@ -404,17 +407,17 @@ msgstr ""
#: src/pacman/pacman.c:115
#, c-format
msgid "usage: %s {-F --freshen} [options] <file>\n"
msgstr "использование: %s {-F --freshen} [опции] <файл>\n"
msgstr "использование: %s {-F --freshen} [параметры] <файл>\n"
#: src/pacman/pacman.c:117
#, c-format
msgid "usage: %s {-U --upgrade} [options] <file>\n"
msgstr "использование: %s {-U --upgrade} [опции] <файл>\n"
msgstr "использование: %s {-U --upgrade} [параметры] <файл>\n"
#: src/pacman/pacman.c:123
#, c-format
msgid "usage: %s {-Q --query} [options] [package]\n"
msgstr "использование: %s {-Q --query} [опции] [пакет]\n"
msgstr "использование: %s {-Q --query} [параметры] [пакет]\n"
#: src/pacman/pacman.c:125
#, c-format
@@ -454,7 +457,7 @@ msgstr " -l, --list показать содержимое запра
msgid ""
" -m, --foreign list installed packages not found in sync db(s)\n"
msgstr ""
" -m, --foreign показать все пакеты не найденные в базе данных(s)\n"
" -m, --foreign показать все пакеты не найденные в базе(ах) данных\n"
#: src/pacman/pacman.c:132
#, c-format
@@ -487,7 +490,7 @@ msgstr ""
#: src/pacman/pacman.c:137
#, c-format
msgid "usage: %s {-S --sync} [options] [package]\n"
msgstr "использование: %s {-S --sync} [опции] [пакет]\n"
msgstr "использование: %s {-S --sync} [параметры] [пакет]\n"
#: src/pacman/pacman.c:139
#, c-format
@@ -506,8 +509,7 @@ msgstr " -e, --dependsonly установить только зависим
#: src/pacman/pacman.c:145
#, c-format
msgid " -l, --list <repo> view a list of packages in a repo\n"
msgstr ""
" -l, --list <repo> показать список всех пакетов в репозитории repo\n"
msgstr " -l, --list <repo> показать все пакеты данного репозитория\n"
#: src/pacman/pacman.c:146
#, c-format
@@ -537,8 +539,7 @@ msgid ""
" -w, --downloadonly download packages but do not install/upgrade "
"anything\n"
msgstr ""
" -w, --downloadonly загрузить пакеты с сервера, но ничего не "
"устанавливать и не обновлять\n"
" -w, --downloadonly загрузить пакеты с сервера, но не устанавливать\n"
#: src/pacman/pacman.c:150
#, c-format
@@ -553,14 +554,14 @@ msgid ""
" --ignore <pkg> ignore a package upgrade (can be used more than "
"once)\n"
msgstr ""
" --ignore <pkg> игнорировать пакет при обновлении (может быть "
" --ignore <пакет> игнорировать пакет при обновлении (может быть "
"использовано неоднократно)\n"
#: src/pacman/pacman.c:153
#, c-format
msgid " --config <path> set an alternate configuration file\n"
msgstr ""
" --config <path> использовать альтернативный конфигурационный файл\n"
" --config <путь> использовать альтернативный конфигурационный файл\n"
#: src/pacman/pacman.c:154
#, c-format
@@ -572,7 +573,7 @@ msgstr " --noconfirm не спрашивать подтвержден
msgid ""
" --ask <number> pre-specify answers for questions (see manpage)\n"
msgstr ""
" --ask <number> заранее подготовленные ответы на вопросы (смотрите "
" --ask <число> заранее подготовленные ответы на вопросы (смотрите "
"man-страницу)\n"
#: src/pacman/pacman.c:156
@@ -597,30 +598,30 @@ msgstr " -v, --verbose выводить больше информаци
#, c-format
msgid " -r, --root <path> set an alternate installation root\n"
msgstr ""
" -r, --root <path> указать алтернативную корневую директорию для "
" -r, --root <путь> указать альтернативную корневую директорию для "
"установки\n"
#: src/pacman/pacman.c:160
#, c-format
msgid " -b, --dbpath <path> set an alternate database location\n"
msgstr ""
" -b, --dbpath <path> указать альтернативное расположение базы данных\n"
" -b, --dbpath <путь> указать альтернативное расположение базы данных\n"
#: src/pacman/pacman.c:161
#, c-format
msgid " --cachedir <dir> set an alternate package cache location\n"
msgstr ""
" --cachedir <директория> указать альтернативное расположение кэша\n"
msgstr " --cachedir <dir> указать альтернативное расположение кэша\n"
#: src/pacman/pacman.c:174
#, c-format
msgid " This program may be freely redistributed under\n"
msgstr ""
" This program may be freely redistributed under\n"
#: src/pacman/pacman.c:175
#, c-format
msgid " the terms of the GNU General Public License\n"
msgstr ""
msgstr " the terms of the GNU General Public License\n"
#: src/pacman/pacman.c:300
#, c-format
@@ -640,7 +641,7 @@ msgstr "'%s' неправильно указан путь к базе данны
#: src/pacman/pacman.c:363
#, c-format
msgid "'%s' is not a valid root path\n"
msgstr "'%s' не является верным корневым каталогом\n"
msgstr "некорректный корневой каталог: '%s'\n"
#: src/pacman/pacman.c:390
msgid "only one operation may be used at a time\n"
@@ -648,7 +649,7 @@ msgstr "одновременно может выполняться только
#: src/pacman/pacman.c:436
msgid "warning: current locale is invalid; using default \"C\" locale"
msgstr ""
msgstr "warning: current locale is invalid; using default \"C\" locale"
#: src/pacman/pacman.c:456
#, c-format
@@ -657,12 +658,13 @@ msgstr "не удалось инициализировать библиотек
#: src/pacman/pacman.c:489
msgid "you cannot perform this operation unless you are root.\n"
msgstr "Вы не можете выполнить эту операцию если вы не root.\n"
msgstr ""
"Вы не можете выполнить эту операцию не являясь суперпользователем (root).\n"
#: src/pacman/pacman.c:505
#, c-format
msgid "failed to parse config (%s)\n"
msgstr "не удалось разобрать конфигурационный файл (%s)\n"
msgstr "не удалось обработать конфигурационный файл (%s)\n"
#: src/pacman/pacman.c:516
msgid "Targets :"
@@ -671,15 +673,15 @@ msgstr "Цели :"
#: src/pacman/pacman.c:522
#, c-format
msgid "could not register 'local' database (%s)\n"
msgstr "не могу зарегистрировать 'локальную' базу данных (%s)\n"
msgstr "не могу зарегистрировать локальную базу данных (%s)\n"
#: src/pacman/pacman.c:529
msgid "no targets specified (use -h for help)\n"
msgstr "не задано целей (для помощи используйте -h)\n"
msgstr "не задано целей (для справки используйте -h)\n"
#: src/pacman/pacman.c:542
msgid "no operation specified (use -h for help)\n"
msgstr "не указаны конкретные операции (для помощи используйте -h)\n"
msgstr "не задана операция (для справки используйте -h)\n"
#: src/pacman/query.c:90
msgid "no file was specified for --owns\n"
@@ -692,12 +694,12 @@ msgstr "не удалось прочитать файл '%s': %s"
#: src/pacman/query.c:100
msgid "cannot determine ownership of a directory"
msgstr "не удается определить владельца директории"
msgstr "не удалось определить владельца каталога"
#: src/pacman/query.c:105
#, c-format
msgid "cannot determine real path for '%s': %s"
msgstr ""
msgstr "не удалось определить настоящий путь для '%s': %s"
#: src/pacman/query.c:119
#, c-format
@@ -728,7 +730,7 @@ msgstr "группа \"%s\" не найдена\n"
#: src/pacman/query.c:232
msgid "no package file was specified for --file\n"
msgstr "не указан файл пакета для опции --file\n"
msgstr "не указан файл пакета для параметра --file\n"
#: src/pacman/query.c:236
#, c-format
@@ -850,7 +852,7 @@ msgstr ":: Синхронизирую базу данных пакетов...\n"
#: src/pacman/sync.c:491
msgid "synchronizing package lists"
msgstr "синхронизирую список пакетов"
msgstr "синхронизирую списки пакетов"
#: src/pacman/sync.c:493
msgid "failed to synchronize any databases"
@@ -882,17 +884,17 @@ msgstr ":: после чего перезапустить операцию с и
#: src/pacman/sync.c:522
msgid ":: Upgrade pacman first? [Y/n] "
msgstr ":: Сначала обновить pacman? [Y/n] "
msgstr ":: Обновить pacman в первую очередь? [Y/n] "
#: src/pacman/sync.c:537
#, c-format
msgid "pacman: %s\n"
msgstr ""
msgstr "pacman: %s\n"
#: src/pacman/sync.c:557
#, c-format
msgid "'%s': %s\n"
msgstr ""
msgstr "'%s': %s\n"
#: src/pacman/sync.c:572
msgid ":: Install whole content? [Y/n] "
@@ -906,7 +908,7 @@ msgstr ":: Установить %s из группы %s? [Y/n] "
#: src/pacman/sync.c:603
#, c-format
msgid "'%s': not found in sync db\n"
msgstr "'%s': не найдено в базе данных\n"
msgstr "'%s': не найдено в базе пакетов\n"
#: src/pacman/sync.c:621
msgid "requires"

View File

@@ -554,7 +554,7 @@ int pacman_sync(alpm_list_t *targets)
continue;
}
if(pm_errno != PM_ERR_PKG_NOT_FOUND) {
ERR(NL, _("'%s': %s\n"), (char *)i->data, alpm_strerror(pm_errno));
ERR(NL, "'%s': %s\n", (char *)i->data, alpm_strerror(pm_errno));
retval = 1;
goto cleanup;
}