ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] и зачем мне это всё притащили? (или о кривом автопоиске зависимостей)
Date: Wed, 26 Sep 2007 10:45:28 +0300
Message-ID: <20070926074527.GR17669@osdn.org.ua> (raw)
In-Reply-To: <20070926071241.GQ17669@osdn.org.ua>

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/


      reply	other threads:[~2007-09-26  7:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26  7:12 Michael Shigorin
2007-09-26  7:45 ` Michael Shigorin [this message]

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=20070926074527.GR17669@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@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