ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] apt-0.5.4cnc9-alt5 packaging bug
@ 2003-01-03 11:29 Ivan Adzhubei
  2003-01-08  9:27 ` Stanislav Ievlev
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Adzhubei @ 2003-01-03 11:29 UTC (permalink / raw)
  To: sisyphus

С Новым Годом!

В пакете apt-0.5.4cnc9-alt5 отсутствует зависимость на sed-3.02-alt2, в
результате при наличии старого sed в системе и попытке сделать:

# apt-get install apt

Получается вот что:

10: apt                      ###########################################
[ 83%] /var/tmp/rpm-tmp.13773: line 3: /usr/bin/subst: No such file or
directory error: execution of %trigger scriptlet from apt-0.5.4cnc9-alt5
failed, exit status 127
11: aptitude                ###########################################
[ 91%] 12: bzip2            #      
###########################################
 [100%] E:
#       #Sub-process /bin/rpm returned an error code (12)

# rpm -q --whatprovides /usr/bin/subst
sed-3.02-alt2
sed-3.02-alt2

-- 
Иван


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] apt-0.5.4cnc9-alt5 packaging bug
  2003-01-03 11:29 [sisyphus] apt-0.5.4cnc9-alt5 packaging bug Ivan Adzhubei
@ 2003-01-08  9:27 ` Stanislav Ievlev
  0 siblings, 0 replies; 2+ messages in thread
From: Stanislav Ievlev @ 2003-01-08  9:27 UTC (permalink / raw)
  To: sisyphus; +Cc: ldv

On Fri, Jan 03, 2003 at 02:29:09PM +0300, Ivan Adzhubei wrote:
> С Новым Годом!
> 
> В пакете apt-0.5.4cnc9-alt5 отсутствует зависимость на sed-3.02-alt2, в
> результате при наличии старого sed в системе и попытке сделать:
Кстати есть идея:
Помимо задания макросов для rpm (лежащих в /etc/rpm/macros.d/) возможность
автоматического выставления зависимости на нужную версию пакета.

Например: 
Если sed имеет описание в файле /etc/rpm/macros.d/sed макроса '%__subst'.
То rpm автоматически будет создавать зависимость Requires : sed >=
(текущая установленная версия)

> 
> # apt-get install apt
> 
> Получается вот что:
> 
> 10: apt                      ###########################################
> [ 83%] /var/tmp/rpm-tmp.13773: line 3: /usr/bin/subst: No such file or
> directory error: execution of %trigger scriptlet from apt-0.5.4cnc9-alt5
> failed, exit status 127
> 11: aptitude                ###########################################
> [ 91%] 12: bzip2            #      
> ###########################################
>  [100%] E:
> #       #Sub-process /bin/rpm returned an error code (12)
> 
> # rpm -q --whatprovides /usr/bin/subst
> sed-3.02-alt2
> sed-3.02-alt2
> 
> -- 
> Иван
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@altlinux.ru
> http://altlinux.ru/mailman/listinfo/sisyphus


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-08  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-03 11:29 [sisyphus] apt-0.5.4cnc9-alt5 packaging bug Ivan Adzhubei
2003-01-08  9:27 ` Stanislav Ievlev

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