ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Stas <stas.grumbler@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] mc uzip failed
Date: Wed, 30 Nov 2016 10:33:45 +0500
Message-ID: <583E64B9.1070204@gmail.com> (raw)
In-Reply-To: <CABUeJrS0bNUSOmcNEsHsBhWPiBW9VXTD4XVj+5a30j5_8up9Ow@mail.gmail.com>

Приветствую!

Дошли руки посмотреть, что там.

Во-первых, у меня в P7 /usr/lib/mc/extfs.d/uzip отличается от вашего -
строки другие.
Какая у вас версия пакета mc? (команда "rpm -qf
/usr/lib/mc/extfs.d/uzip" выдаст пакет)


On 29.11.2016 12:33, Aleksey Birukov wrote:
> Вот часть вывода отладчика:
> main::(/usr/lib/mc/extfs.d/uzip:106):
> 106:    if ($cmd eq 'list')    { &mczipfs_list(@ARGV); }
>   DB<1> n
> main::(/usr/lib/mc/extfs.d/uzip:106):
> 106:    if ($cmd eq 'list')    { &mczipfs_list(@ARGV); }
>   DB<1> n
> uzip (list): /usr/bin/unzip failed - Нет дочерних процессов
>  at /usr/lib/mc/extfs.d/uzip line 368.
>         main::croak('/usr/bin/unzip failed') called at
> /usr/lib/mc/extfs.d/uzip line 278
>         main::mczipfs_list() called at /usr/lib/mc/extfs.d/uzip line 106
> Debugged program terminated.  Use q to quit or R to restart,

Смотрите, что в строке 278. Скорее всего это  первая строка в функции
mczipfs_list
        open (PIPE, "$cmd_list $qarchive |") || &croak("$app_unzip failed");
и нужно смотреть, что передаётся в вторым параметром в open().
Подозреваю, что у вас имя архива неправильно обрабатывается скриптом.

>
> Ещё внимание привлекли вот эти строки:
>
> main::(/usr/lib/mc/extfs.d/uzip:50):
> 50:     die "uzip: missing command and/or archive arguments\n" if
> ($#ARGV < 1);

Это элементарная защита от запуска /usr/lib/mc/extfs.d/uzip без
параметров. В вашем случае параметр(ы) есть и условие не срабатывает.

-- 
Станислав Дёгтев
Служба "Ваш админ"
 Мои контакты:
 - jabber: grumbler@grumbler.org
 - email: stas.grumbler@gmail.com и stas@vashadmin.su
 - телефоны в Е-бурге +79045430461 и +79222112259


  parent reply	other threads:[~2016-11-30  5:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-25 15:40 ` Stas
2016-11-25 23:09     ` Stas
2016-11-27 11:05         ` Sergey
2016-11-27 20:08             ` Stas
2016-11-28  5:26             ` Sergey
2016-11-29 19:46                 ` Sergey
2016-11-30  5:33                 ` Stas [this message]
2016-11-30 11:58 ` Sergey
2016-12-01  9:43     ` Stas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=583E64B9.1070204@gmail.com \
    --to=stas.grumbler@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git