The officially official Devuan Forum!

You are not logged in.

#1 2021-11-21 00:39:20

Ron
Member
Registered: 2018-04-22
Posts: 474  

[SOLVED] Error message after update

So I updated my system via Synaptic, and after applying the changes this error message popped up. Is it anything to worry about? I rebooted the computer and it booted just fine, and is using the newest kernel.

EJqVgJW.jpeg

Offline

#2 2021-11-22 12:20:24

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [SOLVED] Error message after update

check /var/log/apt/term.log and /var/log/dpkg.log for more info on the error.
(same upgrade from terminal, didn't cause any issues here.)

maybe try to reinstall from terminal and see if occurs again :
apt install --reinstall linux-image-amd64 linux-image-5.15.0-1-amd64

Offline

#3 2021-11-22 13:08:44

Ron
Member
Registered: 2018-04-22
Posts: 474  

Re: [SOLVED] Error message after update

From /var/log/apt/term.log

Setting up linux-image-5.15.0-1-amd64 (5.15.3-1) ...
Segmentation fault
dpkg: error processing package linux-image-5.15.0-1-amd64 (--configure):
 installed linux-image-5.15.0-1-amd64 package post-installation script subprocess returned error exit status 139

and

dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-5.15.0-1-amd64 (= 5.15.3-1); however:
  Package linux-image-5.15.0-1-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured.

and

 Errors were encountered while processing:
 linux-image-5.15.0-1-amd64
 linux-image-amd64
Log ended: 2021-11-20  17:21:37

From /var/log/dpkg.log

2021-11-20 17:21:37 configure linux-image-5.15.0-1-amd64:amd64 5.15.3-1 <none>
2021-11-20 17:21:37 status half-configured linux-image-5.15.0-1-amd64:amd64 5.15.3-1
2021-11-20 17:21:52 status installed linux-image-5.15.0-1-amd64:amd64 5.15.3-1
2021-11-20 17:21:52 configure linux-image-amd64:amd64 5.15.3-1 <none>
2021-11-20 17:21:52 status unpacked linux-image-amd64:amd64 5.15.3-1
2021-11-20 17:21:52 status half-configured linux-image-amd64:amd64 5.15.3-1
2021-11-20 17:21:52 status installed linux-image-amd64:amd64 5.15.3-1

The inxi report shows the new kernel running, like I wrote in the original post. Did something really go wrong?

$ inxi -Fxz
System:    Kernel: 5.15.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: MATE 1.24.1
           Distro: Devuan GNU/Linux 5 (daedalus/ceres)
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: <filter>
           Mobo: ASUSTeK model: H81M-C v: Rev X.0x serial: <filter> BIOS: American Megatrends v: 3602 date: 03/26/2018
CPU:       Info: Dual Core model: Intel Pentium G3220 bits: 64 type: MCP arch: Haswell rev: 3 cache: L2: 3 MiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 11972
           Speed: 1297 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 1297 2: 1297
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel
           bus-ID: 00:02.0
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics (HSW GT1) v: 4.5 Mesa 21.2.5 direct render: Yes
Audio:     Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus-ID: 00:1b.0
           Sound Server-1: ALSA v: k5.15.0-1-amd64 running: yes
           Sound Server-2: PipeWire v: 0.3.40 running: no
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK H81M-C driver: r8169 v: kernel
           port: e000 bus-ID: 03:00.0
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 387.53 GiB used: 161.03 GiB (41.6%)
           ID-1: /dev/sda vendor: Crucial model: CT256MX100SSD1 size: 238.47 GiB
           ID-2: /dev/sdb vendor: Seagate model: ST3160815AS size: 149.05 GiB
Partition: ID-1: / size: 233.72 GiB used: 77.42 GiB (33.1%) fs: ext4 dev: /dev/sda5
Swap:      ID-1: swap-1 type: file size: 256 MiB used: 0 KiB (0.0%) file: /swapfile
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C
           Fan Speeds (RPM): N/A
Info:      Processes: 156 Uptime: 16m Memory: 3.71 GiB used: 1.24 GiB (33.5%) Init: SysVinit runlevel: 2 Compilers:
           gcc: 11.2.0 Packages: 1624 Shell: Bash v: 5.1.8 inxi: 3.3.0

Offline

#4 2021-11-22 14:05:16

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] Error message after update

Hello:

Ron wrote:

Did something really go wrong?

Seems some part of the installation process may have not been fully completed.
eg: something not completely removed, dependencies not completed for some reason.

--- snip ---
linux-image-5.15.0-1-amd64 is not configured yet
--- snip ---

No idea why.

But you may want to try giving apt-get a chance to fix it:

sudo apt-get install --fix-broken

Hopefully, the output you get will either mark success or say what's going on or missing.

Best,

A.

Offline

#5 2021-11-22 20:11:05

Ron
Member
Registered: 2018-04-22
Posts: 474  

