2023年3月30日 星期四

[研究]MDaemon 22.0.3 Mail Server 30 days Trial進不去了

[研究]MDaemon 22.0.3 Mail Server 30 days Trial進不去了

2023-03-30

去年2022年12月安裝,不知是試用版過期?

還是帳號、密碼記錯、抄錯,抓個畫面留念。


(完)

[研究]Visual Studio 2022發佈測試

[研究]Visual Studio 2022發佈測試

2023-03-28

環境:Visual Studio 2022 + ASP.NET + WebForm + Web Application + C#

********************************************************************************

1.本來以為發佈到 bin\app.publish 目錄的,只有在app.publish目錄才有檔案,偶然發現bin這一層目錄也會產生檔案,是別的發佈檔造成殘留的?還是真的就這樣?

於是另外建立新的方案測試一下,真的會有




********************************************************************************
2.改發佈到絕對路徑目錄,確實是app.publish目錄內容,不是方案的bin目錄



********************************************************************************
3.比對一下

所以WebApplication1\bin產生的東西,如果是必須的,app.publish\bin其實也會產生一份,所以確實只要把app.publish目錄中的拷貝走,不用管 WebApplication1\bin 中其他檔案或目錄。

(完)

相關

2023年3月29日 星期三

[研究]rpm, yum, dnf, apt 誕生時代、優點、缺點

[研究]rpm, yum, dnf, apt 誕生時代、優點、缺點

2023-03-29

 rpm, yum, dnf 誕生時代 ? 相對 CentOS 或 Fedora 版本 ? 創建單位 ?

ChatGPT:

以下是 rpm、yum 和 dnf 誕生的時代、相對 CentOS 或 Fedora 版本以及創建單位的簡要介紹:

RPM(RPM Package Manager):RPM 最早誕生於 1995 年,是 Red Hat Linux 發行版中的軟體包管理工具,後來也被其他 Linux 發行版所採用。RPM 可以用來管理軟體包的安裝、升級、移除和查詢等操作,並且支援依賴關係解析和檔案校驗等功能。

YUM(Yellowdog Updater Modified):YUM 是一個基於 RPM 的軟體包管理工具,最早於 2003 年由 Duke University 的 Seth Vidal 所創建。YUM 最初是為了方便管理 Red Hat Linux 發行版上的軟體包而開發的,後來也被 CentOS 和 Fedora 等其他 Linux 發行版所採用。YUM 可以自動解析依賴關係,並且支援軟體包組的安裝、升級和移除等操作。

DNF(Dandified YUM):DNF 是 YUM 的後繼版本,最早於 2012 年在 Fedora 18 中首次引入。DNF 與 YUM 相比,具有更快的解析速度和更好的響應性能,同時還支援平行處理和交互式操作等功能。DNF 可以用於 CentOS、Fedora 和 RHEL 等 Linux 發行版上的軟體包管理。

總的來說,RPM、YUM 和 DNF 都是 Red Hat Linux 發行版中的軟體包管理工具,不同的是它們的功能和性能有所不同,並且在不同的 CentOS 或 Fedora 版本中有所變化。這些工具的創建單位包括 Red Hat、Duke University 和 Fedora 專案等。

********************************************************************************

rpm, yum, dnf  是 CentOS 哪一版開始提供 ?

在 CentOS 中,RPM 和 YUM 都是從 CentOS 2 版本就開始提供的,而 DNF 則是從 CentOS 8 版本開始提供的。

具體來說,CentOS 2 版本於 2002 年發布,當時它採用的是 RPM 4.0.4 和 YUM 2.0.7。從 CentOS 3 版本開始,它使用的是 RPM 4.3 和 YUM 2.4,並且引入了 CentOS Extras 存儲庫,用於提供額外的軟體包。從 CentOS 8 版本開始,CentOS 改用了 DNF 作為預設的軟體包管理工具,並且同時支援 RPM 和 YUM。

需要注意的是,CentOS 8 版本是最後一個由 CentOS 官方支援的版本,從 CentOS 9 版本開始,CentOS 將改為以 CentOS Stream 為基礎,並且與 RHEL 的開發進程更加緊密地聯繫起來。

********************************************************************************

apt 誕生年代?於 Debian 、Ubuntu 那一版開始提供 ?

APT (Advanced Package Tool) 是一個用於在 Debian 系統上管理軟體包的工具。APT 的最初版本是在 1998 年釋出的,它是由 Debian 專案的開發人員創建的,旨在取代 Debian 系統上舊的 dpkg 工具。APT 提供了一個更簡單的方式來管理軟體包,並且可以處理依賴性,使得軟體包之間的關係更容易處理。

APT 是一個開源工具,可以在許多不同的 Linux 發行版上使用。在 Ubuntu 發行版中,APT 已經成為了主要的軟體包管理工具,它可以在 Ubuntu 4.10 (Warty Warthog) 發行版中使用。而在 Debian 系統中,APT 則可以追溯到 Debian 2.1 (Slink) 發行版。目前,APT 已經被廣泛地使用在許多不同的 Debian 系統和 Ubuntu 發行版上,是管理軟體包的重要工具之一。

註:Ubuntu 的第一個版本是 "Ubuntu 4.10",它的代號是 "Warty Warthog",於 2004 年 10 月 20 日發布。

 dpkg誕生年代?於 Debian 、Ubuntu 那一版開始提供 ?

dpkg (Debian Package) 是一個用於 Debian 系統上管理軟體包的工具,它可以用來安裝、升級、刪除和查詢 Debian 軟體包。dpkg 的最初版本是在 1994 年釋出的,它是由 Ian Murdock 創建的,作為 Debian 專案的一部分。

在 Debian 系統中,dpkg 從一開始就一直是用來管理軟體包的工具。在 Debian 0.93R6 版本中,dpkg 成為了預設的軟體包管理工具。在 Ubuntu 發行版中,dpkg 也是主要的軟體包管理工具之一,可以在 Ubuntu 4.10 (Warty Warthog) 發行版中使用。

dpkg 的設計旨在與 Debian 系統上的其他工具(如APT和dpkg-deb)一起使用,以提供一個完整的軟體包管理系統。它可以處理依賴性、配置文件、重複的檔案等問題,是 Debian 系統中非常重要的一部分。目前,dpkg 已經被廣泛地使用在許多不同的 Debian 系統和 Ubuntu 發行版上,是管理軟體包的重要工具之一。

********************************************************************************

 比較 yum , dnf, apt, RPM 優點 ? 缺點 ? 用表格

軟體包管理工具優點缺點
RPM- 支援多種 Linux 發行版。
- 簡單易學。
- 能快速安裝和更新套件。
- 支援命令行操作。
- 不支援自動解析依賴關係。
- 有些套件需要手動安裝依賴關係。
- 不支援 Debian 系統等其他 Linux 發行版。
Yum- 較舊的軟體包管理工具,已被 DNF 取代。
- 簡單易學。
- 支援自動解析依賴關係。
- 支援 RPM 軟體包格式。
- 執行速度較慢。
- 有些命令操作比較不直覺。
DNF- 為 Fedora 和 CentOS 推薦的軟體包管理工具。
- 支援 RPM 軟體包格式。
- 更快的執行速度。
- 更好的依賴解析。
- 系統需使用較新的版本,舊版本的 Linux 系統不支援。
- 某些套件還沒有在 DNF 中更新。
APT- 執行速度快。
- 支援多種軟體包格式,如 Deb 等。
- 支援自動解析依賴關係。
- 可安裝多個版本的軟體包。
- 不支援 RPM 軟體包格式。
- 需要超級用戶權限才能使用。
- 有些套件的庫比較不穩定。

注意:以上表格僅針對各工具優點與缺點進行簡要概述。在實際使用過程中,還需要考慮諸多因素,如系統版本、發行版、應用場景、安全性等,才能做出適當的選擇。

********************************************************************************

(完)

2023年3月28日 星期二

[研究]SQL Server 資料庫系統免費管理工具:SSMS, Azure Data Studio, DBeaver, HeidiSQL, DbVisualizer, SQuirreL SQL

[研究]Microsoft SQL Server 資料庫系統免費管理工具

2023-03-28

以下是幾個可用於管理 SQL Server 的免費工具:

SQL Server Management Studio (SSMS) - 它是由 Microsoft 開發的官方工具,可用於管理和查詢 MS-SQL Server 數據庫。它提供了一個圖形用戶界面,可以幫助用戶管理 SQL Server 數據庫。
https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms

Azure Data Studio - 這是一個輕量級的跨平台數據庫工具,由 Microsoft 開發。它可以用於管理 SQL Server 和其他數據庫平台。它提供了一個現代化的用戶界面,可以幫助用戶進行數據庫管理任務。(早期名稱 SQL Operations Studio )
https://docs.microsoft.com/en-us/sql/azure-data-studio/download?view=sql-server-ver15

HeidiSQL - 它是一個免費的開源數據庫管理工具,支持 MySQL,Microsoft SQL Server,PostgreSQL 和 Oracle 等數據庫平台。它提供了一個簡單的用戶界面,可用於執行數據庫管理任務,例如查詢,編輯和導出數據。只有免費版,無付費版。
https://www.heidisql.com/download.php

DBeaver - 它是一個跨平台的免費數據庫管理工具,支持多種數據庫平台,包括 Microsoft SQL Server,MySQL,PostgreSQL 和 Oracle 等。它提供了一個現代化的用戶界面,可用於執行各種數據庫管理任務,例如查詢,編輯和導出數據。有DBeaver Community 與 DBeaver PRO之分。
https://dbeaver.io/download/

DbVisualizer:一個跨平台的資料庫管理工具,支持 Windows、macOS 和 Linux 等多個操作系統,可以用於管理多種資料庫,包括 Microsoft SQL Server。有 DbVisualizer Free, DbVisualizer Pro - 21 day free trial, DbVisualizer Pro 之分。https://www.dbvis.com/pricing/

SQuirreL SQL:一個用於管理多種資料庫的免費工具,支持 Windows、macOS 和 Linux 等多個操作系統,可以用於管理 Microsoft SQL Server、Oracle、MySQL、PostgreSQL 等多種資料庫。只有免費版本。Universal SQL Client Version 4.5.1網站:https://squirrel-sql.sourceforge.io/

********************************************************************************

SQL Server Management Studio (SSMS) 與 Azure Data Studio 關係 ?

SQL Server Management Studio (SSMS) 和 Azure Data Studio 都是由 Microsoft 開發的 SQL Server 數據庫管理工具,它們在功能和用途上有些許區別。

SSMS 是官方的 SQL Server 數據庫管理工具,提供了完整的 SQL Server 管理功能,包括設定、部署、管理和監視 SQL Server 數據庫。SSMS 提供了一個豐富的用戶界面,可用於設計數據庫架構、編寫和調試 T-SQL 代碼、優化查詢等。

Azure Data Studio 則是一個輕量級的跨平台數據庫管理工具,支持 SQL Server 和其他數據庫平台。Azure Data Studio 提供了基本的 SQL Server 管理功能,例如查詢、編輯和導出數據,以及可擴展的功能,例如透過擴展包安裝額外的功能。

儘管 SSMS 和 Azure Data Studio 功能有所區別,但它們都是用於管理 SQL Server 數據庫的工具,使用者可以根據自己的需要選擇使用哪種工具。

根據

下載並安裝 Azure Data Studio - Azure Data Studio | Microsoft Learn
https://learn.microsoft.com/zh-tw/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver16&tabs=redhat-install%2Credhat-uninstall

Azure Data Studio 是跨平臺資料庫工具,適用于在 Windows、macOS 和 Linux 上使用內部部署和雲端資料平臺的資料專業人員。

從 SQL Server Management Studio (SSMS) 18.7 開始,Azure Data Studio 會與 SSMS 一起自動安裝。 現在,SQL Server Management Studio 使用者也可獲益於 Azure Data Studio 的創新和功能。 Azure Data Studio 是適用於雲端、內部部署或混合式環境的跨平台和開放原始碼桌面工具。但SSMS仍只有支援Windows,不支援跨平台。

********************************************************************************

DBeaver Community 與 DBeaver PRO 差異?

DBeaver是一個跨平台的免費開源數據庫管理工具,可以用於管理多種數據庫平台,包括SQL Server,MySQL,PostgreSQL等。DBeaver提供了兩個版本,分別是DBeaver Community和DBeaver PRO,它們之間的主要差異如下:

  • 功能:DBeaver Community版是免費的,提供基本的數據庫管理功能,例如查詢,編輯和導出數據。DBeaver PRO版則提供更多高級功能,例如數據庫版本控制,圖形化的數據庫設計工具,支持NoSQL數據庫等功能。
  • 許可證:DBeaver Community版是免費開源的,使用者可以在符合開源許可證條款的情況下自由使用、修改和分發軟件。DBeaver PRO版是商業軟件,使用者需要購買許可證才能使用。
  • 支持:DBeaver Community版的支持是基於社區提供的支持,例如在論壇中提問等。DBeaver PRO版則提供了專業的技術支持,使用者可以通過郵件、電話等方式獲得支持。

總的來說,DBeaver Community版是一個功能豐富的免費開源數據庫管理工具,而DBeaver PRO版則提供了更多高級功能和技術支持,使用者可以根據自己的需要選擇使用哪種版本。

差異點 DBeaver Community DBeaver PRO
授權方式 開源免費 付費授權
功能 提供大多數的功能和工具,如資料庫連接、查詢和管理,視覺化資料查看、編輯和比較,資料轉換和匯出等。 提供更多的進階功能和工具,如編輯器輔助、智慧查詢、資料庫對比和同步,複製和備份等。
支援資料庫數量 支援大多數主要資料庫,如 MySQL、PostgreSQL、Oracle、Microsoft SQL Server 等。 支援更多的資料庫系統,如 IBM DB2、Sybase、Informix、Firebird 等。
支援的平台 跨平台,支援 Windows、macOS 和 Linux。 跨平台,支援 Windows、macOS 和 Linux。
價格 免費。 提供多種授權方式和價格選項,包括個人授權、企業授權和分銷授權。

********************************************************************************

DbVisualizer Free 與 DbVisualizer Pro 比較

差異點 DbVisualizer Free DbVisualizer Pro
授權方式 免費 付費授權
功能 提供基本的資料庫管理、查詢和編輯功能,如資料庫連接、SQL編輯器、資料匯入匯出等。 提供更多進階功能和工具,如視覺化資料比較、資料庫對比和同步、自動化作業、複製和備份等。
支援的資料庫系統 支援大多數主要的資料庫系統,如MySQL、PostgreSQL、Oracle、Microsoft SQL Server等。 支援更多資料庫系統,如IBM DB2、Sybase、Informix、Firebird等。
支援的平台 跨平台,支援Windows、macOS和Linux。 跨平台,支援Windows、macOS和Linux。
價格 免費。 提供多種授權方式和價格選項,包括個人授權、團隊授權和企業授權。

********************************************************************************

請比較 SSMS, Azure Data Studio, HeidiSQL, DBeaver, DbVisualizer, SQuirreL SQL 年代?優點?缺點?用表格

