Updates Failing

Hi there,

I have a FBX Pioneer running Debian GNU/Linux 10 (buster) and FreedomBox version 20.15
‘Frequent Feature Updates’ are activated but not working.

I just ran a manual update and the log is reporting a few things I would assume are not right.
I.e. “quota not working (qgroup not set)” / “Failed to check for processor microcode upgrades.” / “User sessions running outdated binaries:” etc…

I would like to fix this and update to the latest release but I don’t know where to begin.

All help greatly appreciated.

Thanks,

CM

Please check in the logs for anything related to upgrading the freedombox package itself. The things that you mentioned are not actually relevant to this.

Also please run the command apt policy freedombox through Cockpit or SSH, and copy the output here.

Example:

$ apt policy freedombox
freedombox:
  Installed: 21.3~bpo10+1
  Candidate: 21.3~bpo10+1
  Version table:
 *** 21.3~bpo10+1 500
        100 http://deb.debian.org/debian buster-backports/main armhf Packages
        100 /var/lib/dpkg/status
     19.1+deb10u1 500
        500 http://deb.debian.org/debian buster/main armhf Packages

freedombox:
Installed: 20.15~bpo10+1
Candidate: 21.3~bpo10+1
Version table:
21.3~bpo10+1 500
100 http://deb.debian.org/debian buster-backports/main armhf Packages
*** 20.15~bpo10+1 100
100 /var/lib/dpkg/status
19.1+deb10u1 500
500 http://deb.debian.org/debian stable/main armhf Packages

Not sure what part of the logs might be relevant. There is a lot of it.
I notice that it does say “INFO Packages that will be upgraded:” but doesn’t list any packages.
Could you perhaps give me some idea of what I should be looking for so I can check and report back?
Thanks for your help.

Not sure. Could you try “sudo apt install freedombox”, and see if that works?

Hello Clearmask,

Just a suggestion to see if the apt source file for backport is there.

Run the command below to see what it returns.

ls -l /etc/apt/sources.list.d/freedombox2.list

The return from my freedombox:

-rw-r--r-- 1 root root 241 Mar  4 01:06 /etc/apt/sources.list.d/freedombox2.list

Regards: peter

Will that mess up any of the services I currently have running on it? Or endanger any of my data? Do I need to do anything like stop Syncthing running first? Should I back anything up? Like my website etc? Or is all that stuff safe? Also, should I use “sudo apt-install” or “sudo apt-get install”? Or does this not matter? Cheers.

Thanks Peter. This is what I’m getting:
-rw-r–r-- 1 root root 233 Oct 16 13:30 /etc/apt/sources.list.d/freedombox2.list

That is the same as mine ! So the backport apt file is their.

Freedombox upgrades come from backport.

To have look in that file, use command below. It will show you what in that file:

less /etc/apt/sources.list.d/freedombox2.list

Mine shows:

# This file is managed by FreedomBox, do not edit.
# Allow carefully selected updates to 'freedombox' from backports.

deb http://deb.debian.org/debian buster-backports main
deb-src http://deb.debian.org/debian buster-backports main
/etc/apt/sources.list.d/freedombox2.list (END)

To come out of ’ less ’ just press ’ q ’

The above with ’ less ’ is just check what should be there.

Regards: peter

Thanks Peter. Mine matches yours… Sooo… What next, do you think? Any ideas?

Next move, to check the main apt source file:

The command ’ less ’ again to view the file:

less /etc/apt/sources.list

And the out put from mine is:

# deb cdrom:[Debian GNU/Linux 10.8.0 _Buster_ - Unofficial amd64 NETINST with firmware 20210206-10:38]/ buster contrib main non-free

#deb cdrom:[Debian GNU/Linux 10.8.0 _Buster_ - Unofficial amd64 NETINST with firmware 20210206-10:38]/ buster contrib main non-free

deb http://ftp.uk.debian.org/debian/ buster main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ buster-updates main contrib non-free

The two top lines just say that it is a install from a Debian netinstall, from a usb key.

The bit below them two lines are your main apt source url, mine url point to a UK Debian apt repository.

See if your apt source are similar ?

Regards: peter

OK so… This is mine:

image

Is it not pulling from the correct repo?

I assume I need to alter the sources.list file to reflect the correct repositories.
Could you tell me how to go about doing this? I’m still learning my way around the command line.
sudo something something something right? :slight_smile:

Tried a few more things in the Terminal before attempting another update. It didn’t work but adding this to thread in case it helps at all. Thanks again and hopefully speak soon. Kind regards. CM.

image

Hello Clearmask,

Your apt source list look OK and the apt update and apt upgrade are running OK but the freedombox package is being held back for some reason ? Let hope some one can see what the problem is !

It looks like it the matrix-synapse package that is holding back the upgrade. Some on the forum will have the skills to move this issue on so you can upgrade your freedombox !

Regards: peter

Please check the output of this command:
$ sudo apt-mark showholds

In case it is on hold, you can remove the hold with:
$ sudo apt-mark unhold freedombox

If that doesn’t help, then try this:
$ sudo apt full-upgrade

In case it wants to remove some packages, feel free to post the output here before continuing.

1 Like

THANKS SO MUCH. I can’t tell you how happy this makes me. Fully upgraded to Version 21.4. User homepage correctly set. Awesome. I owe you a beer (virtual or otherwise).

Question: During the upgrade it did keep reporting ‘Failed to set locale. Fix your system.’
Then - amidst other stuff - reports such as this: ‘perl: warning: Falling back to the standard locale (“C”).’

Does this point to another problem that needs fixing or are we all good from here, you think?

Thanks again for your help. You’re a mensch.

CM

It should be safe to ignore. If you want the messages to go away, I believe you can just install the locales-all package.

Is or was there a known bug that causes packages to be set on hold and blocking the updates?