ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] sisyphus hal on branch 4.0
@ 2008-07-24  9:03 Mykola S. Grechukh
  2008-08-18  9:08 ` Ildar Mulyukov
  0 siblings, 1 reply; 2+ messages in thread
From: Mykola S. Grechukh @ 2008-07-24  9:03 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Здравствуйте,

есть бранч 4.0. [root@localhost ~]# rpm -q hal : hal-0.5.10-alt9.M40.1

[root@localhost ~]# hal-find-by-property --key block.device --string "/dev/sda1"
/org/freedesktop/Hal/devices/volume_uuid_479C_E336

ставлю новый хал из сизифа:

[root@localhost ~]# apt-get install hal
The following extra packages will be installed:
  ConsoleKit libConsoleKit libhal libhal-devel libpci pam-ck-connector
The following packages will be upgraded
  hal libhal libhal-devel
The following NEW packages will be installed:
  ConsoleKit libConsoleKit libpci pam-ck-connector
3 upgraded, 4 newly installed, 0 removed and 741 not upgraded.
[....]

[root@localhost ~]# rpm -q hal
hal-0.5.11-alt9

[root@localhost ~]# /etc/init.d/haldaemon restart
Stopping HAL service: [ DONE ]
Starting HAL service: [ DONE ]

[root@localhost ~]# hal-find-by-property --key block.device --string "/dev/sda1"
[root@localhost ~]# lshal | grep sda1
[root@localhost ~]# lshal | grep hda1

это всё из-за

[1928]: 11:54:45.095 [D] probe-volume.c:377: Doing probe-volume for /dev/sda1
[1928]: 11:54:45.107 [D] probe-volume.c:388: volume.block_size = 512
[1928]: 11:54:45.108 [D] probe-volume.c:392: volume.size = 4099991552
[1928]: 11:54:45.114 [I] probe-volume.c:621: invoking
volume_id_probe_all, offset=0, size=0
1928: 11:54:45.116: volume_id.c:45 probing at offset 0x0, size 0xf460e800
1928: 11:54:45.387: volume_id.c:103 probing at offset 0x0, size 0xf460e800
[1928]: 11:54:45.404 [I] probe-volume.c:623: volume_id_probe_all returned 0
/usr/libexec/hal/hald-probe-volume: symbol lookup error:
/usr/libexec/hal/hald-probe-volume: undefined symbol:
volume_id_get_usage

Тут интуиция подсказала, что нужно обновить libvolume_id (однако
удивляясь, почему нет зависимости на версию)

apt> install libvolume_id
Unrequested changes are needed to execute this operation.
The following packages will be upgraded
  libvolume_id libvolume_id-devel mkinitrd-initramfs udev udev-rules
The following packages will be REPLACED:
  hotplug (by udev)
The following packages will be REMOVED:
  bootsplash design-bootsplash-system-desktop kernel-image-wks-smp#2.6.26-alt1
  kernel-modules-alsa-wks-smp#2.6.26-alt1
kernel-modules-kqemu-wks-smp#1.3.0-alt0.1.pre11.132634.1 mkinitrd
  udev-initramfs
5 upgraded, 0 newly installed, 1 replaced, 7 removed and 0 kept.
Will need more 296kB of archives.
After unpacking 63.4MB disk space will be freed.
Do you want to continue? [Y/n] y

Здесь интуиции стало не по себе.

apt> install kernel-image-wks-smp#2.6.26-alt1
kernel-modules-kqemu-wks-smp#1.3.0-alt0.1.pre11.132634.1
kernel-modules-alsa-wks-smp#2.6.26-alt1
kernel-image-wks-smp#2.6.26-alt1 is already the newest version.
kernel-modules-kqemu-wks-smp#1.3.0-alt0.1.pre11.132634.1 is already
the newest version.
kernel-modules-alsa-wks-smp#2.6.26-alt1 is already the newest version.
Unrequested changes are needed to execute this operation.

The following packages will be upgraded
  klibc klibc-utils-initramfs mkinitrd udev-initramfs

The following packages have been kept back
  kernel-image-wks-smp#2.6.26-alt1 kernel-modules-alsa-wks-smp#2.6.26-alt1
  kernel-modules-kqemu-wks-smp#1.3.0-alt0.1.pre11.132634.1 mkinitrd
udev-initramfs

4 upgraded, 0 newly installed, 0 removed and 0 kept.
Will need more 191kB of archives.
After unpacking will need more 57.7MB of disk space.
Do you want to continue? [Y/n] y

apt> status
The following packages will be upgraded
  klibc klibc-utils-initramfs libvolume_id libvolume_id-devel mkinitrd
mkinitrd-initramfs udev udev-initramfs
  udev-rules
The following packages will be REPLACED:
  hotplug (by udev)
The following packages will be REMOVED:
  bootsplash design-bootsplash-system-desktop
9 upgraded, 0 newly installed, 1 replaced, 2 removed and 731 not upgraded.
Will need 486kB of archives.
After unpacking 5791kB disk space will be freed.

ага. Проверяем эту теорию:

apt> exit

[root@localhost ~]# apt-get install libvolume_id klibc

Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  klibc-utils-initramfs libvolume_id-devel udev udev-initramfs udev-rules
The following packages will be upgraded
  klibc klibc-utils-initramfs libvolume_id libvolume_id-devel udev
udev-initramfs udev-rules
The following packages will be REPLACED:
  hotplug (by udev)
7 upgraded, 0 newly installed, 1 replaced, 0 removed and 734 not upgraded.
Need to get 428kB of archives.
After unpacking 385kB disk space will be freed.
Do you want to continue? [Y/n]

теперь всё красиво.

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

* Re: [sisyphus] sisyphus hal on branch 4.0
  2008-07-24  9:03 [sisyphus] sisyphus hal on branch 4.0 Mykola S. Grechukh
@ 2008-08-18  9:08 ` Ildar Mulyukov
  0 siblings, 0 replies; 2+ messages in thread
From: Ildar Mulyukov @ 2008-08-18  9:08 UTC (permalink / raw)
  To: sisyphus

On 24.07.2008 15:03:44, Mykola S. Grechukh wrote:
> Здравствуйте,

Это называется "неровности apt, которые уже всех достали". Из-за этого  
писем в рассылках написано столько, что по объёму догоняет исходники  
самого apt-а.

Многие знают, но никто ничего сделать не может, т.к. задача немерянная.  
Если хотите, для разминки можете заглянуть и пересчитать количество  
открытых багов на apt-е.

С уважением, Ильдар.
-- 
Ildar  Mulyukov,  free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar@jabber.ru
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================


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

end of thread, other threads:[~2008-08-18  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-24  9:03 [sisyphus] sisyphus hal on branch 4.0 Mykola S. Grechukh
2008-08-18  9:08 ` Ildar Mulyukov

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