Bug 473657 - One cannot update the system
Summary: One cannot update the system
Status: REOPENED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Unstable Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-08-22 21:29 UTC by Piotr Mierzwinski
Modified: 2024-03-05 09:06 UTC (History)
12 users (show)

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


Attachments
screenshot of packages to be installed by pkcon update (15.69 KB, image/png)
2023-08-27 17:07 UTC, Ilgaz Öcal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2023-08-22 21:29:41 UTC
SUMMARY
The try of update the system finishes with fatal error saying about unmet dependencies:
<cut>
$ sudo pkcon refresh
$ sudo pkcon update -y
...
Fatal error: The following packages have unmet dependencies:
  libappstream5: Depends: libxmlb2 (>= 0.3.13) but 0.3.6-2build1 is to be installed
</cut>
Above issue started yesterday.
Below please find more details:

<cut>
E: http://ddebs.ubuntu.com jammy-proposed/main amd64 Packages is not (yet) available (File has unexpected size (40004 != 40376). Mirror sync in progress? [IP: 91.189.91.48 80]
Hashes of expected file:
 - Filesize:40376 [weak]
 - SHA512:bbcff87fabcde9604f27431ccd5271999242b49117ba2694d59943e720a0fd86ce5bd82a7180e4d184c06c5d7f076e21c8372b633fbb53f574ef28cb89f96399
 - SHA256:15ff22d2e4a67b583e0c589eb6c9b87a6f6758c25888b3141fcabc2c0b6985e3
 - SHA1:8d19f1e5eaff5e12a7d9227f0eb82bf910b767a1 [weak]
 - MD5Sum:a1c188b6a4c5f8d649d08486cc801be3 [weak]
Release file created at: Tue, 22 Aug 2023 20:42:29 +0000
)

Getting updates                         [=========================]         
Finished                                [=========================]         
Updating packages                       [=========================]         
Removing packages                       [=========================]         
Loading cache                           [=========================]         
Finished                                [=========================]         
Fatal error: The following packages have unmet dependencies:
  libappstream5: Depends: libxmlb2 (>= 0.3.13) but 0.3.6-2build1 is to be installed
</cut>


STEPS TO REPRODUCE
1. Perform below commands to update the system:
 sudo pkcon refresh
 sudo pkcon update -y
2. 
3. 

OBSERVED RESULT
Fatal error about unmet dependencies (described above)

EXPECTED RESULT
Should not happen any error, and update should pass without any problems.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Neon Unstable Edition
Comment 1 djmenig 2023-08-27 04:47:22 UTC
I found a work-around:

1. sudo apt update && sudo apt dist-upgrade (yes to all)
2. Restart (I booted to a black screen, but was able to bring up the terminal with ctrl+alt+t).
3. sudo pkcon refresh && sudo pkcon update

Worked for me, so hopefully it'll work for others.
Comment 2 djmenig 2023-08-27 04:51:14 UTC
I forgot to add:

