Как Вы удаляете точку deb пакет (Обновленный от Сжатия до Хрипящего)

Короткий ответ на Ваш вопрос, принимая Вас использует debian/ubuntu whois библиотека, должен использовать

$ whois -h whois.crsnic.net "domain google.com"

Вот длинный ответ.

.COM TLD является Тонким WHOIS. Когда Вы выполняете запрос WHOIS, инструмент WHOIS сначала отправляет запрос WHOIS Verisign (имя хоста whois.crsnic.net), и извлеките направление из ответ.

По умолчанию при запросах Verisign от домена example.com Whois выполняет очень широкий поиск строки "example.com" в нескольких различных объектах включая доменное имя, имя регистратора и серверы имен.

Можно уточнить запрос путем определения ключевого слова, как описано в документации Verisign. http://registrar.verisign-grs.com/whois/iframe/help.html?ppath=www.verisigninc.com/products-and-services/domain-name-services/whois&

Команда выше делает точно, что я объяснил. Вместо google.com это отправляет Verisign полному запросу "домен google.com". Необходимо явно передать флаг-h, потому что Whois пытается предположить имя хоста для запросов от запроса, но он перестанет работать, потому что он не распознает запрос "домен google.com" как допустимый домен.

Вот результат команды.

$ whois -h whois.crsnic.net "domain google.com"

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Domain Name: GOOGLE.COM
   Registrar: MARKMONITOR INC.
   Whois Server: whois.markmonitor.com
   Referral URL: http://www.markmonitor.com
   Name Server: NS1.GOOGLE.COM
   Name Server: NS2.GOOGLE.COM
   Name Server: NS3.GOOGLE.COM
   Name Server: NS4.GOOGLE.COM
   Status: clientDeleteProhibited
   Status: clientTransferProhibited
   Status: clientUpdateProhibited
   Status: serverDeleteProhibited
   Status: serverTransferProhibited
   Status: serverUpdateProhibited
   Updated Date: 15-sep-2010
   Creation Date: 15-sep-1997
   Expiration Date: 14-sep-2011

>>> Last update of whois database: Wed, 30 Mar 2011 08:50:16 UTC <<<

NOTICE: The expiration date displayed in this record is the date the 
registrar's sponsorship of the domain name registration in the registry is 
currently set to expire. This date does not necessarily reflect the expiration 
date of the domain name registrant's agreement with the sponsoring 
registrar.  Users may consult the sponsoring registrar's Whois database to 
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois 
database through the use of electronic processes that are high-volume and 
automated except as reasonably necessary to register domain names or 
modify existing registrations; the Data in VeriSign Global Registry 
Services' ("VeriSign") Whois database is provided by VeriSign for 
information purposes only, and to assist persons in obtaining information 
about or related to a domain name registration record. VeriSign does not 
guarantee its accuracy. By submitting a Whois query, you agree to abide 
by the following terms of use: You agree that you may use this Data only 
for lawful purposes and that under no circumstances will you use this Data 
to: (1) allow, enable, or otherwise support the transmission of mass 
unsolicited, commercial advertising or solicitations via e-mail, telephone, 
or facsimile; or (2) enable high volume, automated, electronic processes 
that apply to VeriSign (or its computer systems). The compilation, 
repackaging, dissemination or other use of this Data is expressly 
prohibited without the prior written consent of VeriSign. You agree not to 
use electronic processes that are automated and high-volume to access or 
query the Whois database except as reasonably necessary to register 
domain names or modify existing registrations. VeriSign reserves the right 
to restrict your access to the Whois database in its sole discretion to ensure 
operational stability.  VeriSign may restrict or terminate your access to the 
Whois database for failure to abide by these terms of use. VeriSign 
reserves the right to modify these terms at any time. 

The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.

0
задан 15 January 2014 в 00:11
3 ответа

Я должен был обязательно включить --purge. В моей команде apt-get remove.

1
ответ дан 5 December 2019 в 14:27

То, что вы видите, не является установленными файлами, но не очищено. Когда вы удаляете , вы удаляете только файлы, не относящиеся к конфигурации. Эти файлы всегда остаются, если вы не используете - purge (в случае, если вы будете выполнять другую команду, например autoremove ) или пакет очистки . Эти файлы конфигурации в большинстве случаев можно безопасно хранить, если вы не хотите беспорядка и путаницы, которые они могут вызвать.

0
ответ дан 5 December 2019 в 14:27

Я вижу, вы используете dpkg-query -l. dpkg тоже классный. Вы можете выполнить очистку с помощью dpkg и иногда с его помощью решать проблемы с зависимостями. dpkg -P php *

Проверьте man dpkg.

-1
ответ дан 5 December 2019 в 14:27

Теги

Похожие вопросы