Lâu nay khi upgrade ubuntu lên bản mới hơn, mình hay dùng lệnh do-release-upgrade
. Tuy nhiên, hôm nay chạy lệnh này trong wsl thì gặp lỗi Command terminated with exit status 1
. Sau một hồi loay hoay tìm kiếm thì biết thêm được một cách để upgrade là chỉnh sửa các file sources.list:
|
|
Link này giải thích tại sao không nên dùng lệnh do-release-upgrade
.
https://github.com/microsoft/WSL/issues/7054#issuecomment-859875805