Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
root@miniServer:/var/www# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-image-amd64
The following packages will be upgraded:
libicu57 libmagickcore-6.q16-3-extra libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip
libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail
libnginx-mod-stream libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libx11-xcb1 libxslt1.1 linux-libc-dev nginx nginx-common nginx-full
patch policykit-1 postfix postfix-sqlite postgresql-9.6 postgresql-client-9.6 postgresql-contrib-9.6 rsync sudo unzip usbutils
32 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.3 MB of archives.
After this operation, 31.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
Preconfiguring packages ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
dpkg: warning: files list file for package 'python3' missing; assuming package has no files currently installed
(Reading database ... 46833 files and directories currently installed.)
Preparing to unpack .../00-libicu57_57.1-6+deb9u3_amd64.deb ...
Unpacking libicu57:amd64 (57.1-6+deb9u3) over (57.1-6+deb9u3) ...
What do the logs of the server show?
If the reboot is somehow software-generated then one would expect that the journal/syslog show the process in detail.
If it's the hardware rebooting (overheating? bad memory?) then you will probably have nothing in the logs, but then you know what's hitting you, and what you need to check.
I found out the problem comes from the package libicu57. I downloaded the .deb package for libicu57 and then tried to install it with dpkg and my pc again rebooted. After the reboot i run apt-get upgrade again and get this: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
If i try to remove libicu57 with apt-get remove libicu57 i see that many packages i need (nginx, bind9, php) will get removed too.
Is there are way to remove libicu57 manually and then install it again or do i need to reinstall Debian? Will a OS-Update help? I am still running Debian Stretch right now.
alma359 wrote:I found out the problem comes from the package libicu57. I downloaded the .deb package for libicu57 and then tried to install it with dpkg and my pc again rebooted. After the reboot i run apt-get upgrade again and get this: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
If i try to remove libicu57 with apt-get remove libicu57 i see that many packages i need (nginx, bind9, php) will get removed too.
Is there are way to remove libicu57 manually and then install it again or do i need to reinstall Debian? Will a OS-Update help? I am still running Debian Stretch right now.
But is it a hard reboot, without leaving any traces in the syslog?
Seems very weird.
In case you didn't check, could you log in to that computer and inspect /var/log/syslog to see if it shows any hints?
(I assume you are using rsyslog which I believe is the default in debian. If you only use the systemd journal then make sure it's not set to be "volatile", try the apt update && apt upgrade dance again, and post the contents of "journalctl --since-today" or such)
Yes it is hard reboot. I inspected the syslog file after running apt-get update && apt-get upgrade 2 times and there are no errors. Only the boot-up process is documented. Here is pastebin https://pastebin.com/raw/ywc2Rp0n (it's too big for upload here)
Could you try doing "apt-mark hold libicu57" to prevent upgrading that package? and then "apt upgrade"
If that works, then there's indeed something fishy about libicu57, but I can't imagine that package being the problem.
To me it looks more like power loss, hardware watchdog, overheating, or corrupted/damaged RAM (do you use swap?, I think I saw something about zram in your log).
If you don't run apt upgrade do you have any such spontaneous reboots?
Could you try doing "apt-mark hold libicu57" to prevent upgrading that package? and then "apt upgrade"
If that works, then there's indeed something fishy about libicu57, but I can't imagine that package being the problem.
To me it looks more like power loss, hardware watchdog, overheating, or corrupted/damaged RAM (do you use swap?, I think I saw something about zram in your log).
If you don't run apt upgrade do you have any such spontaneous reboots?
I tried apt-mark hold libicu57 and then apt-upgrade, now it's not rebooting anymore but i get this error
root@miniServer:/var/www# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
E: Can't find a source to download version '57.1-6+deb9u3' of 'libicu57:amd64'
I did a stress test now with Sysbench cpu and memory and the pc is stable, no reboots.
this is swap usage
root@miniServer:/var/www# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
E: Can't find a source to download version '57.1-6+deb9u3' of 'libicu57:amd64'
did the apt-mark work OK? (check with "apt-mark showhold").
then make sure you do "apt update" before "apt upgrade".
(note that until you fix your locale settings -- which you should -- you can use "LANG=C apt update" and then "LANG=C apt upgrade" to avoid getting the warnings shown in your first post..)
root@miniServer:/var/www# apt-mark showhold
libicu57
root@miniServer:/var/www# LANG=C apt update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.uni-sofia.bg/debian stretch InRelease
Hit:3 http://ftp.uni-sofia.bg/debian stretch-updates InRelease
Hit:4 http://ftp.uni-sofia.bg/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@miniServer:/var/www# LANG=C apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
E: Can't find a source to download version '57.1-6+deb9u3' of 'libicu57:amd64'
root@miniServer:/var/www#
root@miniServer:/var/www# dpkg -l |grep python3| awk '{print $1,$2}'
ii libpython3-stdlib:amd64
ii libpython3.5-minimal:amd64
ii libpython3.5-stdlib:amd64
ii python3
ii python3-dbus
ii python3-gi
ii python3-minimal
ii python3-pexpect
ii python3-pil:amd64
ii python3-ptyprocess
ii python3-renderpm:amd64
ii python3-reportlab
ii python3-reportlab-accel:amd64
ii python3.5
ii python3.5-minimal
root@miniServer:/var/www# apt-cache policy python3
python3:
Installed: 3.5.3-1
Candidate: 3.5.3-1
Version table:
*** 3.5.3-1 500
500 http://ftp.uni-sofia.bg/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
root@miniServer:/var/www# apt install python3
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
after running 'dpkg --configure -a ...again reboot
root@miniServer:/var/www# dpkg --configure -a
Processing triggers for libc-bin (2.24-11+deb9u4) ...
root@miniServer:/var/www# apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.5.3-1).
The following packages will be upgraded:
libicu57
1 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
1 not fully installed or removed.
Need to get 7705 kB of archives.
After this operation, 30.8 MB of additional disk space will be used.
Get:1 http://ftp.uni-sofia.bg/debian stretch/main amd64 libicu57 amd64 57.1-6+deb9u3 [7705 kB]
Fetched 7705 kB in 1s (6777 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg: warning: files list file for package 'python3' missing; assuming package has no files currently installed
(Reading database ... 46833 files and directories currently installed.)
Preparing to unpack .../libicu57_57.1-6+deb9u3_amd64.deb ...
Unpacking libicu57:amd64 (57.1-6+deb9u3) over (57.1-6+deb9u3) ...
packet_write_wait: Connection to 192.168.1.100 port 22: Broken pipe
alma359 wrote:error with libicu57 still exists.
I searched for libicu57 in /var/lib/dpkg/status and found this
Package: libicu57
Status: install reinstreq half-installed:
Already done. This is what I am trying to solve.....