Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Strange characters in the output when upgrading pkgx from 1.2.2 to 2.7.0

Đang mở
#1,179 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
cli

Hướng nghiên cứu

Reproduce the install script and pkgx pkgx^1 deintegrate under WSL 2 / Ubuntu 20.04.6, then compare their terminal output with pkgx node --version, which does not show the problem. Done means the commands complete without garbled characters or escape sequences while installation remains successful.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The environement is WSL 2 / Ubuntu 20.04.6

Today my old version (1.2.2) pkgx doesn't work anymore, always with the error (I didn't save all the error message, but only this one):
no such table: provides.

And I try to upgrade it to the latest version (2.7.0).

I ran the command
curl https://pkgx.sh | sh and I got many strange caracters that I don't know what happened. Something like this:

1.85s ââ¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯                                                                                                              â629.75 KiB



^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?1;0c^[[?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;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c1;0c

And the 2.7.0 version is well installed. When I run the install script again, it's

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3485  100  3485    0     0   1797      0  0:00:01  0:00:01 --:--:--  1796
/usr/local/bin/pkgx 2.7.0 already installed
/usr/local/bin/pkgm 0.11.1 already installed

And I have the similar output when I run pkgx pkgx^1 deintegrate.

But the installation seems OK, I run pkgx node --version with no problem, and no strange output.

Ngôn ngữ chính
Rust
Star
9.9k
Fork
1.4k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pkgxdev/pkgx

Tất cả issue của pkgxdev/pkgx

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.