工具 年代 優點 缺點
DbVisualizer 1999年 - 支援多種資料庫系統,如 Oracle、Microsoft SQL Server、MySQL、PostgreSQL 等。- 可視化工具豐富,如表格瀏覽、圖表報表、圖形化查詢等。- 支援多平台,包括 Windows、macOS 和 Linux。 - 免費版功能有限,需要付費解鎖高級功能。- 操作較為複雜,需要一定的學習成本。
SQuirreL SQL 2001年 - 支援多種資料庫系統,如 MySQL、Oracle、Microsoft SQL Server、PostgreSQL 等。- 具備豐富的擴充功能和插件,可滿足多樣化需求。- 支援多平台,包括 Windows、macOS 和 Linux。- 可以進行多重查詢和多重執行。 - 操作介面不如其他工具直觀,需要一定的學習成本。- 介面較為陳舊,缺乏現代感。- 需要手動設定 JDBC driver,安裝和配置較為複雜。
HeidiSQL 2003年 - 支援多種資料庫系統,如 MySQL、MariaDB、Microsoft SQL Server、PostgreSQL 等。- 界面簡潔、操作方便。- 免費且開源,可自由使用和修改。 - 只支援 Windows 平台,無法跨平台使用。- 功能較為基礎,無法滿足高級需求。- 不支援多工作表顯示。
SSMS 2005年 - 專門針對 SQL Server 的工具,與 SQL Server 整合良好。- 提供強大的 GUI 介面,方便操作和管理。- 內建許多功能,如 Intellisense、查詢計畫分析器、執行計畫分析器等。 - 只支援 SQL Server,無法連接其他資料庫。- 不支援多平台,只能在 Windows 上使用。
DBeaver 2010年 - 支援多種資料庫系統,如 MySQL、Oracle、PostgreSQL、SQLite、Microsoft SQL Server 等。- 界面美觀、操作方便。- 提供強大的可視化資料庫管理工具。- 支援多平台,包括 Windows、macOS 和 Linux。 - 免費版功能有限,需要付費解鎖高級功能。- 部分功能需要自己設定才能使用。
Azure Data Studio 2018年 - 跨平台支援 Windows、macOS 和 Linux。- 具備豐富的擴充功能和插件,可滿足多樣化需求。- 支援多種資料庫系統,如 SQL Server、Azure SQL Database、MySQL、PostgreSQL 等。 - 功能不如 SSMS 那麼完整,尤其是在針對 SQL Server 的管理和操作上。- 使用體驗可能不如其他工具。
註:DbVisualizer的初版問世於1999年,而在2003年推出了第一個跨平台版本,也就是DbVisualizer 4.0。
******************************************************************************** 

請簡介 SQL Server 1.0 ~ 2022 問世年份?簡介?管理工具名稱?管理工具簡介?請介紹完畢再停
以下是SQL Server各版本的簡介和管理工具:

SQL Server 1.0(1989):是SQL Server的第一個版本,支持OS/2操作系統。這個版本並沒有提供任何管理工具。只提供了一個命令列界面,即isql.exe。

SQL Server 4.2(1992):支持Windows NT操作系統,增加了多個新功能,包括存儲過程、觸發器和支持Unicode字符集。SQL Server Control:這是圖形用戶界面管理工具,用於管理 SQL Server 數據庫,包括創建數據庫、設置安全性、配置服務器等。bcp、osql 和 isql:這些是命令列工具,可用於在 SQL Server 中執行命令、導入和導出數據以及進行其他管理任務。

SQL Server 6.0(1995):提供了分佈式事務處理(DTP)功能,這是一個重要的數據庫管理特性。這個版本提供了一個更新的SQL Server Manager,使得管理數據庫變得更加容易。

SQL Server 6.5:提供 SQL Server Manager的管理工具套件,其中包括了SQL Server Query Analyzer、SQL Server Service Manager、SQL Server Performance Monitor和SQL Server Error Log等工具。

SQL Server 7.0(1998):支持了更多的數據類型和存儲過程,包括表變量、游標和自定義聚合函數。這個版本引入了一個新的管理工具SQL Server Enterprise Manager,提供了更多的功能和工具。

SQL Server 2000(2000):支持XML和HTTP協議,增加了數據挖掘和分析功能,包括數據集成服務(DTS)。這個版本的管理工具仍然是SQL Server Enterprise Manager。

SQL Server 2005(2005):引入了一些重要的變化,包括增加了CLR集成和XML數據類型,改進了存儲過程和触發器的功能。這個版本引入了新的管理工具SQL Server Management Studio (SSMS),提供了更多的功能和工具,包括查詢分析器、數據庫引擎優化顧問等。

SQL Server 2008(2008):增加了更多的安全功能、分區表功能和多服務器管理功能。 SSMS得到了更新和改進,包括增加了查詢窗口分離、查詢性能分析等功能。

SQL Server 2012(2012):引入了列存儲索引和AlwaysOn高可用性解決方案等新功能。 SSMS繼續得到更新和改進,包括增加了可視化查詢計劃、XEvents和PowerShell支持等功能。

SQL Server 2014(2014):提供了更高的性能和可伸縮性,包括支持內存優化表和延遲事務處理等功能。 SSMS繼續得到更新和改進,包括增加了In-Memory OLTP和Azure連接器等功能。

SQL Server 2016(2016):引入了實時操作分析(HTAP)功能、行級安全和JSON支持等新功能。 SSMS得到了更新和改進,包括增加了查詢存儲過程、查詢歷史記錄和自動更新等功能。

SQL Server 2017(2017):支持Linux操作系統,增加了圖形處理功能、自適應查詢處理和Python語言支持等功能。 SSMS繼續得到更新和改進,包括增加了圖形計劃設計器和自動調整縮放比例等功能。同時,Azure Data Studio作為全新的跨平台工具發布,提供了一種全新的管理SQL Server的方式。

SQL Server 2019(2019):引入了一些新功能,包括支持圖形界面的大數據群集的查詢,自動性能調整,基於Kubernetes的容器化部署,以及對Python 3的支持。此外,還引入了新的功能,例如加密數據,用於創建大型數據湖的數據湖存儲,和用於可重複和可擴展性的新的查詢存儲引擎。 SSMS也得到了更新和改進,包括對大數據環境的支持和改進的查詢計劃。此外,還提供了一些新的開發工具,例如Azure Data Studio和Visual Studio Code的擴展程序。

SQL Server 2022(2021):引入了新的功能,例如表值參數(TVP)上的增強,T-SQL中的行模式批處理,以及支持空間數據類型的可編程圖形處理。此外,還引入了新的功能,例如高性能內存優化表的自動優化,以及更大的內存限制。 SSMS也得到了更新和改進,包括可搜索的查詢存儲過程,可搜索的擴展屬性,以及內存優化表的查詢計劃等。此外,還引入了新的工具,例如SQL Server Management Studio (SSMS) for Linux和SQL Server Management Studio (SSMS) for Mac。

註:SQL Server在版本1.0之後直接跳到了版本6.0。這是因為Microsoft在早期版本的SQL Server中使用了另一種稱為Sybase SQL Server的數據庫引擎,直到版本4.21a,然後在SQL Server 6.0中切換到了自己的數據庫引擎,並在此基礎上繼續開發。因此,版本2.0,3.0和4.0實際上是Sybase SQL Server的版本,而4.1是SQL Server的中間版本,僅針對一些特定的客戶提供。

********************************************************************************  

(完)


[研究]Exim 4.96 Free Mail Server 免費郵件伺服器安裝 (Ubuntu 22.04.2 LTS)

[研究]Exim 4.96 Free Mail Server 免費郵件伺服器安裝 (Ubuntu 22.04.2 LTS)

2023-03-28

Exim Internet Mailer 官方網站
https://www.exim.org/

根據這裡資訊,exim 是目前排名第一佔有率的 Mail Server,勝過 Postfix 和 sendmail。

Mail (MX) Server Survey February 1st, 2023
https://secure1.securityspace.com/s_survey/data/man.202301/mxsurvey.html

