Can't install anything in Byzantium

After doing updates in byzantium, I’ve lost both KDE and vlc, and I can’t reinstall them. I’ve tried a whole bunch of things, including downgrading to amber, but nothing works. Byzantium apparently includes uninstallable versions of packages, so I thought for sure that downgrading would fix it, but for some reason, apt refuses to install the amber versions of packages, so my system is stuck in a broken state. What can I do?

We need more information in order to help you, do an update trough the terminal and paste here the output.

sudo apt update && sudo apt upgrade
$ cat /etc/apt/sources.list
#deb https://repo.puri.sm/pureos byzantium main
#deb https://repo.pureos.net/pureos/ byzantium-security main
#deb https://repo.pureos.net/pureos/ byzantium-updates main
deb https://repo.puri.sm/pureos amber main
deb https://repo.pureos.net/pureos/ amber-security main
deb https://repo.pureos.net/pureos/ amber-updates main
$ sudo apt update && sudo apt upgrade
Hit:1 https://repo.pureos.net/pureos amber-security InRelease                                  
Hit:2 https://repo.puri.sm/pureos amber InRelease                                              
Hit:3 https://repo.pureos.net/pureos amber-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libva-wayland2 : Depends: libva2 (< 2.4.0.1) but 2.8.0-1 is to be installed
E: Unable to correct problems, you have held broken packages.

But that’s trying to go back to amber, what says when you try to upgrade to byzantium?

If you migrated from Amber to Byzantium

e.g:

  • edited the apt sources from Amber to Byzantium
  • did a sudo apt update
  • then sudo apt full-upgrade

Then you can’t revert to Amber again because you already updated the system packages (and their versions) from amber to byzantium,

To downgrade from Byzantium to Amber you would need to downgrade hundreds of packages.

Best solution (if you tried to update to byzantium before) would be to stay in Byzantium and work out the issues you had.

But you can contact us via email to: support@puri.sm so we can try to solve this issue.

1 Like

Ok, in byzantium I get this:

$ cat /etc/apt/sources.list
deb https://repo.puri.sm/pureos byzantium main
deb https://repo.pureos.net/pureos/ byzantium-security main
deb https://repo.pureos.net/pureos/ byzantium-updates main
#deb https://repo.puri.sm/pureos amber main
#deb https://repo.pureos.net/pureos/ amber-security main
#deb https://repo.pureos.net/pureos/ amber-updates main
$ sudo apt update && sudo apt upgrade
Hit:1 https://repo.puri.sm/pureos byzantium InRelease                                           
Hit:2 https://repo.pureos.net/pureos byzantium-security InRelease       
Hit:3 https://repo.pureos.net/pureos byzantium-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  btrfs-progs libglib2.0-bin libglib2.0-dev-bin netplan.io
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
$ apt list --upgradable
Listing... Done
bsdmainutils/byzantium 12.1.5 amd64 [upgradable from: 11.1.2+b1]
btrfs-progs/byzantium 5.7-1 amd64 [upgradable from: 5.6-1]
libglib2.0-0/byzantium 2.64.4-1 amd64 [upgradable from: 2.64.3-2]
libglib2.0-bin/byzantium 2.64.4-1 amd64 [upgradable from: 2.64.3-2]
libglib2.0-dev-bin/byzantium 2.64.4-1 amd64 [upgradable from: 2.64.3-2]
libglib2.0-dev/byzantium 2.64.4-1 amd64 [upgradable from: 2.64.3-2]
netplan.io/byzantium 0.99-1 amd64 [upgradable from: 0.98-2]

The reason I tried to downgrade to amber is because according to the package database, plasma-desktop and vlc are simply not installable in byzantium. I confirmed this by trying to install them.

I should note that, in GNOME, my headphones don’t work, whether by USB or headphone jack. Even if I get this problem fixed, I can’t configure GNOME as well as I need to, so if I can’t get KDE back, I’m sure I’ll have more usability problems later.

Are your headphones wireless bluetooth headphones?

As for the list you just shared, let me check it with the PureOS developers

1 Like

Since a few days i have problems in updating the byzantium kde-edition. Insynaptic I see, that there are 32 packages, which are updatable.
If I try to update vlc, I get the message, that dependencies are not met. If I choose another package, nearly all kde packages are marked for removal. Any Idea?

Are your headphones wireless bluetooth headphones?

No. I’ve tried two headsets. With USB, the sound continues to come from the laptop speakers. Using the headphone jack turns off sound entirely.

The only settings app I can find is Tweaks. It doesn’t seem to have anything regarding sound.

Sound input/output is I think not where it needs to be in GNOME.

This extension has been extremely useful for me:
https://extensions.gnome.org/extension/906/sound-output-device-chooser/

I normally don’t have problems with headphones - those do usually just work for me, but in the case of microphones, I almost always have to manually switch away from the built-in mic on my laptop.

Note that my primary use is not PureOS nor a Librem laptop, but I’ve used GNOME across a few different distros and a few different laptops, and the sound input/output has always been less than perfect.

If I try to update vlc, I get the message, that dependencies are not met. If I choose another package, nearly all kde packages are marked for removal. Any Idea?

I often run sudo apt autoremove, so I lost those packages entirely. If you check out the package links in my earlier post, it looks like they’ve been updating some packages without updating their dependencies. This results in us not being able to install current packages due to unmet dependencies.

I’m wondering if I should enable both byzantium and amber. (I did try that yesterday, but I don’t know whether or not it would have a benefit in the long run.)

VLC is not installable at the moment. I just tried to install it and it says (on GNOME);

The following packages have unmet dependencies:
 vlc-plugin-base : Depends: libx264-160 (>= 2:0.160.3011+gitcde9a93) but it is not installable
E: Unable to correct problems, you have held broken packages.

A bit more here: https://software.pureos.net/package/bin/byzantium/vlc-plugin-base

I’ll follow up and try and determine why this is happening.

1 Like

For me the problem is aĺmost gone. There remai nonly three packages which I cannot update:

libglib2.0-bin
libglib2.0-0
bsdmainutils

Dependencies are not met.

I had a similar problem and I found that the volume of my headphones was set to zero by Pulseaudio. I fixed it by running this command:
pavucontrol &
And then adjusting the audio. I’m not sure if that is your problem, but I thought that I would mention it.

Thanks, but it seems I can’t install pulseaudio. Yet another unmet dependency.

The following packages have unmet dependencies:
 libasound2-plugins : Depends: libavcodec58 (>= 7:4.2)
E: Unable to correct problems, you have held broken packages.

I actually tried something else that partially worked. I ran alsamixer and unmuted the headphones from there. While that did fix the headphone jack, my USB headphones still don’t switch the sound over from the laptop speakers.

@jeremiah ^^

Yess unfortunately still need to be very careful when upgrading on Byzantium (especially dist-upgrade), there are often conflicts and in those cases it’s possible to lose essential packages without being able to reinstall them. Thanks for the warning I hope you manage to get this fixed again.