Whonix Wiki Download Docs News Support Tips Issues Contribute DONATE

upgrade-nonroot issue [SOLVED]

Hi,

I get some issue regading update-nonroot

Gateway :

Workstation :

Thanks for the support.

Still the same error 4 days later.

What’s up ?

Is my system broken ?

Thanks

You’re unfortunately experiencing issues that nobody else is experiencing

These aren’t issues with upgrade-nonroot which just runs “sudo apt update” followed by “sudo apt dist-upgrade”.

Don’t know why this is happening, but this might help:

sudo apt-get update --allow-releaseinfo-change

This I’ve never seen before. Needs to be resolved as per https://www.whonix.org/wiki/Free_Support_Principle.

Could also be hardware issues. → Hardware Issues

I haven’t changed any hardware pieces.

You're unfortunately experiencing issues that nobody else is experiencing

I know I am an unlucky man.

These aren’t issues with upgrade-nonroot which just runs “sudo apt update” followed by “sudo apt dist-upgrade”.

Don’t know why this is happening, but this might help:

sudo apt-get update --allow-releaseinfo-change`

Unfortunately not.

EDIT 1 : Gateway new output :

ser@host:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dbus dbus-user-session dbus-x11 libdbus-1-3 libjavascriptcoregtk-4.0-18
  libwebkit2gtk-4.0-37 tzdata
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/22.7 MB of archives.
After this operation, 4,782 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'bind9-dnsutils' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
user@host:~$ sudo apt update
Hit:1 tor+https://deb.debian.org/debian bullseye InRelease                     
Hit:2 tor+https://deb.debian.org/debian bullseye-updates InRelease             
Hit:3 tor+https://deb.debian.org/debian-security bullseye-security InRelease   
Hit:4 tor+https://deb.debian.org/debian bullseye-backports InRelease           
Hit:5 tor+https://fasttrack.debian.net/debian bullseye-fasttrack InRelease     
Hit:6 tor+https://deb.whonix.org bullseye InRelease                            
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
user@host:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dbus dbus-user-session dbus-x11 libdbus-1-3 libjavascriptcoregtk-4.0-18
  libwebkit2gtk-4.0-37 tzdata
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/22.7 MB of archives.
After this operation, 4,782 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'bind9-dnsutils' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
user@host:~$ 


One issue less. (The second screenshot of yours.) For the other one, same reply:

Chapter Hardware Issues still applies.

Workstation issue seems to be solved.

EDIT 1 : Confirmed => solved

EDIT 2 : no clue how to solve Gateway issue.

user@host:~$ upgrade-nonroot
Hit:1 tor+https://fasttrack.debian.net/debian bullseye-fasttrack InRelease     
Hit:2 tor+https://deb.whonix.org bullseye InRelease                            
Hit:3 tor+https://deb.debian.org/debian bullseye InRelease                     
Hit:4 tor+https://deb.debian.org/debian bullseye-updates InRelease
Hit:5 tor+https://deb.debian.org/debian-security bullseye-security InRelease
Hit:6 tor+https://deb.debian.org/debian bullseye-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dbus dbus-user-session dbus-x11 libdbus-1-3 libjavascriptcoregtk-4.0-18
  libwebkit2gtk-4.0-37 tzdata
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/22.7 MB of archives.
After this operation, 4,782 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'bind9-dnsutils' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
user@host:~$ 


Question : Is my system compromised if I can’t solve the matter? Thanks for your support.

files list file for package ‘bind9-dnsutils’ is missing final newline

rewrite to:

files list file for package is missing final newline

For more generic search results.

Then use https://www.whonix.org/wiki/Free_Support_Principle / search engines.

Sorry but is it possible to correct it without spending hours reading what I don’t undertand and without destroying my Gateway furthermore?

EDIT : I do not get any result in the search engine regarding bind9-dnsutils

user@host:~$ sudo apt-get install bind9-dnsutils
[sudo] password for user:                   
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bind9-dnsutils is already the newest version (1:9.16.33-1~deb11u1).
bind9-dnsutils set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
user@host:~$ 

No, it’s not. Because I also don’t know and couldn’t figure it out without spending hours.

It’s not specific to bind9-dnsutils most likely. More likely a general issue with the APT package management system. Hence:

:woozy_face: :woozy_face: :woozy_face:

Thank you for all that goodwill @Patrick

EDIT : came back to a previous snapshot, let’s see how I can manage this.

EDIT 2 : solved