ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] и зачем мне это всё притащили? (или о кривом автопоиске зависимостей)
@ 2007-09-26  7:12 Michael Shigorin
  2007-09-26  7:45 ` Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Shigorin @ 2007-09-26  7:12 UTC (permalink / raw)
  To: sisyphus

	Здравствуйте.
hasher32:~> sudo apt-get update; sudo apt-get dist-upgrade                                                                               
Password:                                     
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded
  binutils check lftp libSDL libbfd libncurses libncursesw libtcl libtinfo libtk spt strace tcl terminfo termutils tk
The following NEW packages will be installed:
  alterator-autoinstall alterator-backend-x11 alterator-browser-qt alterator-icons-desktop alterator-lookout alterator-profile alterator-wizard console-vt-tools
  ddcprobe eject fonts-bitmap-misc fonts-ttf-dejavu glxinfo hwdatabase iceauth installer installer-stage2 libXdamage libXfont libXfontcache libXv libXvMC libcheck
  libcheck-devel libdrm libfontenc liblcms libmesa libmng libpixman libqt4-core libqt4-gui libqt4-xml libshell libtic libvbe libxorgconfig mkfontdir mkfontscale
  pciutils qt4-common qt4-settings x11presetdrv x11setupdrv xdriinfo xinit xkbcomp xkeyboard-config xorg-server-control xorg-x11-dri-ati xorg-x11-dri-intel
  xorg-x11-dri-mga xorg-x11-dri-savage xorg-x11-dri-sis xorg-x11-dri-tdfx xorg-x11-dri-via xorg-x11-drv-ati xorg-x11-drv-cirrus xorg-x11-drv-evdev xorg-x11-drv-fbdev
  xorg-x11-drv-intel xorg-x11-drv-keyboard xorg-x11-drv-mga xorg-x11-drv-mouse xorg-x11-drv-multimedia xorg-x11-drv-nv xorg-x11-drv-s3 xorg-x11-drv-s3virge
  xorg-x11-drv-savage xorg-x11-drv-sis xorg-x11-drv-tdfx xorg-x11-drv-trident xorg-x11-drv-vesa xorg-x11-drv-vga xorg-x11-drv-via xorg-x11-drv-video
  xorg-x11-drv-vmware xorg-x11-drv-voodoo xorg-x11-extensions-glx xorg-x11-rgb xorg-x11-server xorg-x11-server-common xrandr xset
16 upgraded, 84 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/40.5MB of archives.
After unpacking 77.6MB of additional disk space will be used.
Do you want to continue? [Y/n] 

Выяснение по одному показало, что виноват spt, точнее,
добавившаяся зависимость на installer-stage2:

hasher32:~> apt-cache depends spt    
spt-0.6.0-alt10
  Depends: hasher >= 1.2.1
  Depends: bzip2
  Depends: coreutils
  Depends: findutils
  Depends: gzip
  Depends: installer-stage2
  Depends: rsync
  Depends: sh
hasher32:~> apt-cache depends installer-stage2
[и понеслась]

Руками эту зависимость в spt-0.6.0-alt10 явно никто не ставил:
http://git.altlinux.org/people/lakostis/packages/?p=spt.git;a=commitdiff;h=2479edb88952ad916823a4a8880c43aae241754d

До выяснения обстоятельств придётся как минимум захолдить spt,
точнее, поскольку изменение содержит нужную фичу -- сделал
бэкпорт на M40 (с зависимостями всё в порядке) и поставил его.

Повесил #12928, но это скорее всего misassigned bug.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [sisyphus] и зачем мне это всё притащили? (или о кривом автопоиске зависимостей)
  2007-09-26  7:12 [sisyphus] и зачем мне это всё притащили? (или о кривом автопоиске зависимостей) Michael Shigorin
@ 2007-09-26  7:45 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2007-09-26  7:45 UTC (permalink / raw)
  To: sisyphus

On Wed, Sep 26, 2007 at 10:12:41AM +0300, I wrote:
> The following packages will be upgraded
>   binutils check lftp libSDL libbfd libncurses libncursesw libtcl libtinfo libtk spt strace tcl terminfo termutils tk
> The following NEW packages will be installed:

На ноутбуке -- тоже ничего так:

pad:~> sudo apt-get update; sudo apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded
  alterator-net-eth chestnut-dialer chestnut-dialer-gtk2 chestnut-dialer-qt kdenetwork-common
  kdenetwork-filesharing kdenetwork-kdict kdenetwork-kdnssd kdenetwork-kget kdenetwork-kppp
  kdenetwork-kwifimanager kdenetwork-lisa lftp libncurses libncurses-devel libncursesw libpq5.2 libtcl
  libtinfo libtinfo-devel libtk tcl terminfo termutils tightvnc tk
The following NEW packages will be installed:
  alterator-autoinstall alterator-wizard installer installer-stage2 libtic xorg-x11-dri-mga
  xorg-x11-dri-savage xorg-x11-dri-sis xorg-x11-dri-tdfx xorg-x11-dri-via xorg-x11-drv-cirrus
  xorg-x11-drv-mga xorg-x11-drv-nv xorg-x11-drv-s3 xorg-x11-drv-s3virge xorg-x11-drv-savage
  xorg-x11-drv-sis xorg-x11-drv-tdfx xorg-x11-drv-trident xorg-x11-drv-via xorg-x11-drv-video
  xorg-x11-drv-vmware xorg-x11-drv-voodoo
The following packages have been kept back
  spt
26 upgraded, 23 newly installed, 0 removed and 1 not upgraded.
Need to get 0B/12.8MB of archives.
After unpacking 14.1MB of additional disk space will be used.
Do you want to continue? [Y/n]

После install всего, что upgraded, вручную -- получается такая
картина маслом:

pad:~> sudo apt-get update; sudo apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
  alterator-autoinstall alterator-wizard installer installer-stage2 xorg-x11-dri-mga
  xorg-x11-dri-savage xorg-x11-dri-sis xorg-x11-dri-tdfx xorg-x11-dri-via xorg-x11-drv-cirrus
  xorg-x11-drv-mga xorg-x11-drv-nv xorg-x11-drv-s3 xorg-x11-drv-s3virge xorg-x11-drv-savage
  xorg-x11-drv-sis xorg-x11-drv-tdfx xorg-x11-drv-trident xorg-x11-drv-via xorg-x11-drv-video
  xorg-x11-drv-vmware xorg-x11-drv-voodoo
The following packages have been kept back
  spt
0 upgraded, 22 newly installed, 0 removed and 1 not upgraded.
Need to get 0B/5460kB of archives.
After unpacking 14.1MB of additional disk space will be used.
Do you want to continue? [Y/n] 

Это на каком основании оно собралось ставить данные пакеты?

>   alterator-autoinstall alterator-backend-x11 alterator-browser-qt alterator-icons-desktop alterator-lookout alterator-profile alterator-wizard console-vt-tools
>   ddcprobe eject fonts-bitmap-misc fonts-ttf-dejavu glxinfo hwdatabase iceauth installer installer-stage2 libXdamage libXfont libXfontcache libXv libXvMC libcheck
>   libcheck-devel libdrm libfontenc liblcms libmesa libmng libpixman libqt4-core libqt4-gui libqt4-xml libshell libtic libvbe libxorgconfig mkfontdir mkfontscale
>   pciutils qt4-common qt4-settings x11presetdrv x11setupdrv xdriinfo xinit xkbcomp xkeyboard-config xorg-server-control xorg-x11-dri-ati xorg-x11-dri-intel
>   xorg-x11-dri-mga xorg-x11-dri-savage xorg-x11-dri-sis xorg-x11-dri-tdfx xorg-x11-dri-via xorg-x11-drv-ati xorg-x11-drv-cirrus xorg-x11-drv-evdev xorg-x11-drv-fbdev
>   xorg-x11-drv-intel xorg-x11-drv-keyboard xorg-x11-drv-mga xorg-x11-drv-mouse xorg-x11-drv-multimedia xorg-x11-drv-nv xorg-x11-drv-s3 xorg-x11-drv-s3virge
>   xorg-x11-drv-savage xorg-x11-drv-sis xorg-x11-drv-tdfx xorg-x11-drv-trident xorg-x11-drv-vesa xorg-x11-drv-vga xorg-x11-drv-via xorg-x11-drv-video
>   xorg-x11-drv-vmware xorg-x11-drv-voodoo xorg-x11-extensions-glx xorg-x11-rgb xorg-x11-server xorg-x11-server-common xrandr xset

Кстати, на hasher32 при нулевом списке подлежащих обновлению
пакетов dist-upgrade продолжает предлагать всунуть остаток
этого списка на систему.

> Выяснение по одному показало, что виноват spt, точнее,
> добавившаяся зависимость на installer-stage2:

Здесь apt-get install spt _приводило_ к попытке затащить
installer-stage2.

Там уже подозревал tightvnc в вылезшей схожей проблеме, однако
сам по себе, как и остальные пакеты, он ничего неожиданного
_не_ потянул.

Сперва предполагал использование какой-то функции со слишком
общим названием где-то в скриптах installer-stage2, но теперь
смахивает ещё и на проблему либо в apt, либо в моём понимании
dist-upgrade.

Если снести spt-0.6.0-alt9.M40.1 (не содержащий зависимости на
installer-stage2), то dist-upgrade не пытается производить
каких-либо действий:

hasher32:~> sudo rpm -e spt
hasher32:~> sudo apt-get update; sudo apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

Мне кажется, что в сизифе сейчас сломаны и rpm-build, и apt.
Буду рад узнать, что ошибаюсь.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2007-09-26  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-26  7:12 [sisyphus] и зачем мне это всё притащили? (или о кривом автопоиске зависимостей) Michael Shigorin
2007-09-26  7:45 ` Michael Shigorin

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