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

Updating held packages has great consequences

Đang mở
#1,102 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, python
Lĩnh vực
devops

Hướng nghiên cứu

Start by tracing how mintupdate handles held packages when installing upgrades; the issue names no source files or tests. Use the supplied apt history to identify the transaction behavior and determine why unrelated packages were removed. Done means held packages can be updated without removing unrelated system packages, with a test covering the reported case.

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

Mô tả

I do not know if this happens to every held package, but I will tell you what happened to my system. I held systemd with apt-mark hold, and some days later, I updated it with mintupdate. Then, when I rebooted, I was met with errors. Almost—or maybe all of—my system was removed. I just want this to be fixed, so that nobody falls victim to this. I will reinstall anyway.If it helps, here is a segment from /var/log/apt/history.log.1.gz ("Remove:" is on the third line) :

Start-Date: 2026-03-28 12:04:43 Commandline: aptkit role='role-install-packages' sender=':1.101' Upgrade: libnss-myhostname:amd64 (255.4-1ubuntu8.12, 255.4-1ubuntu8.14), libudev1:amd64 (255.4-1ubuntu8.12, 255.4-1ubuntu8.14), libudev1:i386 (255.4-1ubuntu8.12, 255.4-1ubuntu8.14), systemd-dev:amd64 (255.4-1ubuntu8.12, 255.4-1ubuntu8.14) Remove: xserver-xorg-video-nouveau:amd64 (1:1.0.17-2ubuntu0.1), network-manager-openvpn-gnome:amd64 (1.10.2-4build2), initramfs-tools-core:amd64 (0.142ubuntu25.8), winehq-stable:amd64 (11.0.0.0~noble-1), libtss2-esys-3.0.2-0t64:amd64 (4.0.1-7.1ubuntu5.1), udev:amd64 (255.4-1ubuntu8.12), alsa-base:amd64 (1.0.25+dfsg-0ubuntu7), network-manager-openvpn:amd64 (1.10.2-4build2), gnome-power-manager:amd64 (43.0-2build2), libtss2-tcti-cmd0t64:amd64 (4.0.1-7.1ubuntu5.1), sane-utils:amd64 (1.2.1-7build4), casper:amd64 (1.498), libtss2-sys1t64:amd64 (4.0.1-7.1ubuntu5.1), xserver-xorg-video-amdgpu:amd64 (23.0.0-1ubuntu0.24.04.1), network-manager-config-connectivity-ubuntu:amd64 (1.46.0-1ubuntu2.5), xserver-xorg-core:amd64 (2:21.1.12-1ubuntu1.5), rhythmbox-plugin-tray-icon:amd64 (2020.05.21), blueman:amd64 (2.4.4+mint2+xia), nemo-preview:amd64 (6.6.0+zena), bluetooth:amd64 (5.72-0ubuntu5.5), ubuntu-drivers-common:amd64 (1:0.9.7.6ubuntu3.5), colord:amd64 (1.4.7-1build2), dmraid:amd64 (1.0.0.rc16-12ubuntu2), xserver-xorg-input-all:amd64 (1:7.7+23ubuntu3), cinnamon-settings-daemon:amd64 (6.6.3+zena), plymouth-theme-spinner:amd64 (24.004.60-1ubuntu7.1), wine-installer:amd64 (5.0.3), xserver-xorg-video-intel:amd64 (2:2.99.917+git20210115-1build1), udisks2:amd64 (2.10.1-6ubuntu1.3), rhythmbox-plugins:amd64 (3.4.7-2ubuntu6), cinnamon-dbg:amd64 (6.6.7+zena), plymouth-theme-ubuntu-text:amd64 (24.004.60-1ubuntu7.1), nemo-fileroller:amd64 (6.6.0+zena), xserver-xorg:amd64 (1:7.7+23ubuntu3), gvfs-fuse:amd64 (1.54.4-0ubuntu1~24.04.2), brltty:amd64 (6.6-4ubuntu5), wine-stable-i386:i386 (11.0.0.0~noble-1), xserver-xorg-video-vesa:amd64 (1:2.6.0-1ubuntu0.1), network-manager-gnome:amd64 (1.34.0+mint3), rhythmbox:amd64 (3.4.7-2ubuntu6), network-manager-pptp-gnome:amd64 (1.2.12-3build2), xserver-xorg-video-radeon:amd64 (1:22.0.0-1build1), gvfs-backends:amd64 (1.54.4-0ubuntu1~24.04.2), xserver-xorg-video-vmware:amd64 (1:13.4.0-1build1), gvfs:amd64 (1.54.4-0ubuntu1~24.04.2), gvfs-daemons:amd64 (1.54.4-0ubuntu1~24.04.2), gnome-disk-utility:amd64 (46.0-1ubuntu3), network-manager:amd64 (1.46.0-1ubuntu2.5), plymouth:amd64 (24.004.60-1ubuntu7.1), mintdrivers:amd64 (1.8.8), cinnamon:amd64 (6.6.7+zena), mdadm:amd64 (4.3-1ubuntu2.1), cryptsetup-initramfs:amd64 (2:2.7.0-1ubuntu4.2), xserver-xorg-input-libinput:amd64 (1.4.0-1ubuntu24.04.1), systemd-hwe-hwdb:amd64 (255.1.6), xorg:amd64 (1:7.7+23ubuntu3), lightdm:amd64 (1.30.0-0ubuntu14), network-manager-pptp:amd64 (1.2.12-3build2), libtss2-tcti-mssim0t64:amd64 (4.0.1-7.1ubuntu5.1), wine-stable-amd64:amd64 (11.0.0.0~noble-1), hplip:amd64 (3.23.12+dfsg0-0ubuntu5), xserver-xorg-input-wacom:amd64 (1:1.2.0-1ubuntu2), slick-greeter:amd64 (2.2.6+zena), wine-stable:amd64 (11.0.0.0~noble-1), simple-scan:amd64 (46.0-0ubuntu2.1mint1+zena), nemo:amd64 (6.6.3+zena), cinnamon-session:amd64 (6.6.3+zena), netplan.io:amd64 (1.1.2-8ubuntu1~24.04.1), plymouth-label:amd64 (24.004.60-1ubuntu7.1), nemo-dbg:amd64 (6.6.3+zena), initramfs-tools:amd64 (0.142ubuntu25.8), tpm-udev:amd64 (0.6ubuntu1), media-player-info:amd64 (24-3), bluez:amd64 (5.72-0ubuntu5.5), libtss2-tcti-device0t64:amd64 (4.0.1-7.1ubuntu5.1), libsane1:amd64 (1.2.1-7build4), libsane1:i386 (1.2.1-7build4), mint-meta-cinnamon:amd64 (2025.12.15+mint22.3), libtss2-mu-4.0.1-0t64:amd64 (4.0.1-7.1ubuntu5.1), xserver-xorg-video-all:amd64 (1:7.7+23ubuntu3), xserver-xorg-video-ati:amd64 (1:22.0.0-1build1), mint-meta-core:amd64 (2025.12.15+mint22.3), libtss2-tcti-swtpm0t64:amd64 (4.0.1-7.1ubuntu5.1), kpartx:amd64 (0.9.4-5ubuntu8.1), xserver-xorg-video-fbdev:amd64 (1:0.5.0-2build2), kpartx-boot:amd64 (0.9.4-5ubuntu8.1), fwupd:amd64 (1.9.33-0ubuntu1~24.04.1ubuntu1), xserver-xorg-video-qxl:amd64 (0.1.6-1build1), upower:amd64 (1.90.3-1) End-Date: 2026-03-28 12:05:07

Ngôn ngữ chính
Python
Star
424
Fork
191
Merge trung bình
23 ngày 14 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 linuxmint/mintupdate

Tất cả issue của linuxmint/mintupdate

Issue tương tự

Thêm issue về Python

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.