Re: debian sid codename

2019-05-05 Пенетрантность sergio
On 05/05/2019 17:03, yuri.nefe...@gmail.com wrote:

> Не понимаю, зачем это нужно.
> Как-то задача под эти критерии не придумывается.

добавить репозиторий


> И потом, если, скажем, стоит только пара пакетов из sid,
> это уже sid?

можно говорить apt install <требуемый пакет>


> Сподобился прочитать /usr/share/doc/base-files/README
> И вам советую :)

Спасибо.


> Looking at the contents of your /etc/apt/sources.list file is probably
> a much better way.

Ну то есть парсить вывод apt policy?


-- 
sergio.



Validation failed

2019-05-05 Пенетрантность Debian Webmaster
*** Errors validating /srv/www.debian.org/www/News/2019/20190427.ru.html:
***
Line 76, character 8:  document type does not allow element "H2" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 77, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 78, character 29:  document type does not allow element "TABLE" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 151, character 4:  document type does not allow element "H2" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 152, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 155, character 29:  document type does not allow element "TABLE" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 262, character 4:  document type does not allow element "H2" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 263, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 265, character 29:  document type does not allow element "TABLE" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 273, character 4:  document type does not allow element "H2" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 276, character 4:  document type does not allow element "H2" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 277, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 278, character 20:  document type does not allow element "DIV" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 281, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 282, character 20:  document type does not allow element "DIV" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 285, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 286, character 20:  document type does not allow element "DIV" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 289, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 290, character 20:  document type does not allow element "DIV" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 294, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 295, character 20:  document type does not allow element "DIV" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 298, character 4:  document type does not allow element "H2" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 299, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 302, character 4:  document type does not allow element "H2" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 303, character 3:  document type does not allow element "P" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 307, character 17:  document type does not allow element "DIV" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag
Line 308, character 6:  end tag for "H2" omitted, but its declaration does
not permit this

--
 You received this mail for the language code ru.
 Please edit webwml/english/devel/website/validation.data if this is not 
accurate
 Please also update webwml/english/devel/website/ with the new coordinator(s) 
data



Re: debian sid codename

2019-05-05 Пенетрантность yuri . nefedov

 Сподобился прочитать /usr/share/doc/base-files/README
 И вам советую :)

Q. Ok, but how do I know which distribution I'm running?

A. If you are running testing or unstable, then /etc/debian_version is
not a reliable way to know that anymore. Looking at the contents of
your /etc/apt/sources.list file is probably a much better way.

Ю.

Re: debian sid codename

2019-05-05 Пенетрантность yuri . nefedov

On Sun, 5 May 2019, sergio wrote:



Ещё раз повторю вопрос: "Как на debian sid узнать, что он debian sid"?



  Не понимаю, зачем это нужно.
  Как-то задача под эти критерии не придумывается.
  И потом, если, скажем, стоит только пара пакетов из sid,
  это уже sid?

  Могу предложить, что-то типа:

  aptitude search "?narrow(?installed,(?archive(unstable)))" |wc
  aptitude search "?narrow(?installed,(?not(?archive(unstable" |wc

  и отношение этих двух чисел, как меру сидовости.
  Правда, для чистого testing все равно часть пакетов будет
  автоматом из sid.

  Можно еще проверять
  apt-cache policy base-files
  и считать, что если base-files из sid то и система sid.
  Опять же, все это условность, и возможно, что после было доставлена
  куча пакетов из sid не тянущих за собой зависимость от base-files.

  IMHO, подобная задача имеет смысл для stable, а для testing и sid,
  странно это.
Ю.

Re: debian sid codename

2019-05-05 Пенетрантность sergio
On 05/05/2019 13:50, Mykola Nikishov wrote:

> Как получить от запрошеного lsb_release такие строчки, тебе уже
> сказано. Если тебе это не подходит - то через lsb_release, похоже,
> никак.

А я разве спросил: "как узнать с помощью lsb_release что-то сделать"?

То, что lsb_release не подходит, было показано в оригинальном письме.

Ещё раз повторю вопрос: "Как на debian sid узнать, что он debian sid"?


-- 
sergio.



Re: debian sid codename

2019-05-05 Пенетрантность Mykola Nikishov
sergio  writes:

> On 04/05/2019 22:48, Mykola Nikishov wrote:
>
>> Так оно потому, что base-files/unstable:
>
> А я разве спросил, "почему оно так"?

А я разве сказал, что ты единственный, кто будет читать мой ответ?

> Description:  Debian GNU/Linux buster/sid
> buster/sid

Как получить от запрошеного lsb_release такие строчки, тебе уже
сказано. Если тебе это не подходит - то через lsb_release, похоже,
никак.

-- 
Mykola