安裝情況
user1@ubuntu22042:~$ sudo apt-get update -y (非必須,敝人省略)
user1@ubuntu22042:~$ sudo apt-get install exim4 -y [sudo] password for user1: Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: bsd-mailx exim4-base exim4-config exim4-daemon-heavy libevent-2.1-7 libgnutls-dane0 liblockfile-bin liblockfile1 libmysqlclient21 libpq5 libunbound8 mysql-common Suggested packages: exim4-doc-html | exim4-doc-info eximon4 spf-tools-perl swaks The following NEW packages will be installed: bsd-mailx exim4 exim4-base exim4-config exim4-daemon-heavy libevent-2.1-7 libgnutls-dane0 liblockfile-bin liblockfile1 libmysqlclient21 libpq5 libunbound8 mysql-common 0 upgraded, 13 newly installed, 0 to remove and 1 not upgraded. Need to get 3976 kB of archives. After this operation, 13.7 MB of additional disk space will be used. Get:1 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 exim4-config all 4.95-4ubuntu2.2 [252 kB] Get:2 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 exim4-base amd64 4.95-4ubuntu2.2 [947 kB] Get:3 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 libevent-2.1-7 amd64 2.1.12-stable-1build3 [148 kB] Get:4 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libunbound8 amd64 1.13.1-1ubuntu5.3 [395 kB] Get:5 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgnutls-dane0 amd64 3.7.3-4ubuntu1.2 [22.6 kB] Get:6 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 mysql-common all 5.8+1.0.8 [7212 B] Get:7 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libmysqlclient21 amd64 8.0.32-0ubuntu0.22.04.2 [1299 kB] Get:8 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq5 amd64 14.7-0ubuntu0.22.04.1 [141 kB] Get:9 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 exim4-daemon-heavy amd64 4.95-4ubuntu2.2 [668 kB] Get:10 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 liblockfile-bin amd64 1.17-1build2 [11.7 kB] Get:11 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 liblockfile1 amd64 1.17-1build2 [7058 B] Get:12 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 bsd-mailx amd64 8.1.2-0.20180807cvs-2build2 [69.6 kB] Get:13 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 exim4 all 4.95-4ubuntu2.2 [7582 B] Fetched 3976 kB in 1s (4176 kB/s) Preconfiguring packages ... Selecting previously unselected package exim4-config. (Reading database ... 176153 files and directories currently installed.) Preparing to unpack .../00-exim4-config_4.95-4ubuntu2.2_all.deb ... Unpacking exim4-config (4.95-4ubuntu2.2) ... Selecting previously unselected package exim4-base. Preparing to unpack .../01-exim4-base_4.95-4ubuntu2.2_amd64.deb ... Unpacking exim4-base (4.95-4ubuntu2.2) ... Selecting previously unselected package libevent-2.1-7:amd64. Preparing to unpack .../02-libevent-2.1-7_2.1.12-stable-1build3_amd64.deb ... Unpacking libevent-2.1-7:amd64 (2.1.12-stable-1build3) ... Selecting previously unselected package libunbound8:amd64. Preparing to unpack .../03-libunbound8_1.13.1-1ubuntu5.3_amd64.deb ... Unpacking libunbound8:amd64 (1.13.1-1ubuntu5.3) ... Selecting previously unselected package libgnutls-dane0:amd64. Preparing to unpack .../04-libgnutls-dane0_3.7.3-4ubuntu1.2_amd64.deb ... Unpacking libgnutls-dane0:amd64 (3.7.3-4ubuntu1.2) ... Selecting previously unselected package mysql-common. Preparing to unpack .../05-mysql-common_5.8+1.0.8_all.deb ... Unpacking mysql-common (5.8+1.0.8) ... Selecting previously unselected package libmysqlclient21:amd64. Preparing to unpack .../06-libmysqlclient21_8.0.32-0ubuntu0.22.04.2_amd64.deb ... Unpacking libmysqlclient21:amd64 (8.0.32-0ubuntu0.22.04.2) ... Selecting previously unselected package libpq5:amd64. Preparing to unpack .../07-libpq5_14.7-0ubuntu0.22.04.1_amd64.deb ... Unpacking libpq5:amd64 (14.7-0ubuntu0.22.04.1) ... Selecting previously unselected package exim4-daemon-heavy. Preparing to unpack .../08-exim4-daemon-heavy_4.95-4ubuntu2.2_amd64.deb ... Unpacking exim4-daemon-heavy (4.95-4ubuntu2.2) ... Selecting previously unselected package liblockfile-bin. Preparing to unpack .../09-liblockfile-bin_1.17-1build2_amd64.deb ... Unpacking liblockfile-bin (1.17-1build2) ... Selecting previously unselected package liblockfile1:amd64. Preparing to unpack .../10-liblockfile1_1.17-1build2_amd64.deb ... Unpacking liblockfile1:amd64 (1.17-1build2) ... Selecting previously unselected package bsd-mailx. Preparing to unpack .../11-bsd-mailx_8.1.2-0.20180807cvs-2build2_amd64.deb ... Unpacking bsd-mailx (8.1.2-0.20180807cvs-2build2) ... Selecting previously unselected package exim4. Preparing to unpack .../12-exim4_4.95-4ubuntu2.2_all.deb ... Unpacking exim4 (4.95-4ubuntu2.2) ... Setting up mysql-common (5.8+1.0.8) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up libmysqlclient21:amd64 (8.0.32-0ubuntu0.22.04.2) ... Setting up liblockfile-bin (1.17-1build2) ... Setting up libpq5:amd64 (14.7-0ubuntu0.22.04.1) ... Setting up libevent-2.1-7:amd64 (2.1.12-stable-1build3) ... Setting up exim4-config (4.95-4ubuntu2.2) ... Adding system-user for exim (v4) Setting up liblockfile1:amd64 (1.17-1build2) ... Setting up exim4-base (4.95-4ubuntu2.2) ... exim: DB upgrade, deleting hints-db Created symlink /etc/systemd/system/timers.target.wants/exim4-base.timer → /lib/systemd/system/exim4-base.timer. exim4-base.service is a disabled or a static unit, not starting it. Setting up libunbound8:amd64 (1.13.1-1ubuntu5.3) ... Setting up libgnutls-dane0:amd64 (3.7.3-4ubuntu1.2) ... Setting up exim4-daemon-heavy (4.95-4ubuntu2.2) ... Setting up exim4 (4.95-4ubuntu2.2) ... Setting up bsd-mailx (8.1.2-0.20180807cvs-2build2) ... update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode Processing triggers for man-db (2.10.2-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... user1@ubuntu22042:~$ sudo dpkg-reconfigure exim4-config user1@ubuntu22042:~$ sudo service exim4 restart user1@ubuntu22042:~$ sudo service exim4 status ● exim4.service - LSB: exim Mail Transport Agent Loaded: loaded (/etc/init.d/exim4; generated) Active: active (running) since Thu 2023-03-09 09:12:11 CST; 11s ago Docs: man:systemd-sysv-generator(8) Process: 4114 ExecStart=/etc/init.d/exim4 start (code=exited, status=0/SUC> Tasks: 1 (limit: 4573) Memory: 10.9M CPU: 331ms CGroup: /system.slice/exim4.service └─4364 /usr/sbin/exim4 -bd -q30m 三 09 09:12:11 ubuntu22042 systemd[1]: Starting LSB: exim Mail Transport Age> 三 09 09:12:11 ubuntu22042 exim4[4114]: * Starting MTA 三 09 09:12:11 ubuntu22042 exim4[4114]: ...done. 三 09 09:12:11 ubuntu22042 systemd[1]: Started LSB: exim Mail Transport Agen> user1@ubuntu22042:~$ sudo systemctl enable exim4 exim4.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable exim4 user1@ubuntu22042:~$



其中會有設定畫面
sudo dpkg-reconfigure exim4-config  









********************************************************************************

(完)

2023年3月27日 星期一

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(三)反序列化

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(三)反序列化

2023-03-27

續這篇

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(三)反序列化
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api_2.html

也是類似的情況,某些結構的 class 不能用;怎麼換都有問題

//public List<string> contact_category { get; set; } // RestSharp v106 可用,v107 不行

//public string[] contact_category { get; set; }

//public List<string> contact_category { get; set; }

//public String[] contact_category { get; set; }

//public string contact_category { get; set; }

//public List<VerifyCategory> contact_category { get; set; }

訊息不太相同,而是

The JSON value could not be converted to System.Collections.Generic.List

如果能改 Server 端,不要用 List<string>,改用 string 應可解。如果只能改呼叫端,暫時

********************************************************************************

2023-03-27補:解決了,和相關人員對照 Server 端的 CODE 後,Client 端

public List<VerifyData> data { get; set; }

改成

public VerifyData data { get; set; }

其實 RestSharp 106 不該讓上面通過,它是錯誤的;結果到了 RestSharp v107 才判斷出它是錯的。

********************************************************************************

2023-03-30補:某系統先改了class,結果不能用,改回正常;不管合不合理,或是 RestSharp的舊版有 Bug?或不是?或是某些因素。

RestSharp v106 必須用 public List<VerifyData> data { get; set; },否則回傳會 null;

RestSharp v107 必須用 public VerifyData data { get; set; }

********************************************************************************

(完)

相關

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(三)反序列化
https://shaurong.blogspot.com/2023/03/aspnet-restsharp-v107-restful-api_85.html

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(二)模組化
https://shaurong.blogspot.com/2023/03/aspnet-restsharp-v107-restful-api_27.html

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(一)成功
https://shaurong.blogspot.com/2023/03/aspnet-restsharp-v107-restful-api.html

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(三)反序列化
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api_2.html

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(二)模組化
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api_27.html

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(一)成功
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api.html

[研究]ASP.NET RESTful API: 比較 HTTPClient , RestSharp , WebClient, HttpClientFactory, Flurl, Refit, RestEase
https://shaurong.blogspot.com/2023/03/aspnet-restful-api-httpclient-restsharp.html

[研究][ASP.NET]RestSharp 106 升級 v107疑難排解:未包含 HasValue 的定義
https://shaurong.blogspot.com/2023/03/aspnetrestsharp-106-v107-hasvalue.html

[研究][ASP.NET]用 HttpClient 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-httpclient-restful-api.html

[研究][ASP.NET]ChatGPT,請提供完整 RestSharp v107 範例程式https://shaurong.blogspot.com/2023/03/aspnetchatgpt-restsharp-v107.html

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(二)模組化

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(二)模組化

2023-03-26

環境:Visual Studio 2022 + ASP.NET + WebForm + Web Application + C#

RestSharp v107開始語法大改,和 106.x差異很大,108.x 、109.x繼續延續 107.x。

注意 RestSharp 107 和 106 無法共存,一旦升級上去,RestSharp 106 的語法就攤了,必須立刻改寫。

********************************************************************************

Web.Config 設定一些變數值

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <add key="ProductRestfulURL" value="https://www.ncert.nat.gov.tw/" />
    <add key="Account" value="帳號" />
    <add key="Pass" value="密碼" />
  </appSettings>
</configuration>

********************************************************************************

建立 Models 目錄,加入/新增項目,選程式碼,選類別,把 Class1.cs 改名 MyMoldel.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.Models
{
    public class MyModel
    {
    }
	public class ProductListResult
    {
        public string message { get; set; }
        public string describe { get; set; }
        public List<ProductListData> data { get; set; }
    }

    public class ProductListData
    {
	public string product_id { get; set; }
        public string product_name { get; set; }
        public string product_level { get; set; }
        public string product_official_type { get; set; }
        public string product_type { get; set; }
        public string product_sub_type { get; set; }
        public string product_adjust_note { get; set; }
    }
}


********************************************************************************

建立 Logic 目錄,加入/新增項目,選程式碼,選類別,把 Class1.cs 改名 ProductRestSharp107Client.cs

using Newtonsoft.Json;
using System.Collections.Generic;
using System.Configuration;
using System.Net.Http;
using System.Threading.Tasks;
using WebApplication1.Models;

namespace WebApplication1.Logic
{
    public class ProductRestSharp107Client
    {
        static readonly string productRestfulURL = ConfigurationManager.AppSettings["ProductRestfulURL"];
static readonly string productRestfulAccount = ConfigurationManager.AppSettings["Account"]; static readonly string productRestfulPass = ConfigurationManager.AppSettings["Pass"];
        public static async Task<GetUnitListResult> GetUnitListResult()
        {

            var data = new Dictionary<string, string>
                {
                    { "code", productRestfulAccount },
{ "pass", productRestfulPass },
}; HttpClient client = System.Net.Http.HttpClientFactory.Create(); string url = "https://www.xxx.idv.tw/rest/getProductList"; var content = new FormUrlEncodedContent(data); var response = await client.PostAsync(url, content); if (response.IsSuccessStatusCode) { var responseVerifyResultString = await response.Content.ReadAsStringAsync(); GetUnitListResult responseUnitListResultJson = JsonConvert.DeserializeObject<GetUnitListResult>(responseVerifyResultString); return responseUnitListResultJson; } else { return null; } } } }

********************************************************************************

Default2.aspx

<%@ Page Language="C#" Async="true" AutoEventWireup="true" 
    CodeBehind="Default2.aspx.cs" Inherits="WebApplication1.Default2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:Label ID="Label1" runat="server"></asp:Label>
        </div>
    </form>
</body>
</html>

Default2.aspx.cs

using System;
using WebApplication1.Logic;

namespace WebApplication1
{
    public partial class Default2 : System.Web.UI.Page
    {
        // 注意,這裡要 async
        protected async void Page_Load(object sender, EventArgs e)
        {
            //ProductRestSharp107Client client = new ProductRestSharp107Client();
var result = await ProductRestSharp107Client.GetUnitListResult();
Label1.Text = result.message; foreach (var item in result.data) { Response.Write( item.unit_name + "<br />"); } } } }

(完)

相關

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫(二)模組化
https://shaurong.blogspot.com/2023/03/aspnet-restsharp-v107-restful-api_27.html

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api.html

[研究]ASP.NET RESTful API: 比較 HTTPClient , RestSharp , WebClient, HttpClientFactory, Flurl, Refit, RestEase
https://shaurong.blogspot.com/2023/03/aspnet-restful-api-httpclient-restsharp.html

[研究][ASP.NET]RestSharp 106 升級 v107疑難排解:未包含 HasValue 的定義
https://shaurong.blogspot.com/2023/03/aspnetrestsharp-106-v107-hasvalue.html

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-restsharp-v107-restful-api.html

[研究][ASP.NET]用 HttpClient 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-httpclient-restful-api.html

[研究][ASP.NET]ChatGPT,請提供完整 RestSharp v107 範例程式https://shaurong.blogspot.com/2023/03/aspnetchatgpt-restsharp-v107.html


[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(三)反序列化

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(三)反序列化

2023-03-27

環境:Visual Studio 2022 + ASP.NET + WebForm + Web Application + C#

********************************************************************************

在某個 RESTful API 呼叫時候,JsonConvert.SerializeObject 反序列化會出現

Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[WebApplication1.Models.Contact]' 

    because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.

To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.

Path 'data.product_class', line 1, position 60.

無法將當前 JSON 對象(例如 {"name":"value"})反序列化為類型 'System.Collections.Generic.List`1[WebApplication1.Models.VerifyData]',因為該類型需要一個 JSON 陣列(例如 [1, 2,3]) 正確反序列化。

要修復此錯誤,請將 JSON 更改為 JSON 陣列(例如 [1,2,3])或更改反序列化類型,使其成為普通的 .NET 類型(例如,不是像整數這樣的原始類型,也不是像這樣的集合類型 可以從 JSON 對象反序列化的陣列或 List<T>)。 JsonObjectAttribute 也可以添加到類型以強制它從 JSON 對象反序列化。

路徑“data.product_class”,第 1 行,位置 60。

簡單的說 JsonConvert.SerializeObject認為 resultString2 不是一個有效的 JSON 陣列。

但此狀況在使用 RestSharp v106 (內含反序列化能力) 並沒有發生;表示 RestSharp v106 的反序列化能力或寬容度勝過 Newtonsoft.Json 套件。

********************************************************************************

下面結構正常

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.Models
{
    public class MyModel
    {
    }
	public class ProductListResult
    {
        public string message { get; set; }
        public string describe { get; set; }
        public List<ProductListData> data { get; set; }
    }

    public class ProductListData
    {
	public string product_oid { get; set; }
        public string product_name { get; set; }
        public string product_level { get; set; }
        public string product_official_type { get; set; }
        public string product_type { get; set; }
        public string product_sub_type { get; set; }
        public string product_adjust_note { get; set; }
    }
}

********************************************************************************

這個結構異常

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.Models
{
    public class MyModel
    {
    }

     public class VerifyResult
    {
        public string message { get; set; }
        public string describe { get; set; }
        public List<VerifyData> data { get; set; }
    }

    public class VerifyData
    {
        public string product_class { get; set; }
        public string product_account { get; set; }
        public string product_name { get; set; }
        public string contact_account { get; set; }
        public string contact_name { get; set; }
        public string contact_cellphone { get; set; }
        public string contact_mail { get; set; }
        public string contact_dept { get; set; }
        public string contact_tel { get; set; }
        public string contact_extend { get; set; }
        public string status { get; set; }
        public List<string> contact_category { get; set; }
    }
}

********************************************************************************

string 的第一個字改大寫成 String,也是不行。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.Models
{
    public class MyModel
    {
    }

     public class VerifyResult
    {
        public string message { get; set; }
        public string describe { get; set; }
        public List<VerifyData> data { get; set; }
    }

    public class VerifyData
    {
        public string product_class { get; set; }
        public string product_account { get; set; }
        public string product_name { get; set; }
        public string contact_account { get; set; }
        public string contact_name { get; set; }
        public string contact_cellphone { get; set; }
        public string contact_mail { get; set; }
        public string contact_dept { get; set; }
        public string contact_tel { get; set; }
        public string contact_extend { get; set; }
        public string status { get; set; }
        public List<String> contact_category { get; set; }
    }
}

********************************************************************************

改成下面,測試失敗。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.Models
{
    public class MyModel
    {
    }

     public class VerifyResult
     {
        public string message { get; set; }
        public string describe { get; set; }
        public List<VerifyData> data { get; set; }
     }

	public class VerifyCategory
	{
		public string category_name { get; set; }
	}
	
	public class VerifyData
	{
		public string product_class { get; set; }
		public string product_account { get; set; }
		public string product_name { get; set; }
		public string contact_account { get; set; }
		public string contact_name { get; set; }
		public string contact_cellphone { get; set; }
		public string contact_mail { get; set; }
		public string contact_dept { get; set; }
		public string contact_tel { get; set; }
		public string contact_extend { get; set; }
		public string status { get; set; }
		public List<VerifyCategory> contact_category { get; set; }
	}
}

********************************************************************************

改成下面,測試失敗。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.Models
{
    public class MyModel
    {
    }

     public class VerifyResult
    {
        public string message { get; set; }
        public string describe { get; set; }
        public List<VerifyData> data { get; set; }
    }

    public class VerifyData
    {
        public string product_class { get; set; }
        public string product_account { get; set; }
        public string product_name { get; set; }
        public string contact_account { get; set; }
        public string contact_name { get; set; }
        public string contact_cellphone { get; set; }   
        public string contact_mail { get; set; }
        public string contact_dept { get; set; }
        public string contact_tel { get; set; }
        public string contact_extend { get; set; }
        public string status { get; set; }
        public string contact_category { get; set; }
    }
}

********************************************************************************

這是一個敝人實際測試過,真實可用的 Code,只是帳號、密碼、資料、網址做了些變更。

因為 Server 端不是敝人負責,碰到這種情況有點傷腦筋,待研究。

********************************************************************************

補:解決了,和相關人員對照 Server 端的 CODE 後,Client 端

public List<VerifyData> data { get; set; }

改成

public VerifyData data { get; set; }

其實 RestSharp 106 不該讓上面通過,它是錯誤的;結果到了 RestSharp v107 才判斷出它是錯的。

********************************************************************************

(完)

相關

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(三)反序列化
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api_2.html

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(二)模組化
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api_27.html

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(一)
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api.html

[研究]ASP.NET RESTful API: 比較 HTTPClient , RestSharp , WebClient, HttpClientFactory, Flurl, Refit, RestEase
https://shaurong.blogspot.com/2023/03/aspnet-restful-api-httpclient-restsharp.html

[研究][ASP.NET]RestSharp 106 升級 v107疑難排解:未包含 HasValue 的定義
https://shaurong.blogspot.com/2023/03/aspnetrestsharp-106-v107-hasvalue.html

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-restsharp-v107-restful-api.html

[研究][ASP.NET]用 HttpClient 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-httpclient-restful-api.html

[研究][ASP.NET]ChatGPT,請提供完整 RestSharp v107 範例程式https://shaurong.blogspot.com/2023/03/aspnetchatgpt-restsharp-v107.html



[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(二)模組化

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(二)模組化

2023-03-27

環境:Visual Studio 2022 + ASP.NET + WebForm + Web Application + C#

********************************************************************************

Web.Config 設定一些變數值

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <add key="ProductRestfulURL" value="https://www.ncert.nat.gov.tw/" />
    <add key="Account" value="帳號" />
    <add key="Pass" value="密碼" />
  </appSettings>
</configuration>

********************************************************************************

建立 Models 目錄,加入/新增項目,選程式碼,選類別,把 Class1.cs 改名 MyMoldel.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.Models
{
    public class MyModel
    {
    }
	public class ProductListResult
    {
        public string message { get; set; }
        public string describe { get; set; }
        public List<ProductListData> data { get; set; }
    }

    public class ProductListData
    {
	public string product_id { get; set; }
        public string product_name { get; set; }
        public string product_level { get; set; }
        public string product_official_type { get; set; }
        public string product_type { get; set; }
        public string product_sub_type { get; set; }
        public string product_adjust_note { get; set; }
    }
}


********************************************************************************

建立 Logic 目錄,加入/新增項目,選程式碼,選類別,把 Class1.cs 改名 ProductHttpClientFactoryClient.cs

using Newtonsoft.Json;
using System.Collections.Generic;
using System.Configuration;
using System.Net.Http;
using System.Threading.Tasks;
using WebApplication1.Models;

namespace WebApplication1.Logic
{
    public class ProductHttpClientFactoryClient
    {
        static readonly string productRestfulURL = ConfigurationManager.AppSettings["ProductRestfulURL"];
static readonly string productRestfulAccount = ConfigurationManager.AppSettings["Account"]; static readonly string productRestfulPass = ConfigurationManager.AppSettings["Pass"];
        public static async Task<GetUnitListResult> GetUnitListResult()
        {

            var data = new Dictionary<string, string>
                {
                    { "code", productRestfulAccount },
{ "pass", productRestfulPass },
}; HttpClient client = System.Net.Http.HttpClientFactory.Create(); string url = "https://www.xxx.idv.tw/rest/getProductList"; var content = new FormUrlEncodedContent(data); var response = await client.PostAsync(url, content); if (response.IsSuccessStatusCode) { var responseVerifyResultString = await response.Content.ReadAsStringAsync(); GetUnitListResult responseUnitListResultJson = JsonConvert.DeserializeObject<GetUnitListResult>(responseVerifyResultString); return responseUnitListResultJson; } else { return null; } } } }

********************************************************************************

Default4.aspx

<%@ Page Language="C#" Async="true" AutoEventWireup="true" CodeBehind="Default4.aspx.cs" 
    Inherits="WebApplication1.Default4" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
             <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
        </div>
    </form>
</body>
</html>


注意,Page 要多加上 Async="true",否則會有下面錯誤

非同步作業目前無法開始。非同步作業只有在非同步處理常式或模組或是頁面生命週期中特定事件期間中才能開始。如果執行頁面時發生此例外狀況,請確認頁面已標示為 <%@ Page Async="true" %>。此例外狀況也可能表示嘗試呼叫一般在 ASP.NET 要求處理中不支援的 "async void" 方法。相反地,非同步方法應傳回工作而呼叫端應等候它。

********************************************************************************

Default4.aspx.cs

using System;
using WebApplication1.Logic;
using WebApplication1.Models;

namespace WebApplication1
{

    public partial class Default4 : System.Web.UI.Page
    {
        protected async void Page_Load(object sender, EventArgs e)
        {
            GetProductListResult responseProductListResult = await ProductHttpClientFactoryClient.GetProductListResult();
            string responseProductListResult_message = responseProductListResult.message;
            Label1.Text = responseProductListResult_message;
        }
    }
}

這是一個敝人實際測試過,真實可用的 Code,只是帳號、密碼、資料、網址做了些變更。

(完)

相關

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(二)模組化
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api_27.html

[研究][ASP.NET]用 HttpClientFactory 做 RESTful API 呼叫(一)
https://shaurong.blogspot.com/2023/03/aspnet-httpclientfactory-restful-api.html

[研究]ASP.NET RESTful API: 比較 HTTPClient , RestSharp , WebClient, HttpClientFactory, Flurl, Refit, RestEase
https://shaurong.blogspot.com/2023/03/aspnet-restful-api-httpclient-restsharp.html

[研究][ASP.NET]RestSharp 106 升級 v107疑難排解:未包含 HasValue 的定義
https://shaurong.blogspot.com/2023/03/aspnetrestsharp-106-v107-hasvalue.html

[研究][ASP.NET]用 RestSharp v107 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-restsharp-v107-restful-api.html

[研究][ASP.NET]用 HttpClient 做 RESTful API 呼叫
https://shaurong.blogspot.com/2023/03/aspnet-httpclient-restful-api.html

[研究][ASP.NET]ChatGPT,請提供完整 RestSharp v107 範例程式https://shaurong.blogspot.com/2023/03/aspnetchatgpt-restsharp-v107.html



2023年3月25日 星期六

[研究]CloudFlare CDN 可以去真實 WebForm 網站下載網站到 CloudFlare CDN 成為靜態網站嗎?

[研究]CloudFlare CDN 可以去真實 WebForm 網站下載網站到 CloudFlare CDN 成為靜態網站嗎?

2023-03-25

ChatGPT:

Cloudflare CDN 可以使用其靜態網頁緩存(Static Page Caching)功能將動態網頁轉換為靜態網頁,從而提高網站的性能和速度。這是一種將網站內容複製到 CDN 的方式,以提供更快的加載速度和更佳的用戶體驗。

不過,要將真實 ASP.NET WebForm 網站下載到 CloudFlare CDN 成為靜態網站,需要先將該網站的內容轉換為靜態網頁,然後再上傳到 CloudFlare CDN。通常這是由網站管理員或開發人員完成的,而非由 Cloudflare 自動完成。因此,將 WebForm 轉換為靜態網頁需要進行一定的技術處理和設置。

(完)

[研究]Node.js 12.22.9 和 npm 8.5.1 安裝 (Ubuntu 22.04.2 LTS)

[研究]Node.js 12.22.9 和 npm 8.5.1 安裝 (Ubuntu 22.04.2 LTS)

2023-03-25

********************************************************************************

安裝重點

sudo apt-get -y install npm

檢查版本

npm version

nodejs

********************************************************************************

檢查apt是否提供npm安裝?版本?

user1@ubuntu22042:~$ sudo apt-cache policy npm
npm:
  Installed: (none)
  Candidate: 8.5.1~ds-1
  Version table:
     8.5.1~ds-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
user1@ubuntu22042:~$

檢查apt是否提供 node.js 安裝?版本?

user1@ubuntu22042:~$ sudo apt-cache policy node.js
node-jstimezonedetect:
  Installed: (none)
  Candidate: 1.0.7+~1.0.3-1
  Version table:
     1.0.7+~1.0.3-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-stringify-safe:
  Installed: (none)
  Candidate: 5.0.1+repack-5
  Version table:
     5.0.1+repack-5 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-buffer:
  Installed: (none)
  Candidate: 3.0.1-1
  Version table:
     3.0.1-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsdom:
  Installed: (none)
  Candidate: 19.0.0+~cs90.11.27-1
  Version table:
     19.0.0+~cs90.11.27-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsesc:
  Installed: (none)
  Candidate: 3.0.2+~3.0.1-1
  Version table:
     3.0.2+~3.0.1-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsonselect:
  Installed: (none)
  Candidate: 0.4.0+dfsg3-3
  Version table:
     0.4.0+dfsg3-3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-js-yaml:
  Installed: (none)
  Candidate: 4.1.0+dfsg+~4.0.5-6
  Version table:
     4.1.0+dfsg+~4.0.5-6 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json5:
  Installed: (none)
  Candidate: 2.2.0+dfsg-1
  Version table:
     2.2.0+dfsg-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json2module:
  Installed: (none)
  Candidate: 0.0.3-3
  Version table:
     0.0.3-3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jszip:
  Installed: (none)
  Candidate: 3.7.1+dfsg-1
  Version table:
     3.7.1+dfsg-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsonify:
  Installed: (none)
  Candidate: 0.0.0-1.1
  Version table:
     0.0.0-1.1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsonparse:
  Installed: (none)
  Candidate: 1.3.1-10
  Version table:
     1.3.1-10 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsonminify:
  Installed: (none)
  Candidate: 0.4.1+dfsg1-3
  Version table:
     0.4.1+dfsg1-3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-loader:
  Installed: (none)
  Candidate: 0.5.7-5
  Version table:
     0.5.7-5 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-js-beautify:
  Installed: (none)
  Candidate: 1.14.0+dfsg+~0.15.3-1
  Version table:
     1.14.0+dfsg+~0.15.3-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsonfile:
  Installed: (none)
  Candidate: 6.1.0-3
  Version table:
     6.1.0-3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsonld:
  Installed: (none)
  Candidate: 4.0.1-1
  Version table:
     4.0.1-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-schema-traverse:
  Installed: (none)
  Candidate: 1.0.0-3
  Version table:
     1.0.0-3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-parse-even-better-errors:
  Installed: (none)
  Candidate: (none)
  Version table:
node-json-schema:
  Installed: (none)
  Candidate: 0.4.0+~7.0.9-1
  Version table:
     0.4.0+~7.0.9-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jszip-utils:
  Installed: (none)
  Candidate: 0.1.0+dfsg-1
  Version table:
     0.1.0+dfsg-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-js-cookie:
  Installed: (none)
  Candidate: 3.0.1+~3.0.0-2
  Version table:
     3.0.1+~3.0.0-2 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsprim:
  Installed: (none)
  Candidate: 2.0.1-1
  Version table:
     2.0.1-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jstransformer:
  Installed: (none)
  Candidate: (none)
  Version table:
node-jsonstream:
  Installed: (none)
  Candidate: 1.3.5-1
  Version table:
     1.3.5-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-js-tokens:
  Installed: (none)
  Candidate: 7.0.0-1
  Version table:
     7.0.0-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-stable-stringify:
  Installed: (none)
  Candidate: 1.0.1+~cs5.2.33-1
  Version table:
     1.0.1+~cs5.2.33-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-parse-better-errors:
  Installed: (none)
  Candidate: 1.0.2+~cs3.3.1-1
  Version table:
     1.0.2+~cs3.3.1-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jschardet:
  Installed: (none)
  Candidate: 2.2.1+dfsg+~1.3.0-3
  Version table:
     2.2.1+dfsg+~1.3.0-3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-parse-helpfulerror:
  Installed: (none)
  Candidate: 1.0.3-3
  Version table:
     1.0.3-3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-jsbn:
  Installed: (none)
  Candidate: 1.1.0+~1.2.29-1
  Version table:
     1.1.0+~1.2.29-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
node-json-localizer:
  Installed: (none)
  Candidate: 0.0.3-1.1
  Version table:
     0.0.3-1.1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
user1@ubuntu22042:~$ 

安裝  npm

ser1@ubuntu22042:~$ sudo apt-get -y install npm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gyp libc-ares2 libjs-events libjs-highlight.js libjs-inherits
  libjs-is-typedarray libjs-psl libjs-source-map libjs-sprintf-js
  libjs-typedarray-to-buffer libnode-dev libnode72 libuv1-dev node-abab
  node-abbrev node-agent-base node-ansi-regex node-ansi-styles node-ansistyles
  node-aproba node-archy node-are-we-there-yet node-argparse node-arrify
  node-asap node-asynckit node-balanced-match node-brace-expansion
  node-builtins node-cacache node-chalk node-chownr node-clean-yaml-object
  node-cli-table node-clone node-color-convert node-color-name node-colors
  node-columnify node-combined-stream node-commander
  node-console-control-strings node-copy-concurrently node-core-util-is
  node-coveralls node-cssom node-cssstyle node-debug node-decompress-response
  node-defaults node-delayed-stream node-delegates node-depd node-diff
  node-encoding node-end-of-stream node-err-code node-escape-string-regexp
  node-esprima node-events node-fancy-log node-fetch node-foreground-child
  node-form-data node-fs-write-stream-atomic node-fs.realpath
  node-function-bind node-gauge node-get-stream node-glob node-got
  node-graceful-fs node-growl node-gyp node-has-flag node-has-unicode
  node-hosted-git-info node-https-proxy-agent node-iconv-lite node-iferr
  node-imurmurhash node-indent-string node-inflight node-inherits node-ini
  node-ip node-ip-regex node-is-buffer node-is-plain-obj node-is-typedarray
  node-isarray node-isexe node-js-yaml node-jsdom node-json-buffer
  node-json-parse-better-errors node-jsonparse node-kind-of node-lcov-parse
  node-lodash-packages node-log-driver node-lowercase-keys node-lru-cache
  node-mime node-mime-types node-mimic-response node-minimatch node-minimist
  node-minipass node-mkdirp node-move-concurrently node-ms node-mute-stream
  node-negotiator node-nopt node-normalize-package-data node-npm-bundled
  node-npm-package-arg node-npmlog node-object-assign node-once node-opener
  node-osenv node-p-cancelable node-p-map node-path-is-absolute
  node-process-nextick-args node-promise-inflight node-promise-retry
  node-promzard node-psl node-pump node-punycode node-quick-lru node-read
  node-read-package-json node-readable-stream node-resolve node-retry
  node-rimraf node-run-queue node-safe-buffer node-semver node-set-blocking
  node-signal-exit node-slash node-slice-ansi node-source-map
  node-source-map-support node-spdx-correct node-spdx-exceptions
  node-spdx-expression-parse node-spdx-license-ids node-sprintf-js node-ssri
  node-stack-utils node-stealthy-require node-string-decoder node-string-width
  node-strip-ansi node-supports-color node-tap node-tap-mocha-reporter
  node-tap-parser node-tar node-text-table node-time-stamp node-tmatch
  node-tough-cookie node-typedarray-to-buffer node-unique-filename
  node-universalify node-util-deprecate node-validate-npm-package-license
  node-validate-npm-package-name node-wcwidth.js node-webidl-conversions
  node-whatwg-fetch node-which node-wide-align node-wrappy
  node-write-file-atomic node-ws node-yallist nodejs nodejs-doc
Suggested packages:
  libjs-angularjs node-nyc
The following NEW packages will be installed:
  gyp libc-ares2 libjs-events libjs-highlight.js libjs-inherits
  libjs-is-typedarray libjs-psl libjs-source-map libjs-sprintf-js
  libjs-typedarray-to-buffer libnode-dev libnode72 libuv1-dev node-abab
  node-abbrev node-agent-base node-ansi-regex node-ansi-styles node-ansistyles
  node-aproba node-archy node-are-we-there-yet node-argparse node-arrify
  node-asap node-asynckit node-balanced-match node-brace-expansion
  node-builtins node-cacache node-chalk node-chownr node-clean-yaml-object
  node-cli-table node-clone node-color-convert node-color-name node-colors
  node-columnify node-combined-stream node-commander
  node-console-control-strings node-copy-concurrently node-core-util-is
  node-coveralls node-cssom node-cssstyle node-debug node-decompress-response
  node-defaults node-delayed-stream node-delegates node-depd node-diff
  node-encoding node-end-of-stream node-err-code node-escape-string-regexp
  node-esprima node-events node-fancy-log node-fetch node-foreground-child
  node-form-data node-fs-write-stream-atomic node-fs.realpath
  node-function-bind node-gauge node-get-stream node-glob node-got
  node-graceful-fs node-growl node-gyp node-has-flag node-has-unicode
  node-hosted-git-info node-https-proxy-agent node-iconv-lite node-iferr
  node-imurmurhash node-indent-string node-inflight node-inherits node-ini
  node-ip node-ip-regex node-is-buffer node-is-plain-obj node-is-typedarray
  node-isarray node-isexe node-js-yaml node-jsdom node-json-buffer
  node-json-parse-better-errors node-jsonparse node-kind-of node-lcov-parse
  node-lodash-packages node-log-driver node-lowercase-keys node-lru-cache
  node-mime node-mime-types node-mimic-response node-minimatch node-minimist
  node-minipass node-mkdirp node-move-concurrently node-ms node-mute-stream
  node-negotiator node-nopt node-normalize-package-data node-npm-bundled
  node-npm-package-arg node-npmlog node-object-assign node-once node-opener
  node-osenv node-p-cancelable node-p-map node-path-is-absolute
  node-process-nextick-args node-promise-inflight node-promise-retry
  node-promzard node-psl node-pump node-punycode node-quick-lru node-read
  node-read-package-json node-readable-stream node-resolve node-retry
  node-rimraf node-run-queue node-safe-buffer node-semver node-set-blocking
  node-signal-exit node-slash node-slice-ansi node-source-map
  node-source-map-support node-spdx-correct node-spdx-exceptions
  node-spdx-expression-parse node-spdx-license-ids node-sprintf-js node-ssri
  node-stack-utils node-stealthy-require node-string-decoder node-string-width
  node-strip-ansi node-supports-color node-tap node-tap-mocha-reporter
  node-tap-parser node-tar node-text-table node-time-stamp node-tmatch
  node-tough-cookie node-typedarray-to-buffer node-unique-filename
  node-universalify node-util-deprecate node-validate-npm-package-license
  node-validate-npm-package-name node-wcwidth.js node-webidl-conversions
  node-whatwg-fetch node-which node-wide-align node-wrappy
  node-write-file-atomic node-ws node-yallist nodejs nodejs-doc npm
0 upgraded, 187 newly installed, 0 to remove and 18 not upgraded.
Need to get 18.8 MB of archives.
After this operation, 90.2 MB of additional disk space will be used.
Get:1 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 gyp all 0.1+20210831gitd6c5dd5-5 [238 kB]
Get:2 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-events all 3.3.0+~3.0.0-2 [9734 B]
Get:3 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-highlight.js all 9.18.5+dfsg1-1 [367 kB]
Get:4 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-is-typedarray all 1.0.0-4 [3804 B]
Get:5 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-psl all 1.8.0+ds-6 [76.3 kB]
Get:6 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-sprintf-js all 1.1.2+ds1+~1.1.2-1 [12.8 kB]
Get:7 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-typedarray-to-buffer all 4.0.0-2 [4658 B]
Get:8 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 libuv1-dev amd64 1.43.0-1 [130 kB]
Get:9 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-ares2 amd64 1.18.1-1ubuntu0.22.04.1 [45.1 kB]
Get:10 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libnode72 amd64 12.22.9~dfsg-1ubuntu3 [10.8 MB]
Get:11 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libnode-dev amd64 12.22.9~dfsg-1ubuntu3 [609 kB]
Get:12 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 nodejs amd64 12.22.9~dfsg-1ubuntu3 [122 kB]
Get:13 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-abab all 2.0.5-2 [6578 B]
Get:14 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ms all 2.1.3+~cs0.7.31-2 [5782 B]
Get:15 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-debug all 4.3.2+~cs4.1.7-1 [17.6 kB]
Get:16 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-yallist all 4.0.0+~4.0.1-1 [8322 B]
Get:17 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-lru-cache all 6.0.0+~5.1.1-1 [11.3 kB]
Get:18 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-semver all 7.3.5+~7.3.8-1 [41.5 kB]
Get:19 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-agent-base all 6.0.2+~cs5.4.2-1 [17.9 kB]
Get:20 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ansi-regex all 5.0.1-1 [4984 B]
Get:21 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ansistyles all 0.1.3-5 [4546 B]
Get:22 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-aproba all 2.0.0-2 [5620 B]
Get:23 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-delegates all 1.0.0-3 [4280 B]
Get:24 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-inherits all 2.0.4-4 [3468 B]
Get:25 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-inherits all 2.0.4-4 [3010 B]
Get:26 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-core-util-is all 1.0.3-1 [4066 B]
Get:27 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-safe-buffer all 5.2.1+~cs2.1.2-2 [15.7 kB]
Get:28 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-string-decoder all 1.3.0-5 [7046 B]
Get:29 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-process-nextick-args all 2.0.1-2 [3730 B]
Get:30 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-util-deprecate all 1.0.2-3 [4202 B]
Get:31 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-isarray all 2.0.5-3 [3934 B]
Get:32 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-readable-stream all 3.6.0+~cs3.0.0-1 [32.6 kB]
Get:33 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-are-we-there-yet all 3.0.0+~1.1.0-1 [8920 B]
Get:34 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-arrify all 2.0.1-2 [3610 B]
Get:35 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-asap all 2.0.6+~2.0.0-1 [14.4 kB]
Get:36 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-asynckit all 0.4.0-4 [10.6 kB]
Get:37 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-builtins all 4.0.0-1 [3860 B]
Get:38 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-chownr all 2.0.0-1 [4404 B]
Get:39 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-fs.realpath all 1.0.0-2 [6106 B]
Get:40 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-wrappy all 1.0.2-2 [3658 B]
Get:41 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-once all 1.4.0-4 [4708 B]
Get:42 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-inflight all 1.0.6-2 [3940 B]
Get:43 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-balanced-match all 2.0.0-1 [4910 B]
Get:44 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-brace-expansion all 2.0.1-1 [7458 B]
Get:45 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-minimatch all 3.1.1+~3.0.5-1 [16.9 kB]
Get:46 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-path-is-absolute all 2.0.0-2 [4062 B]
Get:47 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-glob all 7.2.1+~cs7.6.15-1 [131 kB]
Get:48 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-graceful-fs all 4.2.4+repack-1 [12.5 kB]
Get:49 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-mkdirp all 1.0.4+~1.0.2-1 [11.4 kB]
Get:50 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-iferr all 1.0.2+~1.0.2-1 [4610 B]
Get:51 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-imurmurhash all 0.1.4+dfsg+~0.1.1-1 [8510 B]
Get:52 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-fs-write-stream-atomic all 1.0.10-5 [5256 B]
Get:53 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-rimraf all 3.0.2-1 [10.1 kB]
Get:54 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-run-queue all 2.0.0-2 [5092 B]
Get:55 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-copy-concurrently all 1.0.5-8 [7118 B]
Get:56 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-move-concurrently all 1.0.1-4 [5120 B]
Get:57 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-escape-string-regexp all 4.0.0-2 [4328 B]
Get:58 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-indent-string all 4.0.0-2 [4122 B]
Get:59 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-p-map all 4.0.0+~3.1.0+~3.0.1-1 [8058 B]
Get:60 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-promise-inflight all 1.0.1+~1.0.0-1 [4896 B]
Get:61 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ssri all 8.0.1-2 [19.6 kB]
Get:62 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-unique-filename all 1.1.1+ds-1 [3832 B]
Get:63 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-cacache all 15.0.5+~cs13.9.21-3 [34.9 kB]
Get:64 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-clean-yaml-object all 0.1.0-5 [4718 B]
Get:65 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-clone all 2.1.2-3 [8344 B]
Get:66 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-color-name all 1.1.4+~1.1.1-2 [6076 B]
Get:67 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-color-convert all 2.0.1-1 [10.2 kB]
Get:68 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-colors all 1.4.0-3 [12.3 kB]
Get:69 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-strip-ansi all 6.0.1-1 [4184 B]
Get:70 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-defaults all 1.0.3+~1.0.3-1 [4288 B]
Get:71 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-wcwidth.js all 1.0.2-1 [7278 B]
Get:72 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-columnify all 1.5.4+~1.5.1-1 [12.6 kB]
Get:73 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-console-control-strings all 1.1.0-2 [5428 B]
Get:74 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-growl all 1.10.5-4 [7064 B]
Get:75 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-sprintf-js all 1.1.2+ds1+~1.1.2-1 [3916 B]
Get:76 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-argparse all 2.0.1-2 [33.2 kB]
Get:77 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-esprima all 4.0.1+ds+~4.0.3-2 [69.3 kB]
Get:78 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-js-yaml all 4.1.0+dfsg+~4.0.5-6 [62.7 kB]
Get:79 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-lcov-parse all 1.0.0+20170612git80d039574ed9-5 [5084 B]
Get:80 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-log-driver all 1.2.7+git+20180219+bba1761737-7 [5436 B]
Get:81 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-is-plain-obj all 3.0.0-2 [3994 B]
Get:82 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-is-buffer all 2.0.5-2 [4128 B]
Get:83 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-kind-of all 6.0.3+dfsg-2 [8628 B]
Get:84 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-minimist all 1.2.5+~cs5.3.2-1 [9434 B]
Get:85 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-cssom all 0.4.4-3 [14.1 kB]
Get:86 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-cssstyle all 2.3.0-2 [30.3 kB]
Get:87 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-delayed-stream all 1.0.0-5 [5464 B]
Get:88 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-combined-stream all 1.0.8+~1.0.3-1 [7432 B]
Get:89 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-mime all 3.0.0+dfsg+~cs3.96.1-1 [38.1 kB]
Get:90 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-mime-types all 2.1.33-1 [6944 B]
Get:91 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-form-data all 3.0.1-1 [13.4 kB]
Get:92 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-events all 3.3.0+~3.0.0-2 [3090 B]
Get:93 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-https-proxy-agent all 5.0.0+~cs8.0.0-3 [16.4 kB]
Get:94 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-iconv-lite all 0.6.3-2 [167 kB]
Get:95 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-lodash-packages all 4.17.21+dfsg+~cs8.31.198.20210220-5 [166 kB]
Get:96 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-stealthy-require all 1.1.1-5 [7176 B]
Get:97 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-punycode all 2.1.1-5 [9902 B]
Get:98 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-psl all 1.8.0+ds-6 [39.6 kB]
Get:99 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-universalify all 2.0.0-3 [4266 B]
Get:100 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-tough-cookie all 4.0.0-2 [31.7 kB]
Get:101 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-webidl-conversions all 7.0.0~1.1.0+~cs15.1.20180823-2 [27.5 kB]
Get:102 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-commander all 9.0.0-2 [48.0 kB]
Get:103 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-mute-stream all 0.0.8+~0.0.1-1 [6448 B]
Get:104 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-read all 1.0.7-3 [5478 B]
Get:105 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ws all 8.5.0+~cs13.3.3-2 [49.5 kB]
Get:106 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-jsdom all 19.0.0+~cs90.11.27-1 [446 kB]
Get:107 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-fetch all 2.6.7+~2.5.12-1 [27.1 kB]
Get:108 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-coveralls all 3.1.1-1 [14.2 kB]
Get:109 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-mimic-response all 3.1.0-7 [5430 B]
Get:110 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-decompress-response all 6.0.0-2 [4656 B]
Get:111 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-diff all 5.0.0~dfsg+~5.0.1-3 [77.4 kB]
Get:112 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-err-code all 2.0.3+dfsg-3 [4918 B]
Get:113 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-time-stamp all 2.2.0-1 [5984 B]
Get:114 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-fancy-log all 1.3.3+~cs1.3.1-2 [8102 B]
Get:115 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-signal-exit all 3.0.6+~3.0.1-1 [7000 B]
Get:116 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-foreground-child all 2.0.0-3 [5542 B]
Get:117 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-function-bind all 1.1.1+repacked+~1.0.3-1 [5244 B]
Get:118 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-has-unicode all 2.0.1-4 [3948 B]
Get:119 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ansi-styles all 4.3.0+~4.2.0-1 [8968 B]
Get:120 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-slice-ansi all 5.0.0+~cs9.0.0-4 [8044 B]
Get:121 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-string-width all 4.2.3+~cs13.2.3-1 [11.4 kB]
Get:122 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-wide-align all 1.1.3-4 [4228 B]
Get:123 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-gauge all 4.0.2-1 [16.3 kB]
Get:124 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-end-of-stream all 1.4.4+~1.4.1-1 [5340 B]
Get:125 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-pump all 3.0.0-5 [5160 B]
Get:126 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-get-stream all 6.0.1-1 [7324 B]
Get:127 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-lowercase-keys all 2.0.0-2 [3754 B]
Get:128 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-json-buffer all 3.0.1-1 [3812 B]
Get:129 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-p-cancelable all 2.1.1-1 [7358 B]
Get:130 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-quick-lru all 5.1.1-1 [5532 B]
Get:131 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-got all 11.8.3+~cs58.7.37-1 [122 kB]
Get:132 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-has-flag all 4.0.0-2 [4228 B]
Get:133 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-hosted-git-info all 4.0.2-1 [9006 B]
Get:134 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ip all 1.1.5+~1.1.0-1 [8140 B]
Get:135 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ip-regex all 4.3.0+~4.1.1-1 [5254 B]
Get:136 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-is-typedarray all 1.0.0-4 [2072 B]
Get:137 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-isexe all 2.0.0+~2.0.1-4 [6102 B]
Get:138 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-json-parse-better-errors all 1.0.2+~cs3.3.1-1 [7328 B]
Get:139 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-encoding all 0.1.13-2 [4366 B]
Get:140 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-jsonparse all 1.3.1-10 [8060 B]
Get:141 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-minipass all 3.1.6+~cs8.7.18-1 [32.9 kB]
Get:142 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-npm-bundled all 1.1.2-1 [6228 B]
Get:143 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-osenv all 0.1.5+~0.1.0-1 [5896 B]
Get:144 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-validate-npm-package-name all 3.0.0-4 [5058 B]
Get:145 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-npm-package-arg all 8.1.5-1 [8132 B]
Get:146 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-object-assign all 4.1.1-6 [4754 B]
Get:147 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-opener all 1.5.2+~1.4.0-1 [6000 B]
Get:148 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-retry all 0.13.1+~0.12.1-1 [11.5 kB]
Get:149 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-promise-retry all 2.0.1-2 [5010 B]
Get:150 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-promzard all 0.3.0-2 [6888 B]
Get:151 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-set-blocking all 2.0.0-2 [3766 B]
Get:152 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-slash all 3.0.0-2 [3922 B]
Get:153 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-source-map all 0.7.0++dfsg2+really.0.6.1-9 [93.9 kB]
Get:154 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-source-map all 0.7.0++dfsg2+really.0.6.1-9 [33.6 kB]
Get:155 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-source-map-support all 0.5.21+ds+~0.5.4-1 [14.2 kB]
Get:156 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-spdx-license-ids all 3.0.11-1 [7306 B]
Get:157 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-spdx-exceptions all 2.3.0-2 [3978 B]
Get:158 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-spdx-expression-parse all 3.0.1+~3.0.1-1 [7658 B]
Get:159 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-spdx-correct all 3.1.1-2 [5476 B]
Get:160 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-stack-utils all 2.0.5+~2.0.1-1 [9368 B]
Get:161 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-supports-color all 8.1.1+~8.1.1-1 [7048 B]
Get:162 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-tap-parser all 7.0.0+ds1-6 [19.4 kB]
Get:163 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-tap-mocha-reporter all 3.0.7+ds-2 [39.2 kB]
Get:164 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-text-table all 0.2.0-4 [4762 B]
Get:165 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-tmatch all 5.0.0-4 [6002 B]
Get:166 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-typedarray-to-buffer all 4.0.0-2 [2242 B]
Get:167 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-validate-npm-package-license all 3.0.4-2 [4252 B]
Get:168 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-whatwg-fetch all 3.6.2-5 [15.0 kB]
Get:169 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-write-file-atomic all 3.0.3+~3.0.2-1 [7690 B]
Get:170 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 nodejs-doc all 12.22.9~dfsg-1ubuntu3 [2409 kB]
Get:171 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-abbrev all 1.1.1+~1.1.2-1 [5784 B]
Get:172 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-archy all 1.0.0-4 [4728 B]
Get:173 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-chalk all 4.1.2-1 [15.9 kB]
Get:174 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-cli-table all 0.3.11+~cs0.13.3-1 [23.2 kB]
Get:175 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-depd all 2.0.0-2 [10.5 kB]
Get:176 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-nopt all 5.0.0-2 [11.3 kB]
Get:177 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-npmlog all 6.0.1+~4.1.4-1 [9968 B]
Get:178 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-tar all 6.1.11+ds1+~cs6.0.6-1 [38.8 kB]
Get:179 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-which all 2.0.2+~cs1.3.2-2 [7374 B]
Get:180 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-gyp all 8.4.1-1 [34.7 kB]
Get:181 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-ini all 2.0.1-1 [6528 B]
Get:182 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-negotiator all 0.6.2+~0.6.1-1 [10.3 kB]
Get:183 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-resolve all 1.20.0+~cs5.27.9-1 [20.7 kB]
Get:184 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-normalize-package-data all 3.0.3+~2.4.1-1 [12.8 kB]
Get:185 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-read-package-json all 4.1.1-1 [10.4 kB]
Get:186 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 node-tap all 12.0.1+ds-4 [43.6 kB]
Get:187 http://tw.archive.ubuntu.com/ubuntu jammy/universe amd64 npm all 8.5.1~ds-1 [894 kB]
Fetched 18.8 MB in 6s (2933 kB/s)                                              
Extracting templates from packages: 100%
Selecting previously unselected package gyp.
(Reading database ... 182919 files and directories currently installed.)
Preparing to unpack .../000-gyp_0.1+20210831gitd6c5dd5-5_all.deb ...
Unpacking gyp (0.1+20210831gitd6c5dd5-5) ...
Selecting previously unselected package libjs-events.
Preparing to unpack .../001-libjs-events_3.3.0+~3.0.0-2_all.deb ...
Unpacking libjs-events (3.3.0+~3.0.0-2) ...
Selecting previously unselected package libjs-highlight.js.
Preparing to unpack .../002-libjs-highlight.js_9.18.5+dfsg1-1_all.deb ...
Unpacking libjs-highlight.js (9.18.5+dfsg1-1) ...
Selecting previously unselected package libjs-is-typedarray.
Preparing to unpack .../003-libjs-is-typedarray_1.0.0-4_all.deb ...
Unpacking libjs-is-typedarray (1.0.0-4) ...
Selecting previously unselected package libjs-psl.
Preparing to unpack .../004-libjs-psl_1.8.0+ds-6_all.deb ...
Unpacking libjs-psl (1.8.0+ds-6) ...
Selecting previously unselected package libjs-sprintf-js.
Preparing to unpack .../005-libjs-sprintf-js_1.1.2+ds1+~1.1.2-1_all.deb ...
Unpacking libjs-sprintf-js (1.1.2+ds1+~1.1.2-1) ...
Selecting previously unselected package libjs-typedarray-to-buffer.
Preparing to unpack .../006-libjs-typedarray-to-buffer_4.0.0-2_all.deb ...
Unpacking libjs-typedarray-to-buffer (4.0.0-2) ...
Selecting previously unselected package libuv1-dev:amd64.
Preparing to unpack .../007-libuv1-dev_1.43.0-1_amd64.deb ...
Unpacking libuv1-dev:amd64 (1.43.0-1) ...
Selecting previously unselected package libc-ares2:amd64.
Preparing to unpack .../008-libc-ares2_1.18.1-1ubuntu0.22.04.1_amd64.deb ...
Unpacking libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.1) ...
Selecting previously unselected package libnode72:amd64.
Preparing to unpack .../009-libnode72_12.22.9~dfsg-1ubuntu3_amd64.deb ...
Unpacking libnode72:amd64 (12.22.9~dfsg-1ubuntu3) ...
Selecting previously unselected package libnode-dev.
Preparing to unpack .../010-libnode-dev_12.22.9~dfsg-1ubuntu3_amd64.deb ...
Unpacking libnode-dev (12.22.9~dfsg-1ubuntu3) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../011-nodejs_12.22.9~dfsg-1ubuntu3_amd64.deb ...
Unpacking nodejs (12.22.9~dfsg-1ubuntu3) ...
Selecting previously unselected package node-abab.
Preparing to unpack .../012-node-abab_2.0.5-2_all.deb ...
Unpacking node-abab (2.0.5-2) ...
Selecting previously unselected package node-ms.
Preparing to unpack .../013-node-ms_2.1.3+~cs0.7.31-2_all.deb ...
Unpacking node-ms (2.1.3+~cs0.7.31-2) ...
Selecting previously unselected package node-debug.
Preparing to unpack .../014-node-debug_4.3.2+~cs4.1.7-1_all.deb ...
Unpacking node-debug (4.3.2+~cs4.1.7-1) ...
Selecting previously unselected package node-yallist.
Preparing to unpack .../015-node-yallist_4.0.0+~4.0.1-1_all.deb ...
Unpacking node-yallist (4.0.0+~4.0.1-1) ...
Selecting previously unselected package node-lru-cache.
Preparing to unpack .../016-node-lru-cache_6.0.0+~5.1.1-1_all.deb ...
Unpacking node-lru-cache (6.0.0+~5.1.1-1) ...
Selecting previously unselected package node-semver.
Preparing to unpack .../017-node-semver_7.3.5+~7.3.8-1_all.deb ...
Unpacking node-semver (7.3.5+~7.3.8-1) ...
Selecting previously unselected package node-agent-base.
Preparing to unpack .../018-node-agent-base_6.0.2+~cs5.4.2-1_all.deb ...
Unpacking node-agent-base (6.0.2+~cs5.4.2-1) ...
Selecting previously unselected package node-ansi-regex.
Preparing to unpack .../019-node-ansi-regex_5.0.1-1_all.deb ...
Unpacking node-ansi-regex (5.0.1-1) ...
Selecting previously unselected package node-ansistyles.
Preparing to unpack .../020-node-ansistyles_0.1.3-5_all.deb ...
Unpacking node-ansistyles (0.1.3-5) ...
Selecting previously unselected package node-aproba.
Preparing to unpack .../021-node-aproba_2.0.0-2_all.deb ...
Unpacking node-aproba (2.0.0-2) ...
Selecting previously unselected package node-delegates.
Preparing to unpack .../022-node-delegates_1.0.0-3_all.deb ...
Unpacking node-delegates (1.0.0-3) ...
Selecting previously unselected package libjs-inherits.
Preparing to unpack .../023-libjs-inherits_2.0.4-4_all.deb ...
Unpacking libjs-inherits (2.0.4-4) ...
Selecting previously unselected package node-inherits.
Preparing to unpack .../024-node-inherits_2.0.4-4_all.deb ...
Unpacking node-inherits (2.0.4-4) ...
Selecting previously unselected package node-core-util-is.
Preparing to unpack .../025-node-core-util-is_1.0.3-1_all.deb ...
Unpacking node-core-util-is (1.0.3-1) ...
Selecting previously unselected package node-safe-buffer.
Preparing to unpack .../026-node-safe-buffer_5.2.1+~cs2.1.2-2_all.deb ...
Unpacking node-safe-buffer (5.2.1+~cs2.1.2-2) ...
Selecting previously unselected package node-string-decoder.
Preparing to unpack .../027-node-string-decoder_1.3.0-5_all.deb ...
Unpacking node-string-decoder (1.3.0-5) ...
Selecting previously unselected package node-process-nextick-args.
Preparing to unpack .../028-node-process-nextick-args_2.0.1-2_all.deb ...
Unpacking node-process-nextick-args (2.0.1-2) ...
Selecting previously unselected package node-util-deprecate.
Preparing to unpack .../029-node-util-deprecate_1.0.2-3_all.deb ...
Unpacking node-util-deprecate (1.0.2-3) ...
Selecting previously unselected package node-isarray.
Preparing to unpack .../030-node-isarray_2.0.5-3_all.deb ...
Unpacking node-isarray (2.0.5-3) ...
Selecting previously unselected package node-readable-stream.
Preparing to unpack .../031-node-readable-stream_3.6.0+~cs3.0.0-1_all.deb ...
Unpacking node-readable-stream (3.6.0+~cs3.0.0-1) ...
Selecting previously unselected package node-are-we-there-yet.
Preparing to unpack .../032-node-are-we-there-yet_3.0.0+~1.1.0-1_all.deb ...
Unpacking node-are-we-there-yet (3.0.0+~1.1.0-1) ...
Selecting previously unselected package node-arrify.
Preparing to unpack .../033-node-arrify_2.0.1-2_all.deb ...
Unpacking node-arrify (2.0.1-2) ...
Selecting previously unselected package node-asap.
Preparing to unpack .../034-node-asap_2.0.6+~2.0.0-1_all.deb ...
Unpacking node-asap (2.0.6+~2.0.0-1) ...
Selecting previously unselected package node-asynckit.
Preparing to unpack .../035-node-asynckit_0.4.0-4_all.deb ...
Unpacking node-asynckit (0.4.0-4) ...
Selecting previously unselected package node-builtins.
Preparing to unpack .../036-node-builtins_4.0.0-1_all.deb ...
Unpacking node-builtins (4.0.0-1) ...
Selecting previously unselected package node-chownr.
Preparing to unpack .../037-node-chownr_2.0.0-1_all.deb ...
Unpacking node-chownr (2.0.0-1) ...
Selecting previously unselected package node-fs.realpath.
Preparing to unpack .../038-node-fs.realpath_1.0.0-2_all.deb ...
Unpacking node-fs.realpath (1.0.0-2) ...
Selecting previously unselected package node-wrappy.
Preparing to unpack .../039-node-wrappy_1.0.2-2_all.deb ...
Unpacking node-wrappy (1.0.2-2) ...
Selecting previously unselected package node-once.
Preparing to unpack .../040-node-once_1.4.0-4_all.deb ...
Unpacking node-once (1.4.0-4) ...
Selecting previously unselected package node-inflight.
Preparing to unpack .../041-node-inflight_1.0.6-2_all.deb ...
Unpacking node-inflight (1.0.6-2) ...
Selecting previously unselected package node-balanced-match.
Preparing to unpack .../042-node-balanced-match_2.0.0-1_all.deb ...
Unpacking node-balanced-match (2.0.0-1) ...
Selecting previously unselected package node-brace-expansion.
Preparing to unpack .../043-node-brace-expansion_2.0.1-1_all.deb ...
Unpacking node-brace-expansion (2.0.1-1) ...
Selecting previously unselected package node-minimatch.
Preparing to unpack .../044-node-minimatch_3.1.1+~3.0.5-1_all.deb ...
Unpacking node-minimatch (3.1.1+~3.0.5-1) ...
Selecting previously unselected package node-path-is-absolute.
Preparing to unpack .../045-node-path-is-absolute_2.0.0-2_all.deb ...
Unpacking node-path-is-absolute (2.0.0-2) ...
Selecting previously unselected package node-glob.
Preparing to unpack .../046-node-glob_7.2.1+~cs7.6.15-1_all.deb ...
Unpacking node-glob (7.2.1+~cs7.6.15-1) ...
Selecting previously unselected package node-graceful-fs.
Preparing to unpack .../047-node-graceful-fs_4.2.4+repack-1_all.deb ...
Unpacking node-graceful-fs (4.2.4+repack-1) ...
Selecting previously unselected package node-mkdirp.
Preparing to unpack .../048-node-mkdirp_1.0.4+~1.0.2-1_all.deb ...
Unpacking node-mkdirp (1.0.4+~1.0.2-1) ...
Selecting previously unselected package node-iferr.
Preparing to unpack .../049-node-iferr_1.0.2+~1.0.2-1_all.deb ...
Unpacking node-iferr (1.0.2+~1.0.2-1) ...
Selecting previously unselected package node-imurmurhash.
Preparing to unpack .../050-node-imurmurhash_0.1.4+dfsg+~0.1.1-1_all.deb ...
Unpacking node-imurmurhash (0.1.4+dfsg+~0.1.1-1) ...
Selecting previously unselected package node-fs-write-stream-atomic.
Preparing to unpack .../051-node-fs-write-stream-atomic_1.0.10-5_all.deb ...
Unpacking node-fs-write-stream-atomic (1.0.10-5) ...
Selecting previously unselected package node-rimraf.
Preparing to unpack .../052-node-rimraf_3.0.2-1_all.deb ...
Unpacking node-rimraf (3.0.2-1) ...
Selecting previously unselected package node-run-queue.
Preparing to unpack .../053-node-run-queue_2.0.0-2_all.deb ...
Unpacking node-run-queue (2.0.0-2) ...
Selecting previously unselected package node-copy-concurrently.
Preparing to unpack .../054-node-copy-concurrently_1.0.5-8_all.deb ...
Unpacking node-copy-concurrently (1.0.5-8) ...
Selecting previously unselected package node-move-concurrently.
Preparing to unpack .../055-node-move-concurrently_1.0.1-4_all.deb ...
Unpacking node-move-concurrently (1.0.1-4) ...
Selecting previously unselected package node-escape-string-regexp.
Preparing to unpack .../056-node-escape-string-regexp_4.0.0-2_all.deb ...
Unpacking node-escape-string-regexp (4.0.0-2) ...
Selecting previously unselected package node-indent-string.
Preparing to unpack .../057-node-indent-string_4.0.0-2_all.deb ...
Unpacking node-indent-string (4.0.0-2) ...
Selecting previously unselected package node-p-map.
Preparing to unpack .../058-node-p-map_4.0.0+~3.1.0+~3.0.1-1_all.deb ...
Unpacking node-p-map (4.0.0+~3.1.0+~3.0.1-1) ...
Selecting previously unselected package node-promise-inflight.
Preparing to unpack .../059-node-promise-inflight_1.0.1+~1.0.0-1_all.deb ...
Unpacking node-promise-inflight (1.0.1+~1.0.0-1) ...
Selecting previously unselected package node-ssri.
Preparing to unpack .../060-node-ssri_8.0.1-2_all.deb ...
Unpacking node-ssri (8.0.1-2) ...
Selecting previously unselected package node-unique-filename.
Preparing to unpack .../061-node-unique-filename_1.1.1+ds-1_all.deb ...
Unpacking node-unique-filename (1.1.1+ds-1) ...
Selecting previously unselected package node-cacache.
Preparing to unpack .../062-node-cacache_15.0.5+~cs13.9.21-3_all.deb ...
Unpacking node-cacache (15.0.5+~cs13.9.21-3) ...
Selecting previously unselected package node-clean-yaml-object.
Preparing to unpack .../063-node-clean-yaml-object_0.1.0-5_all.deb ...
Unpacking node-clean-yaml-object (0.1.0-5) ...
Selecting previously unselected package node-clone.
Preparing to unpack .../064-node-clone_2.1.2-3_all.deb ...
Unpacking node-clone (2.1.2-3) ...
Selecting previously unselected package node-color-name.
Preparing to unpack .../065-node-color-name_1.1.4+~1.1.1-2_all.deb ...
Unpacking node-color-name (1.1.4+~1.1.1-2) ...
Selecting previously unselected package node-color-convert.
Preparing to unpack .../066-node-color-convert_2.0.1-1_all.deb ...
Unpacking node-color-convert (2.0.1-1) ...
Selecting previously unselected package node-colors.
Preparing to unpack .../067-node-colors_1.4.0-3_all.deb ...
Unpacking node-colors (1.4.0-3) ...
Selecting previously unselected package node-strip-ansi.
Preparing to unpack .../068-node-strip-ansi_6.0.1-1_all.deb ...
Unpacking node-strip-ansi (6.0.1-1) ...
Selecting previously unselected package node-defaults.
Preparing to unpack .../069-node-defaults_1.0.3+~1.0.3-1_all.deb ...
Unpacking node-defaults (1.0.3+~1.0.3-1) ...
Selecting previously unselected package node-wcwidth.js.
Preparing to unpack .../070-node-wcwidth.js_1.0.2-1_all.deb ...
Unpacking node-wcwidth.js (1.0.2-1) ...
Selecting previously unselected package node-columnify.
Preparing to unpack .../071-node-columnify_1.5.4+~1.5.1-1_all.deb ...
Unpacking node-columnify (1.5.4+~1.5.1-1) ...
Selecting previously unselected package node-console-control-strings.
Preparing to unpack .../072-node-console-control-strings_1.1.0-2_all.deb ...
Unpacking node-console-control-strings (1.1.0-2) ...
Selecting previously unselected package node-growl.
Preparing to unpack .../073-node-growl_1.10.5-4_all.deb ...
Unpacking node-growl (1.10.5-4) ...
Selecting previously unselected package node-sprintf-js.
Preparing to unpack .../074-node-sprintf-js_1.1.2+ds1+~1.1.2-1_all.deb ...
Unpacking node-sprintf-js (1.1.2+ds1+~1.1.2-1) ...
Selecting previously unselected package node-argparse.
Preparing to unpack .../075-node-argparse_2.0.1-2_all.deb ...
Unpacking node-argparse (2.0.1-2) ...
Selecting previously unselected package node-esprima.
Preparing to unpack .../076-node-esprima_4.0.1+ds+~4.0.3-2_all.deb ...
Unpacking node-esprima (4.0.1+ds+~4.0.3-2) ...
Selecting previously unselected package node-js-yaml.
Preparing to unpack .../077-node-js-yaml_4.1.0+dfsg+~4.0.5-6_all.deb ...
Unpacking node-js-yaml (4.1.0+dfsg+~4.0.5-6) ...
Selecting previously unselected package node-lcov-parse.
Preparing to unpack .../078-node-lcov-parse_1.0.0+20170612git80d039574ed9-5_all.deb ...
Unpacking node-lcov-parse (1.0.0+20170612git80d039574ed9-5) ...
Selecting previously unselected package node-log-driver.
Preparing to unpack .../079-node-log-driver_1.2.7+git+20180219+bba1761737-7_all.deb ...
Unpacking node-log-driver (1.2.7+git+20180219+bba1761737-7) ...
Selecting previously unselected package node-is-plain-obj.
Preparing to unpack .../080-node-is-plain-obj_3.0.0-2_all.deb ...
Unpacking node-is-plain-obj (3.0.0-2) ...
Selecting previously unselected package node-is-buffer.
Preparing to unpack .../081-node-is-buffer_2.0.5-2_all.deb ...
Unpacking node-is-buffer (2.0.5-2) ...
Selecting previously unselected package node-kind-of.
Preparing to unpack .../082-node-kind-of_6.0.3+dfsg-2_all.deb ...
Unpacking node-kind-of (6.0.3+dfsg-2) ...
Selecting previously unselected package node-minimist.
Preparing to unpack .../083-node-minimist_1.2.5+~cs5.3.2-1_all.deb ...
Unpacking node-minimist (1.2.5+~cs5.3.2-1) ...
Selecting previously unselected package node-cssom.
Preparing to unpack .../084-node-cssom_0.4.4-3_all.deb ...
Unpacking node-cssom (0.4.4-3) ...
Selecting previously unselected package node-cssstyle.
Preparing to unpack .../085-node-cssstyle_2.3.0-2_all.deb ...
Unpacking node-cssstyle (2.3.0-2) ...
Selecting previously unselected package node-delayed-stream.
Preparing to unpack .../086-node-delayed-stream_1.0.0-5_all.deb ...
Unpacking node-delayed-stream (1.0.0-5) ...
Selecting previously unselected package node-combined-stream.
Preparing to unpack .../087-node-combined-stream_1.0.8+~1.0.3-1_all.deb ...
Unpacking node-combined-stream (1.0.8+~1.0.3-1) ...
Selecting previously unselected package node-mime.
Preparing to unpack .../088-node-mime_3.0.0+dfsg+~cs3.96.1-1_all.deb ...
Unpacking node-mime (3.0.0+dfsg+~cs3.96.1-1) ...
Selecting previously unselected package node-mime-types.
Preparing to unpack .../089-node-mime-types_2.1.33-1_all.deb ...
Unpacking node-mime-types (2.1.33-1) ...
Selecting previously unselected package node-form-data.
Preparing to unpack .../090-node-form-data_3.0.1-1_all.deb ...
Unpacking node-form-data (3.0.1-1) ...
Selecting previously unselected package node-events.
Preparing to unpack .../091-node-events_3.3.0+~3.0.0-2_all.deb ...
Unpacking node-events (3.3.0+~3.0.0-2) ...
Selecting previously unselected package node-https-proxy-agent.
Preparing to unpack .../092-node-https-proxy-agent_5.0.0+~cs8.0.0-3_all.deb ...
Unpacking node-https-proxy-agent (5.0.0+~cs8.0.0-3) ...
Selecting previously unselected package node-iconv-lite.
Preparing to unpack .../093-node-iconv-lite_0.6.3-2_all.deb ...
Unpacking node-iconv-lite (0.6.3-2) ...
Selecting previously unselected package node-lodash-packages.
Preparing to unpack .../094-node-lodash-packages_4.17.21+dfsg+~cs8.31.198.20210220-5_all.deb ...
Unpacking node-lodash-packages (4.17.21+dfsg+~cs8.31.198.20210220-5) ...
Selecting previously unselected package node-stealthy-require.
Preparing to unpack .../095-node-stealthy-require_1.1.1-5_all.deb ...
Unpacking node-stealthy-require (1.1.1-5) ...
Selecting previously unselected package node-punycode.
Preparing to unpack .../096-node-punycode_2.1.1-5_all.deb ...
Unpacking node-punycode (2.1.1-5) ...
Selecting previously unselected package node-psl.
Preparing to unpack .../097-node-psl_1.8.0+ds-6_all.deb ...
Unpacking node-psl (1.8.0+ds-6) ...
Selecting previously unselected package node-universalify.
Preparing to unpack .../098-node-universalify_2.0.0-3_all.deb ...
Unpacking node-universalify (2.0.0-3) ...
Selecting previously unselected package node-tough-cookie.
Preparing to unpack .../099-node-tough-cookie_4.0.0-2_all.deb ...
Unpacking node-tough-cookie (4.0.0-2) ...
Selecting previously unselected package node-webidl-conversions.
Preparing to unpack .../100-node-webidl-conversions_7.0.0~1.1.0+~cs15.1.20180823-2_all.deb ...
Unpacking node-webidl-conversions (7.0.0~1.1.0+~cs15.1.20180823-2) ...
Selecting previously unselected package node-commander.
Preparing to unpack .../101-node-commander_9.0.0-2_all.deb ...
Unpacking node-commander (9.0.0-2) ...
Selecting previously unselected package node-mute-stream.
Preparing to unpack .../102-node-mute-stream_0.0.8+~0.0.1-1_all.deb ...
Unpacking node-mute-stream (0.0.8+~0.0.1-1) ...
Selecting previously unselected package node-read.
Preparing to unpack .../103-node-read_1.0.7-3_all.deb ...
Unpacking node-read (1.0.7-3) ...
Selecting previously unselected package node-ws.
Preparing to unpack .../104-node-ws_8.5.0+~cs13.3.3-2_all.deb ...
Unpacking node-ws (8.5.0+~cs13.3.3-2) ...
Selecting previously unselected package node-jsdom.
Preparing to unpack .../105-node-jsdom_19.0.0+~cs90.11.27-1_all.deb ...
Unpacking node-jsdom (19.0.0+~cs90.11.27-1) ...
Selecting previously unselected package node-fetch.
Preparing to unpack .../106-node-fetch_2.6.7+~2.5.12-1_all.deb ...
Unpacking node-fetch (2.6.7+~2.5.12-1) ...
Selecting previously unselected package node-coveralls.
Preparing to unpack .../107-node-coveralls_3.1.1-1_all.deb ...
Unpacking node-coveralls (3.1.1-1) ...
Selecting previously unselected package node-mimic-response.
Preparing to unpack .../108-node-mimic-response_3.1.0-7_all.deb ...
Unpacking node-mimic-response (3.1.0-7) ...
Selecting previously unselected package node-decompress-response.
Preparing to unpack .../109-node-decompress-response_6.0.0-2_all.deb ...
Unpacking node-decompress-response (6.0.0-2) ...
Selecting previously unselected package node-diff.
Preparing to unpack .../110-node-diff_5.0.0~dfsg+~5.0.1-3_all.deb ...
Unpacking node-diff (5.0.0~dfsg+~5.0.1-3) ...
Selecting previously unselected package node-err-code.
Preparing to unpack .../111-node-err-code_2.0.3+dfsg-3_all.deb ...
Unpacking node-err-code (2.0.3+dfsg-3) ...
Selecting previously unselected package node-time-stamp.
Preparing to unpack .../112-node-time-stamp_2.2.0-1_all.deb ...
Unpacking node-time-stamp (2.2.0-1) ...
Selecting previously unselected package node-fancy-log.
Preparing to unpack .../113-node-fancy-log_1.3.3+~cs1.3.1-2_all.deb ...
Unpacking node-fancy-log (1.3.3+~cs1.3.1-2) ...
Selecting previously unselected package node-signal-exit.
Preparing to unpack .../114-node-signal-exit_3.0.6+~3.0.1-1_all.deb ...
Unpacking node-signal-exit (3.0.6+~3.0.1-1) ...
Selecting previously unselected package node-foreground-child.
Preparing to unpack .../115-node-foreground-child_2.0.0-3_all.deb ...
Unpacking node-foreground-child (2.0.0-3) ...
Selecting previously unselected package node-function-bind.
Preparing to unpack .../116-node-function-bind_1.1.1+repacked+~1.0.3-1_all.deb ...
Unpacking node-function-bind (1.1.1+repacked+~1.0.3-1) ...
Selecting previously unselected package node-has-unicode.
Preparing to unpack .../117-node-has-unicode_2.0.1-4_all.deb ...
Unpacking node-has-unicode (2.0.1-4) ...
Selecting previously unselected package node-ansi-styles.
Preparing to unpack .../118-node-ansi-styles_4.3.0+~4.2.0-1_all.deb ...
Unpacking node-ansi-styles (4.3.0+~4.2.0-1) ...
Selecting previously unselected package node-slice-ansi.
Preparing to unpack .../119-node-slice-ansi_5.0.0+~cs9.0.0-4_all.deb ...
Unpacking node-slice-ansi (5.0.0+~cs9.0.0-4) ...
Selecting previously unselected package node-string-width.
Preparing to unpack .../120-node-string-width_4.2.3+~cs13.2.3-1_all.deb ...
Unpacking node-string-width (4.2.3+~cs13.2.3-1) ...
Selecting previously unselected package node-wide-align.
Preparing to unpack .../121-node-wide-align_1.1.3-4_all.deb ...
Unpacking node-wide-align (1.1.3-4) ...
Selecting previously unselected package node-gauge.
Preparing to unpack .../122-node-gauge_4.0.2-1_all.deb ...
Unpacking node-gauge (4.0.2-1) ...
Selecting previously unselected package node-end-of-stream.
Preparing to unpack .../123-node-end-of-stream_1.4.4+~1.4.1-1_all.deb ...
Unpacking node-end-of-stream (1.4.4+~1.4.1-1) ...
Selecting previously unselected package node-pump.
Preparing to unpack .../124-node-pump_3.0.0-5_all.deb ...
Unpacking node-pump (3.0.0-5) ...
Selecting previously unselected package node-get-stream.
Preparing to unpack .../125-node-get-stream_6.0.1-1_all.deb ...
Unpacking node-get-stream (6.0.1-1) ...
Selecting previously unselected package node-lowercase-keys.
Preparing to unpack .../126-node-lowercase-keys_2.0.0-2_all.deb ...
Unpacking node-lowercase-keys (2.0.0-2) ...
Selecting previously unselected package node-json-buffer.
Preparing to unpack .../127-node-json-buffer_3.0.1-1_all.deb ...
Unpacking node-json-buffer (3.0.1-1) ...
Selecting previously unselected package node-p-cancelable.
Preparing to unpack .../128-node-p-cancelable_2.1.1-1_all.deb ...
Unpacking node-p-cancelable (2.1.1-1) ...
Selecting previously unselected package node-quick-lru.
Preparing to unpack .../129-node-quick-lru_5.1.1-1_all.deb ...
Unpacking node-quick-lru (5.1.1-1) ...
Selecting previously unselected package node-got.
Preparing to unpack .../130-node-got_11.8.3+~cs58.7.37-1_all.deb ...
Unpacking node-got (11.8.3+~cs58.7.37-1) ...
Selecting previously unselected package node-has-flag.
Preparing to unpack .../131-node-has-flag_4.0.0-2_all.deb ...
Unpacking node-has-flag (4.0.0-2) ...
Selecting previously unselected package node-hosted-git-info.
Preparing to unpack .../132-node-hosted-git-info_4.0.2-1_all.deb ...
Unpacking node-hosted-git-info (4.0.2-1) ...
Selecting previously unselected package node-ip.
Preparing to unpack .../133-node-ip_1.1.5+~1.1.0-1_all.deb ...
Unpacking node-ip (1.1.5+~1.1.0-1) ...
Selecting previously unselected package node-ip-regex.
Preparing to unpack .../134-node-ip-regex_4.3.0+~4.1.1-1_all.deb ...
Unpacking node-ip-regex (4.3.0+~4.1.1-1) ...
Selecting previously unselected package node-is-typedarray.
Preparing to unpack .../135-node-is-typedarray_1.0.0-4_all.deb ...
Unpacking node-is-typedarray (1.0.0-4) ...
Selecting previously unselected package node-isexe.
Preparing to unpack .../136-node-isexe_2.0.0+~2.0.1-4_all.deb ...
Unpacking node-isexe (2.0.0+~2.0.1-4) ...
Selecting previously unselected package node-json-parse-better-errors.
Preparing to unpack .../137-node-json-parse-better-errors_1.0.2+~cs3.3.1-1_all.deb ...
Unpacking node-json-parse-better-errors (1.0.2+~cs3.3.1-1) ...
Selecting previously unselected package node-encoding.
Preparing to unpack .../138-node-encoding_0.1.13-2_all.deb ...
Unpacking node-encoding (0.1.13-2) ...
Selecting previously unselected package node-jsonparse.
Preparing to unpack .../139-node-jsonparse_1.3.1-10_all.deb ...
Unpacking node-jsonparse (1.3.1-10) ...
Selecting previously unselected package node-minipass.
Preparing to unpack .../140-node-minipass_3.1.6+~cs8.7.18-1_all.deb ...
Unpacking node-minipass (3.1.6+~cs8.7.18-1) ...
Selecting previously unselected package node-npm-bundled.
Preparing to unpack .../141-node-npm-bundled_1.1.2-1_all.deb ...
Unpacking node-npm-bundled (1.1.2-1) ...
Selecting previously unselected package node-osenv.
Preparing to unpack .../142-node-osenv_0.1.5+~0.1.0-1_all.deb ...
Unpacking node-osenv (0.1.5+~0.1.0-1) ...
Selecting previously unselected package node-validate-npm-package-name.
Preparing to unpack .../143-node-validate-npm-package-name_3.0.0-4_all.deb ...
Unpacking node-validate-npm-package-name (3.0.0-4) ...
Selecting previously unselected package node-npm-package-arg.
Preparing to unpack .../144-node-npm-package-arg_8.1.5-1_all.deb ...
Unpacking node-npm-package-arg (8.1.5-1) ...
Selecting previously unselected package node-object-assign.
Preparing to unpack .../145-node-object-assign_4.1.1-6_all.deb ...
Unpacking node-object-assign (4.1.1-6) ...
Selecting previously unselected package node-opener.
Preparing to unpack .../146-node-opener_1.5.2+~1.4.0-1_all.deb ...
Unpacking node-opener (1.5.2+~1.4.0-1) ...
Selecting previously unselected package node-retry.
Preparing to unpack .../147-node-retry_0.13.1+~0.12.1-1_all.deb ...
Unpacking node-retry (0.13.1+~0.12.1-1) ...
Selecting previously unselected package node-promise-retry.
Preparing to unpack .../148-node-promise-retry_2.0.1-2_all.deb ...
Unpacking node-promise-retry (2.0.1-2) ...
Selecting previously unselected package node-promzard.
Preparing to unpack .../149-node-promzard_0.3.0-2_all.deb ...
Unpacking node-promzard (0.3.0-2) ...
Selecting previously unselected package node-set-blocking.
Preparing to unpack .../150-node-set-blocking_2.0.0-2_all.deb ...
Unpacking node-set-blocking (2.0.0-2) ...
Selecting previously unselected package node-slash.
Preparing to unpack .../151-node-slash_3.0.0-2_all.deb ...
Unpacking node-slash (3.0.0-2) ...
Selecting previously unselected package libjs-source-map.
Preparing to unpack .../152-libjs-source-map_0.7.0++dfsg2+really.0.6.1-9_all.deb ...
Unpacking libjs-source-map (0.7.0++dfsg2+really.0.6.1-9) ...
Selecting previously unselected package node-source-map.
Preparing to unpack .../153-node-source-map_0.7.0++dfsg2+really.0.6.1-9_all.deb ...
Unpacking node-source-map (0.7.0++dfsg2+really.0.6.1-9) ...
Selecting previously unselected package node-source-map-support.
Preparing to unpack .../154-node-source-map-support_0.5.21+ds+~0.5.4-1_all.deb ...
Unpacking node-source-map-support (0.5.21+ds+~0.5.4-1) ...
Selecting previously unselected package node-spdx-license-ids.
Preparing to unpack .../155-node-spdx-license-ids_3.0.11-1_all.deb ...
Unpacking node-spdx-license-ids (3.0.11-1) ...
Selecting previously unselected package node-spdx-exceptions.
Preparing to unpack .../156-node-spdx-exceptions_2.3.0-2_all.deb ...
Unpacking node-spdx-exceptions (2.3.0-2) ...
Selecting previously unselected package node-spdx-expression-parse.
Preparing to unpack .../157-node-spdx-expression-parse_3.0.1+~3.0.1-1_all.deb ...
Unpacking node-spdx-expression-parse (3.0.1+~3.0.1-1) ...
Selecting previously unselected package node-spdx-correct.
Preparing to unpack .../158-node-spdx-correct_3.1.1-2_all.deb ...
Unpacking node-spdx-correct (3.1.1-2) ...
Selecting previously unselected package node-stack-utils.
Preparing to unpack .../159-node-stack-utils_2.0.5+~2.0.1-1_all.deb ...
Unpacking node-stack-utils (2.0.5+~2.0.1-1) ...
Selecting previously unselected package node-supports-color.
Preparing to unpack .../160-node-supports-color_8.1.1+~8.1.1-1_all.deb ...
Unpacking node-supports-color (8.1.1+~8.1.1-1) ...
Selecting previously unselected package node-tap-parser.
Preparing to unpack .../161-node-tap-parser_7.0.0+ds1-6_all.deb ...
Unpacking node-tap-parser (7.0.0+ds1-6) ...
Selecting previously unselected package node-tap-mocha-reporter.
Preparing to unpack .../162-node-tap-mocha-reporter_3.0.7+ds-2_all.deb ...
Unpacking node-tap-mocha-reporter (3.0.7+ds-2) ...
Selecting previously unselected package node-text-table.
Preparing to unpack .../163-node-text-table_0.2.0-4_all.deb ...
Unpacking node-text-table (0.2.0-4) ...
Selecting previously unselected package node-tmatch.
Preparing to unpack .../164-node-tmatch_5.0.0-4_all.deb ...
Unpacking node-tmatch (5.0.0-4) ...
Selecting previously unselected package node-typedarray-to-buffer.
Preparing to unpack .../165-node-typedarray-to-buffer_4.0.0-2_all.deb ...
Unpacking node-typedarray-to-buffer (4.0.0-2) ...
Selecting previously unselected package node-validate-npm-package-license.
Preparing to unpack .../166-node-validate-npm-package-license_3.0.4-2_all.deb ...
Unpacking node-validate-npm-package-license (3.0.4-2) ...
Selecting previously unselected package node-whatwg-fetch.
Preparing to unpack .../167-node-whatwg-fetch_3.6.2-5_all.deb ...
Unpacking node-whatwg-fetch (3.6.2-5) ...
Selecting previously unselected package node-write-file-atomic.
Preparing to unpack .../168-node-write-file-atomic_3.0.3+~3.0.2-1_all.deb ...
Unpacking node-write-file-atomic (3.0.3+~3.0.2-1) ...
Selecting previously unselected package nodejs-doc.
Preparing to unpack .../169-nodejs-doc_12.22.9~dfsg-1ubuntu3_all.deb ...
Unpacking nodejs-doc (12.22.9~dfsg-1ubuntu3) ...
Selecting previously unselected package node-abbrev.
Preparing to unpack .../170-node-abbrev_1.1.1+~1.1.2-1_all.deb ...
Unpacking node-abbrev (1.1.1+~1.1.2-1) ...
Selecting previously unselected package node-archy.
Preparing to unpack .../171-node-archy_1.0.0-4_all.deb ...
Unpacking node-archy (1.0.0-4) ...
Selecting previously unselected package node-chalk.
Preparing to unpack .../172-node-chalk_4.1.2-1_all.deb ...
Unpacking node-chalk (4.1.2-1) ...
Selecting previously unselected package node-cli-table.
Preparing to unpack .../173-node-cli-table_0.3.11+~cs0.13.3-1_all.deb ...
Unpacking node-cli-table (0.3.11+~cs0.13.3-1) ...
Selecting previously unselected package node-depd.
Preparing to unpack .../174-node-depd_2.0.0-2_all.deb ...
Unpacking node-depd (2.0.0-2) ...
Selecting previously unselected package node-nopt.
Preparing to unpack .../175-node-nopt_5.0.0-2_all.deb ...
Unpacking node-nopt (5.0.0-2) ...
Selecting previously unselected package node-npmlog.
Preparing to unpack .../176-node-npmlog_6.0.1+~4.1.4-1_all.deb ...
Unpacking node-npmlog (6.0.1+~4.1.4-1) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../177-node-tar_6.1.11+ds1+~cs6.0.6-1_all.deb ...
Unpacking node-tar (6.1.11+ds1+~cs6.0.6-1) ...
Selecting previously unselected package node-which.
Preparing to unpack .../178-node-which_2.0.2+~cs1.3.2-2_all.deb ...
Unpacking node-which (2.0.2+~cs1.3.2-2) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../179-node-gyp_8.4.1-1_all.deb ...
Unpacking node-gyp (8.4.1-1) ...
Selecting previously unselected package node-ini.
Preparing to unpack .../180-node-ini_2.0.1-1_all.deb ...
Unpacking node-ini (2.0.1-1) ...
Selecting previously unselected package node-negotiator.
Preparing to unpack .../181-node-negotiator_0.6.2+~0.6.1-1_all.deb ...
Unpacking node-negotiator (0.6.2+~0.6.1-1) ...
Selecting previously unselected package node-resolve.
Preparing to unpack .../182-node-resolve_1.20.0+~cs5.27.9-1_all.deb ...
Unpacking node-resolve (1.20.0+~cs5.27.9-1) ...
Selecting previously unselected package node-normalize-package-data.
Preparing to unpack .../183-node-normalize-package-data_3.0.3+~2.4.1-1_all.deb ...
Unpacking node-normalize-package-data (3.0.3+~2.4.1-1) ...
Selecting previously unselected package node-read-package-json.
Preparing to unpack .../184-node-read-package-json_4.1.1-1_all.deb ...
Unpacking node-read-package-json (4.1.1-1) ...
Selecting previously unselected package node-tap.
Preparing to unpack .../185-node-tap_12.0.1+ds-4_all.deb ...
Unpacking node-tap (12.0.1+ds-4) ...
Selecting previously unselected package npm.
Preparing to unpack .../186-npm_8.5.1~ds-1_all.deb ...
Unpacking npm (8.5.1~ds-1) ...
Setting up node-delayed-stream (1.0.0-5) ...
Setting up libuv1-dev:amd64 (1.43.0-1) ...
Setting up node-fs.realpath (1.0.0-2) ...
Setting up node-diff (5.0.0~dfsg+~5.0.1-3) ...
Setting up node-abbrev (1.1.1+~1.1.2-1) ...
Setting up libjs-sprintf-js (1.1.2+ds1+~1.1.2-1) ...
Setting up node-yallist (4.0.0+~4.0.1-1) ...
Setting up libjs-inherits (2.0.4-4) ...
Setting up node-p-cancelable (2.1.1-1) ...
Setting up node-ansi-regex (5.0.1-1) ...
Setting up node-slash (3.0.0-2) ...
Setting up node-util-deprecate (1.0.2-3) ...
Setting up node-retry (0.13.1+~0.12.1-1) ...
Setting up node-arrify (2.0.1-2) ...
Setting up node-ansistyles (0.1.3-5) ...
Setting up node-delegates (1.0.0-3) ...
Setting up node-depd (2.0.0-2) ...
Setting up node-isexe (2.0.0+~2.0.1-4) ...
Setting up node-jsonparse (1.3.1-10) ...
Setting up node-escape-string-regexp (4.0.0-2) ...
Setting up libjs-source-map (0.7.0++dfsg2+really.0.6.1-9) ...
Setting up node-negotiator (0.6.2+~0.6.1-1) ...
Setting up node-color-name (1.1.4+~1.1.1-2) ...
Setting up node-growl (1.10.5-4) ...
Setting up libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.1) ...
Setting up node-indent-string (4.0.0-2) ...
Setting up libnode72:amd64 (12.22.9~dfsg-1ubuntu3) ...
Setting up node-function-bind (1.1.1+repacked+~1.0.3-1) ...
Setting up node-p-map (4.0.0+~3.1.0+~3.0.1-1) ...
Setting up node-iferr (1.0.2+~1.0.2-1) ...
Setting up node-chownr (2.0.0-1) ...
Setting up node-has-flag (4.0.0-2) ...
Setting up node-lodash-packages (4.17.21+dfsg+~cs8.31.198.20210220-5) ...
Setting up libjs-psl (1.8.0+ds-6) ...
Setting up node-asap (2.0.6+~2.0.0-1) ...
Setting up node-inherits (2.0.4-4) ...
Setting up node-path-is-absolute (2.0.0-2) ...
Setting up node-universalify (2.0.0-3) ...
Setting up node-ini (2.0.1-1) ...
Setting up node-safe-buffer (5.2.1+~cs2.1.2-2) ...
Setting up node-promise-inflight (1.0.1+~1.0.0-1) ...
Setting up node-json-parse-better-errors (1.0.2+~cs3.3.1-1) ...
Setting up node-sprintf-js (1.1.2+ds1+~1.1.2-1) ...
Setting up node-tmatch (5.0.0-4) ...
Setting up node-err-code (2.0.3+dfsg-3) ...
Setting up node-balanced-match (2.0.0-1) ...
Setting up node-brace-expansion (2.0.1-1) ...
Setting up node-spdx-exceptions (2.3.0-2) ...
Setting up node-set-blocking (2.0.0-2) ...
Setting up node-npm-bundled (1.1.2-1) ...
Setting up node-signal-exit (3.0.6+~3.0.1-1) ...
Setting up node-source-map (0.7.0++dfsg2+really.0.6.1-9) ...
Setting up node-wrappy (1.0.2-2) ...
Setting up node-text-table (0.2.0-4) ...
Setting up node-asynckit (0.4.0-4) ...
Setting up node-ip (1.1.5+~1.1.0-1) ...
Setting up node-quick-lru (5.1.1-1) ...
Setting up node-mute-stream (0.0.8+~0.0.1-1) ...
Setting up node-mimic-response (3.1.0-7) ...
Setting up node-commander (9.0.0-2) ...
Setting up node-whatwg-fetch (3.6.2-5) ...
Setting up libjs-typedarray-to-buffer (4.0.0-2) ...
Setting up libjs-highlight.js (9.18.5+dfsg1-1) ...
Setting up node-clean-yaml-object (0.1.0-5) ...
Setting up node-ip-regex (4.3.0+~4.1.1-1) ...
Setting up node-stealthy-require (1.1.1-5) ...
Setting up node-spdx-license-ids (3.0.11-1) ...
Setting up node-string-decoder (1.3.0-5) ...
Setting up node-time-stamp (2.2.0-1) ...
Setting up libjs-events (3.3.0+~3.0.0-2) ...
Setting up node-core-util-is (1.0.3-1) ...
Setting up node-minimatch (3.1.1+~3.0.5-1) ...
Setting up node-imurmurhash (0.1.4+dfsg+~0.1.1-1) ...
Setting up node-foreground-child (2.0.0-3) ...
Setting up node-read (1.0.7-3) ...
Setting up node-is-buffer (2.0.5-2) ...
Setting up node-color-convert (2.0.1-1) ...
Setting up node-webidl-conversions (7.0.0~1.1.0+~cs15.1.20180823-2) ...
Setting up node-isarray (2.0.5-3) ...
Setting up node-osenv (0.1.5+~0.1.0-1) ...
Setting up node-is-plain-obj (3.0.0-2) ...
Setting up libjs-is-typedarray (1.0.0-4) ...
Setting up node-lowercase-keys (2.0.0-2) ...
Setting up node-decompress-response (6.0.0-2) ...
Setting up node-process-nextick-args (2.0.1-2) ...
Setting up node-has-unicode (2.0.1-4) ...
Setting up gyp (0.1+20210831gitd6c5dd5-5) ...
Setting up node-readable-stream (3.6.0+~cs3.0.0-1) ...
Setting up node-lru-cache (6.0.0+~5.1.1-1) ...
Setting up node-promise-retry (2.0.1-2) ...
Setting up node-supports-color (8.1.1+~8.1.1-1) ...
Setting up node-once (1.4.0-4) ...
Setting up libnode-dev (12.22.9~dfsg-1ubuntu3) ...
Setting up node-resolve (1.20.0+~cs5.27.9-1) ...
Setting up node-are-we-there-yet (3.0.0+~1.1.0-1) ...
Setting up node-kind-of (6.0.3+dfsg-2) ...
Setting up nodejs (12.22.9~dfsg-1ubuntu3) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Setting up node-minimist (1.2.5+~cs5.3.2-1) ...
Setting up node-abab (2.0.5-2) ...
Setting up node-argparse (2.0.1-2) ...
Setting up node-fancy-log (1.3.3+~cs1.3.1-2) ...
Setting up node-clone (2.1.2-3) ...
Setting up node-promzard (0.3.0-2) ...
Setting up node-mime (3.0.0+dfsg+~cs3.96.1-1) ...
Setting up node-source-map-support (0.5.21+ds+~0.5.4-1) ...
Setting up node-iconv-lite (0.6.3-2) ...
Setting up node-combined-stream (1.0.8+~1.0.3-1) ...
Setting up node-unique-filename (1.1.1+ds-1) ...
Setting up node-ansi-styles (4.3.0+~4.2.0-1) ...
Setting up node-mime-types (2.1.33-1) ...
Setting up node-lcov-parse (1.0.0+20170612git80d039574ed9-5) ...
Setting up node-cssom (0.4.4-3) ...
Setting up node-form-data (3.0.1-1) ...
Setting up node-strip-ansi (6.0.1-1) ...
Setting up node-chalk (4.1.2-1) ...
Setting up node-spdx-expression-parse (3.0.1+~3.0.1-1) ...
Setting up node-which (2.0.2+~cs1.3.2-2) ...
Setting up nodejs-doc (12.22.9~dfsg-1ubuntu3) ...
Setting up node-punycode (2.1.1-5) ...
Setting up node-defaults (1.0.3+~1.0.3-1) ...
Setting up node-is-typedarray (1.0.0-4) ...
Setting up node-graceful-fs (4.2.4+repack-1) ...
Setting up node-inflight (1.0.6-2) ...
Setting up node-hosted-git-info (4.0.2-1) ...
Setting up node-aproba (2.0.0-2) ...
Setting up node-esprima (4.0.1+ds+~4.0.3-2) ...
Setting up node-mkdirp (1.0.4+~1.0.2-1) ...
Setting up node-run-queue (2.0.0-2) ...
Setting up node-opener (1.5.2+~1.4.0-1) ...
Setting up node-archy (1.0.0-4) ...
Setting up node-encoding (0.1.13-2) ...
Setting up node-js-yaml (4.1.0+dfsg+~4.0.5-6) ...
Setting up node-nopt (5.0.0-2) ...
Setting up node-slice-ansi (5.0.0+~cs9.0.0-4) ...
Setting up node-ms (2.1.3+~cs0.7.31-2) ...
Setting up node-semver (7.3.5+~7.3.8-1) ...
Setting up node-fs-write-stream-atomic (1.0.10-5) ...
Setting up node-builtins (4.0.0-1) ...
Setting up node-colors (1.4.0-3) ...
Setting up node-log-driver (1.2.7+git+20180219+bba1761737-7) ...
Setting up node-ssri (8.0.1-2) ...
Setting up node-object-assign (4.1.1-6) ...
Setting up node-end-of-stream (1.4.4+~1.4.1-1) ...
Setting up node-pump (3.0.0-5) ...
Setting up node-psl (1.8.0+ds-6) ...
Setting up node-stack-utils (2.0.5+~2.0.1-1) ...
Setting up node-json-buffer (3.0.1-1) ...
Setting up node-console-control-strings (1.1.0-2) ...
Setting up node-debug (4.3.2+~cs4.1.7-1) ...
Setting up node-events (3.3.0+~3.0.0-2) ...
Setting up node-agent-base (6.0.2+~cs5.4.2-1) ...
Setting up node-validate-npm-package-name (3.0.0-4) ...
Setting up node-wcwidth.js (1.0.2-1) ...
Setting up node-cssstyle (2.3.0-2) ...
Setting up node-spdx-correct (3.1.1-2) ...
Setting up node-glob (7.2.1+~cs7.6.15-1) ...
Setting up node-get-stream (6.0.1-1) ...
Setting up node-got (11.8.3+~cs58.7.37-1) ...
Setting up node-typedarray-to-buffer (4.0.0-2) ...
Setting up node-tap-parser (7.0.0+ds1-6) ...
Setting up node-minipass (3.1.6+~cs8.7.18-1) ...
Setting up node-tough-cookie (4.0.0-2) ...
Setting up node-npm-package-arg (8.1.5-1) ...
Setting up node-https-proxy-agent (5.0.0+~cs8.0.0-3) ...
Setting up node-rimraf (3.0.2-1) ...
Setting up node-string-width (4.2.3+~cs13.2.3-1) ...
Setting up node-validate-npm-package-license (3.0.4-2) ...
Setting up node-write-file-atomic (3.0.3+~3.0.2-1) ...
Setting up node-columnify (1.5.4+~1.5.1-1) ...
Setting up node-copy-concurrently (1.0.5-8) ...
Setting up node-move-concurrently (1.0.1-4) ...
Setting up node-tap-mocha-reporter (3.0.7+ds-2) ...
Setting up node-normalize-package-data (3.0.3+~2.4.1-1) ...
Setting up node-ws (8.5.0+~cs13.3.3-2) ...
Setting up node-cli-table (0.3.11+~cs0.13.3-1) ...
Setting up node-jsdom (19.0.0+~cs90.11.27-1) ...
Setting up node-tar (6.1.11+ds1+~cs6.0.6-1) ...
Setting up node-wide-align (1.1.3-4) ...
Setting up node-tap (12.0.1+ds-4) ...
Setting up node-cacache (15.0.5+~cs13.9.21-3) ...
Setting up node-read-package-json (4.1.1-1) ...
Setting up node-fetch (2.6.7+~2.5.12-1) ...
Setting up node-gauge (4.0.2-1) ...
Setting up node-npmlog (6.0.1+~4.1.4-1) ...
Setting up node-coveralls (3.1.1-1) ...
Setting up node-gyp (8.4.1-1) ...
Setting up npm (8.5.1~ds-1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
user1@ubuntu22042:~$ 


檢查版本

user1@ubuntu22042:~$ npm version   
{
  npm: '8.5.1',
  node: '12.22.9',
  v8: '7.8.279.23-node.56',
  uv: '1.43.0',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.18.1',
  modules: '72',
  nghttp2: '1.43.0',
  napi: '8',
  llhttp: '2.1.4',
  http_parser: '2.9.4',
  openssl: '1.1.1m',
  cldr: '40.0',
  icu: '70.1',
  tz: '2022g',
  unicode: '14.0'
}
user1@ubuntu22042:~$

檢查版本

user1@ubuntu22042:~$ nodejs
Welcome to Node.js v12.22.9.
Type ".help" for more information.
> .exit
user1@ubuntu22042:~$ 

(完)

相關

[研究]Node.js 12.22.9 和 npm 8.5.1 安裝 (Ubuntu 22.04.2 LTS)
https://shaurong.blogspot.com/2023/03/nodejs-12229-npm-851-ubuntu-22042-lts.html

[研究]Node.js 18.x 和 npm 9.5.0 安裝 (Rcoky Linux 9.1)
https://shaurong.blogspot.com/2023/03/nodejs-18x-rcoky-linux-91.html