Bug 469346 - Offline updates does not work when packages are held back
Summary: Offline updates does not work when packages are held back
Status: REPORTED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.27.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-04 09:01 UTC by Ahmed
Modified: 2023-05-22 05:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The output of the command `sudo apt upgrade`. (52.14 KB, image/png)
2023-05-22 05:36 UTC, Ahmed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmed 2023-05-04 09:01:55 UTC
SUMMARY
***
When "Use offline updates" is checked in, when I restart, or shut down my machine and start it again, offline updates are not installed during booting my machine, and I have to install them manually, and that happens a lot.
***


STEPS TO REPRODUCE
1. Check "Use offline updates" from "Software Update".
2. Install updates.
3. Restart, or shut down my machine and start it again.

OBSERVED RESULT
Offline updates are not installed.

EXPECTED RESULT
Offline updates to be installed during booting my machine.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.04
KDE Plasma Version: KDE Plasma 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Comment 1 Ahmed 2023-05-04 09:08:48 UTC
One more thing: When I ran "sudo apt upgrade" from the terminal, I found out that one package is kept back "distro-info-data", and it might be the source of the issue, I am not sure, but it is not the first time to find packages that are kept back without known reason.
Comment 2 Nate Graham 2023-05-15 21:00:14 UTC
Can you paste the terminal text that shows you the issue?
Comment 3 Ahmed 2023-05-16 07:34:17 UTC
(In reply to Nate Graham from comment #2)
> Can you paste the terminal text that shows you the issue?

It is hard to do that now, because I fixed the kept-back package by reinstalling it. I will turn on Offline updates again to see if there will be new held-back packages.
Comment 4 Nate Graham 2023-05-16 15:56:06 UTC
Any idea why the package was kept back? Was this something you did yourself and then forgot about it, or was it done automatically by the system at some point?
Comment 5 Ahmed 2023-05-17 08:26:43 UTC
(In reply to Nate Graham from comment #4)
> Any idea why the package was kept back? Was this something you did yourself
> and then forgot about it, or was it done automatically by the system at some
> point?

I have no idea. I do not remember doing anything.
Comment 6 Nate Graham 2023-05-17 14:06:52 UTC
Ok, thanks.
Comment 7 Ahmed 2023-05-22 05:36:38 UTC
Created attachment 159178 [details]
The output of the command `sudo apt upgrade`.

I have one update for 3 days, but it was not installed once during system boot. Here is the output of the command `sudo apt upgrade`.
Comment 8 Ahmed 2023-05-22 05:39:13 UTC
Comment on attachment 159178 [details]
The output of the command `sudo apt upgrade`.

I have one update for 3 days, but it was not installed once after rebooting my system many times. I added an attachment for the output of `sudo apt upgrade`.