Re: [SOLVED] Error message after update

sudo apt-get install --fix-broken returned this:

$ sudo apt-get install --fix-broken
[sudo] password for ron: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-desktop3-data libfluidsynth2 libgnome-desktop-3-19 libxkbregistry0
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Last edited by Ron (2021-11-22 20:11:20)

Offline

#6 2021-11-22 22:18:55

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] Error message after update

Hello:

Ron wrote:

sudo apt-get install --fix-broken returned ...

Right ...

apt says those packages are no longer required.

Now you do this:

sudo apt autoremove && sudo apt install -f 

The first part (before &&) will remove the packages no longer required and the second part will look for and try to fix any missing dependencies you may have in the system.

Let's see what you get from that.

Best,

A.

Offline

#7 2021-11-22 22:36:16

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: [SOLVED] Error message after update

Ron,

I'm not sure what may have happened.

I just got that update yesterday too, and it went fine.

Periodically, I'll run updates and they don't complete. Terminal output usually says something to the effect of "failed to connect to blah-blah-blah debian.org".

Follow Altoid's latest advice first.

If that doesn't correct it, I would try...

apt-get install --reinstall linux-image-amd64

I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#8 2021-11-23 01:02:47

Ron
Member
Registered: 2018-04-22
Posts: 474  

Re: [SOLVED] Error message after update

Did all three of the above. To me, it looks like there isn't a problem (which makes me wonder why I got that error message). Or am I mistaken?

$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  gnome-desktop3-data libfluidsynth2 libgnome-desktop-3-19 libxkbregistry0
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 3,892 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 287054 files and directories currently installed.)
Removing libgnome-desktop-3-19:amd64 (41.1-1) ...
Removing gnome-desktop3-data (41.1-1) ...
Removing libfluidsynth2:amd64 (2.1.7-1.1) ...
Removing libxkbregistry0:amd64 (1.3.1-1) ...
Processing triggers for libc-bin (2.32-4) ...
$ sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install --reinstall linux-image-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/1,480 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 286777 files and directories currently installed.)
Preparing to unpack .../linux-image-amd64_5.15.3-1_amd64.deb ...
Unpacking linux-image-amd64 (5.15.3-1) over (5.15.3-1) ...
Setting up linux-image-amd64 (5.15.3-1) ...

Offline

#9 2021-11-23 12:41:45

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] Error message after update

Hello:

Ron wrote:

Did all three ...

Doing as suggested by MiyoLinux included the next step I would have suggested to check the state your system was in:

$ sudo apt update && sudo apt upgrade

As you can see, the terminal printout when reinstalling linux-image-amd64 reads:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.

You may want to try it and see if it comes up clean ie:

~$ sudo apt update && sudo apt upgrade
--- snip ---
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.                # <- this
~$ 

If it does, we're done.
Unless you have any other issues, I think now you're good to go.  8^D

That said, in my opinion it is not by any means necessary to run a system on the latest kernel/bleeding edge.
Unless you have the latest hardware or are testing new things.

But then Debian most probably won't have native drivers ready and you will have to depend on the OEMs for that.

Until systemd and wayland reared their heads, it was all about stability and previsibility.
ie: the tried and true way of doing things in Debian.

Things have changed quite a bit, which is why we're here now.

Best,

A.

Last edited by Altoid (2021-11-23 12:47:22)

Offline

#10 2021-11-23 12:56:35

Ron
Member
Registered: 2018-04-22
Posts: 474  

Re: [SOLVED] Error message after update

ron@ron:~$ sudo apt update && sudo apt upgrade
--- snip ---                                                                                                                                                          
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Last edited by Ron (2021-11-23 12:58:38)

Offline

#11 2021-11-23 13:01:16

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] Error message after update

Hello:

Ron wrote:
ron@ron:~$ sudo apt update && sudo apt upgrade
--- snip ---                                                                                                                                                          
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

You're good to go.  8^D

Best,

A.

Offline

#12 2021-11-23 14:13:06

Ron
Member
Registered: 2018-04-22
Posts: 474  

Re: [SOLVED] Error message after update

I'm just scratching my head now as to why I got that error message in the first place. hmm
Thanks to all, especially Altoid.

Last edited by Ron (2021-11-23 14:13:38)

Offline

#13 2021-11-23 15:09:54

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] Error message after update

Hello:

Ron wrote:

... why I got that error message ...

Could be a temp glitch in the script, caused by [ whatever could be ].

MiyoLinux wrote:

Periodically, I'll run updates and they don't complete.

I've experienced it in my boxes a couple of times.
I just retried and that would be it.

This is Linux, not MS. ;^ )

As long as the glitches are not a constant ...

Ron wrote:

Thanks to all, especially ...

You're welcome but it's nothing special.
Just trying to give back a bit of the much I have received here at Dev1.

Best,

A.

Offline

Board footer