4. sudo shutdown -r now (that'll reboot the machine, just in-case you don't have any other functionality).
Comment 3 Ilgaz Öcal 2023-08-27 17:03:12 UTC
(In reply to djmenig from comment #1)
> I found a work-around:
> 
> 1. sudo apt update && sudo apt dist-upgrade (yes to all)
> 2. Restart (I booted to a black screen, but was able to bring up the
> terminal with ctrl+alt+t).
> 3. sudo pkcon refresh && sudo pkcon update
> 
> Worked for me, so hopefully it'll work for others.

It sure works however a bit hard in a VM. Also I have read we should never use apt under neon I guess this looks like a good example. I am running it in a very bare VM without any additions therefore I had to take a screenshot of the _additional_ packages pkcon update requests.
Comment 4 Ilgaz Öcal 2023-08-27 17:07:29 UTC
Created attachment 161228 [details]
screenshot of packages to be installed by pkcon update

This is what happens when you boot into blank screen because of having to run apt dist-upgrade on a Neon and run pkcon refresh && pkcon upgrade . After these installed and system rebooted, system displays and acts normally saying KDE Plasma 6.0
(apologies for sending a screenshot)
Comment 5 Lorenzo Bettini 2023-08-28 15:26:05 UTC
by the way, when you're on a VM, you might want to install the SSH server and run `sudo pkcon refresh && sudo pkcon update` via SSH.

Thanks for the workaround, it works for me as well!
Comment 6 Lorenzo Bettini 2023-08-28 15:30:54 UTC
Some additional information: the update actually breaks something. For example, `discover` had been uninstalled. Moreover, some desktop effects, like blur, are not available anymore.
Comment 7 djmenig 2023-08-28 18:44:54 UTC
(In reply to Lorenzo Bettini from comment #6)
> Some additional information: the update actually breaks something. For
> example, `discover` had been uninstalled. Moreover, some desktop effects,
> like blur, are not available anymore.

Yeah, I am experiencing that as well; however, only after the update I did this morning. Those "bugs" did not exist at the time I posted the work-around; therefore, I don't believe it's related to this bug.
Comment 8 Piotr Mierzwinski 2023-08-28 21:47:11 UTC
I guess only users replied here trying to help, but how could help people packing/preparing distributions?
In my humble opinion this is really serious problem, because many testing people can't update the system, so cannot test and report the bugs. Bug happened one week ago and I think nobody from Neon team posted here. Please correct me if I'm wrong.
Comment 9 Piotr Mierzwinski 2023-08-31 16:33:42 UTC
(In reply to djmenig from comment #1)
> I found a work-around:
> 
> 1. sudo apt update && sudo apt dist-upgrade (yes to all)
> 2. Restart (I booted to a black screen, but was able to bring up the
> terminal with ctrl+alt+t).
> 3. sudo pkcon refresh && sudo pkcon update
> 
> Worked for me, so hopefully it'll work for others.

Also for me helped. Behavior was the same like you described, and after I applied the steps you put here I got working desktop.
Thank you.
Comment 10 djmenig 2023-08-31 18:51:51 UTC
> Also for me helped. Behavior was the same like you described, and after I
> applied the steps you put here I got working desktop.
> Thank you.

No problem. I'm just glad I was able to post something useful! :-)
Comment 11 Ilgaz Öcal 2023-09-01 13:04:52 UTC
(In reply to Lorenzo Bettini from comment #6)
> Some additional information: the update actually breaks something. For
> example, `discover` had been uninstalled. Moreover, some desktop effects,
> like blur, are not available anymore.

I got noticed about this status. I believe it should stay open since the way it is "fixed" is a complete hack. Discover, very important part of system is missing (newbies/gui guys use it), transparency gone and several additional unknown side effects may be there.
Comment 12 Piotr Mierzwinski 2023-09-02 00:11:00 UTC
(In reply to Ilgaz Öcal from comment #11)
> (In reply to Lorenzo Bettini from comment #6)
> > Some additional information: the update actually breaks something. For
> > example, `discover` had been uninstalled. Moreover, some desktop effects,
> > like blur, are not available anymore.
> 
> I got noticed about this status. I believe it should stay open since the way
> it is "fixed" is a complete hack. Discover, very important part of system is
> missing (newbies/gui guys use it), transparency gone and several additional
> unknown side effects may be there.

"sudo apt install plasma-discover"
After this you should got discover in the system.
Worth to notice that despite "Discover is very important part of system", in this moment should not be use - I think one wasn't be able to update system by this tool in this stage of system, and  developers recommended o use following commands:
$ sudo pkcon refresh
$ sudo pkcon update

BTW. Please notice, that till now  I didn't receive any answer from Neon developers.  Please check my complaints  in comment 8 (sent at 023-08-28 23:47:11 CEST). Let it be opened.
Comment 13 tagwerk19 2023-09-17 13:23:41 UTC
(In reply to djmenig from comment #1)
> I found a work-around:
Still seems good...

If I try to update (Neon Unstable) without it, I'm now getting more unmet dependencies:

    Fatal error: The following packages have unmet dependencies:
      breeze: Depends: kde-style-breeze (= 4:5.27.8+p22.04+vunstable+git20230917.0204-0) but 4:5.27.7+p22.04+tunstable+git20230817.0326-0 is to be installed
      libappstreamqt5-3: Breaks: libappstreamqt2 but 0.16.2-0xneon+22.04+jammy+unstable+build14 is to be installed
      kde-style-oxygen: Depends: kf6-frameworkintegration (>= 0.0+p22.04+vunstable+git20230917.0154) but 0.0+p22.04+tunstable+git20230801.0747-0 is to be installed
                        Breaks: kde-style-oxygen-qt6 but 4:5.27.7+p22.04+tunstable+git20230808.0248-0 is to be installed
      kde-style-oxygen-qt6: Breaks: kde-style-oxygen but 4:5.27.8+p22.04+vunstable+git20230917.0204-0 is to be installed
      libappstream5: Depends: libxmlb2 (>= 0.3.14) but 0.3.6-2build1 is to be installed
      plasma-discover: Depends: plasma-discover-common (= 5.27.6+p22.04+tunstable+git20230816.0023-0) but 5.27.6+p22.04+vunstable+git20230917.0017-0 is to be installed
                       Recommends: plasma-discover-backend-snap but it is not going to be installed
Comment 14 tagwerk19 2023-09-18 07:37:28 UTC
(In reply to tagwerk19 from comment #13)
> (In reply to djmenig from comment #1)
> > I found a work-around:
> Still seems good...
Retested this. It looks as if, after you do the:

    1. sudo apt update && sudo apt dist-upgrade (yes to all)
    2. Restart

you get the sddm logon screen (in a KVM guest VM, not tried elsewhere). No need to use ssh in order to do the:

    3. sudo pkcon refresh && sudo pkcon update
Comment 15 Ray 2024-03-05 09:06:57 UTC
>                        Recommends: plasma-discover-backend-snap but it is
> not going to be installed


please have a look at that: https://bugs.kde.org/show_bug.cgi?id=477968