Update Manager reports APT install failure although AptKit finishes transaction
Maintainer thường phản hồi trong vòng 1 ngày
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
- 48/100
Hướng nghiên cứu
Start with the mintUpdate-to-AptKit transaction path described in the issue, then compare the Update Manager log with the AptKit journal sequence. Use the reported apt and dpkg log commands and the successful apt-get simulation as comparison points. Done means the transaction result and actual package state are reconciled, with a specific failure reported instead of the generic Internet-connection message.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
Linux Mint Update Manager successfully refreshes the package information and finds available updates, but the installation fails.
On October 1, 2026, Update Manager successfully refreshed its package information and reported:
2026.10.01@09:02 ++ Refresh finished
2026.10.01@09:02 ++ Found 35 software updates
I selected the updates and requested installation. Update Manager launched AptKit, but approximately seven minutes later reported:
2026.10.01@09:09 -- APT install failed
Update Manager also displayed a generic message telling me to check my Internet connection.
However, the available evidence does not indicate an Internet or repository problem. AptKit reported that the transaction was finished, while the packages remained uninstalled. Command-line APT was subsequently able to successfully simulate the upgrade.
Screenshots
No screenshots currently attached. The relevant information is included in the Update Manager log and system journal below.
Steps to reproduce
- Start Linux Mint Update Manager.
- Allow Update Manager to refresh its package information.
- Update Manager reports that updates are available.
- Select the available updates.
- Click the button to install the updates.
- Authenticate when prompted.
- Wait for the installation to complete.
- Update Manager reports
APT install failed.
The failure occurred on October 1, 2026 at approximately 09:02–09:09 CDT.
The problem has occurred twice on this installation, approximately 18 days apart, although the earlier occurrence had different symptoms.
Expected behavior
The selected updates should be successfully installed after Update Manager reports that the refresh completed successfully.
If the installation actually fails, Update Manager should provide an error identifying the actual failure rather than a generic Internet-connection message when the available evidence does not indicate an Internet problem.
Distribution:
- Linux Mint
- LMDE
- Other (please specify)
Software version:
Linux Mint 22.3 Zena
Update Manager:
mintupdate 7.1.4
Verified with:
dpkg -l mintupdate
Output:
Desired=Unknown/Install/Remove/Purge/Hold
||/ Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
||/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii mintupdate 7.1.4 all The Linux Mint Update Manager
System:
HP ENVY dv6 Notebook PC
Intel Core i7-3630QM
8 GB RAM
Kernel: 7.0.0-31-generic
Logs:
Update Manager > View > Information produced:
2026.10.01@09:01 ++ Launching Update Manager
2026.10.01@09:01 ++ Initial refresh will happen in 0 day(s), 0 hour(s) and 10 minute(s)
2026.10.01@09:01 ++ Inhibited power management
2026.10.01@09:01 ++ Checking for updates
2026.10.01@09:02 ++ Refresh finished
2026.10.01@09:02 ++ Found 35 software updates
2026.10.01@09:02 ++ Resumed power management
2026.10.01@09:02 ++ Tracker: Max days reached: 9 days
2026.10.01@09:02 ++ Tracker: Mintupdate update button was pressed recently: 18 days ago
...
2026.10.01@09:02 ++ Will install [many packages]
...
2026.10.01@09:02 ++ Inhibited power management
2026.10.01@09:02 ++ Install requested by user
2026.10.01@09:02 ++ Ready to launch aptkit
2026.10.01@09:09 -- APT install failed
2026.10.01@09:09 ++ Resumed power management
I also checked the system journal with:
journalctl --since "2026-10-01 09:00" --until "2026-10-01 09:15" | grep -iE "aptkit|apt|dpkg|error|fail|404"
The relevant AptKit sequence was:
09:02:25 dbus activates org.aptkit requested by mintUpdate
09:02:27 AptKit initializes
InstallPackages() called with all packages
AptKit simulates transaction
09:02:28 WARNING: An additional step to open the cache is required
09:02:28 AptKit: Committing packages
09:02:30 transaction queued
09:02:36 user authenticated via polkit
09:02:36 transaction processing
09:02:49 AptKit: Finished transaction
There was no 404, connection, dependency, or other explicit installation error in this journal output.
AptKit subsequently quit because of inactivity:
09:13:27 AptKit quits due to inactivity
After the Update Manager failure, I checked:
uname -r
which returned:
7.0.0-31-generic
I then ran:
apt list --upgradable
The updates that Update Manager had attempted to install were still listed as upgradable, including Firefox, Thunderbird, Xreader, numerous Ubuntu libraries, and kernel packages for 7.0.0-34.
I also checked:
apt-cache policy linux-image-7.0.0-34-generic
which showed:
Installed: (none)
Candidate: 7.0.0-34.34~24.04.1
I then tested command-line APT:
sudo apt-get --simulate upgrade
The simulation completed successfully and reported:
87 packages upgraded
0 newly installed
0 removed
4 not upgraded
There were no APT errors, repository errors, dependency errors, or connection errors.
The simulation ended with:
N: Some packages may have been kept back due to phasing.
I also checked the APT and dpkg logs:
sudo grep -iE "error|fail|404|unable|could not|connection" /var/log/apt/term.log | tail -100
sudo tail -100 /var/log/apt/history.log
sudo tail -100 /var/log/dpkg.log
There was no output indicating an installation error.
Crash report:
Not applicable. Update Manager did not crash.
Additional context
This is the second Update Manager problem I have encountered on this installation.
Approximately 18 days earlier, Update Manager failed with a different symptom: it attempted to retrieve obsolete package versions and received 404 errors, including older versions of Python 3.12, Firefox, and Thunderbird.
That earlier problem was resolved by rebuilding the APT package lists:
sudo apt clean
sudo rm -rf /var/lib/apt/lists/*
sudo apt update
sudo apt upgrade
After that repair, apt update worked normally and the system was successfully upgraded.
The current failure is different. This time Update Manager successfully refreshed its package information, and there are no 404 errors in the logs examined.
The normal APT repositories are configured, and command-line APT is able to calculate the pending upgrade successfully.
I do not know whether the problem is in mintupdate, AptKit, or their interaction.
One potentially relevant message in the AptKit journal was:
WARNING: An additional step to open the cache is required
I do not know whether this warning is related to the failure.
The sequence that seems significant is:
mintUpdate -> AptKit transaction requested
-> transaction processed
-> AptKit: Finished transaction
-> packages remain unchanged
-> mintUpdate: APT install failed
The problem therefore appears to be a discrepancy between the AptKit transaction result reported to Update Manager and the actual package state.
Locale:
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
- Ngôn ngữ chính
- Python
- Star
- 428
- Fork
- 196
- Merge trung bình
- 16 giờ 9 phút
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/mintupdate
-
Report failed upgrades with a non-zero exit status (mintupdate-cli, mint-refresh-cache, automatic upgrades)Có thể đã có người làm @Amadeus-22 đã nhận 14 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
linuxmint/mintupdate#1107 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BUG
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
linuxmint/mintupdate#1089 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flatpak-update-worker busy-loops at ~46% CPU when parent mintUpdate process exitsCó thể đã có người làm @dualfroz đã nhận 9 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
linuxmint/mintupdate#1041 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
FEATURE REQUEST
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
linuxmint/mintupdate#910 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
linuxmint/mintupdate#903 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của linuxmint/mintupdate
Issue tương tự
-
00 - Bug component: numpy.linalg
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
521xueweihan/HelloGitHub#4543 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
emeryberger/CSrankings#15700 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Bug | 工作不正常 Triage | 待检查
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
OneDragon-Anything/ZenlessZoneZero-OneDragon#3084 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Task select patterns with uppercase letters never matchCó thể đã có người làm @manobhisriram đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày