[devel] Q: apt-get install package/distro

Alexey I. Froloff =?iso-8859-1?q?raorn_=CE=C1_altlinux=2Eru?=
Чт Июн 5 19:57:23 MSD 2008


"Родной" apt-get допускает следующие извращения при указании
пакета:

A specific version of a package can be selected for installation by  follow-
ing  the  package  name  with  an  equals  and the version of the package to
select. This will cause that version to be located and selected for install.
Alternatively a specific distribution can be selected by following the pack-
age name with a slash and the version of the  distribution  or  the  Archive
name (stable, testing, unstable).

Предлагаю оторвать эту функциональность, которая по видимому у
нас никогда и не работала.  А иногда и наоборот, мешала ставить
"зависимости" типа perl(Some/Module.pm), была лотерея поставит-не
поставит.  Плюс выводится кривое сообщение об ошибке:

# apt-get install /usr/bin/foo
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package 

Тут имя пакета до первого '/' и оно оказывается пустым.

Это реализовано только в apt-get, в libapt уже передаётся
конечный результат.

-- 
Regards,
Sir Raorn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20080605/57ff1553/attachment.bin>


Подробная информация о списке рассылки Devel