when running apt-get upgrade my computer reboots

If none of the more specific forums is the right place to ask

Re: when running apt-get upgrade my computer reboots

Postby L_V » 2019-10-25 20:55

The right tool to clarify tricky situations is aptitude which better explains what's going on.
If dpkg database is broken, for any reason, or seems to be, it's too late to think about it !
'apt' command should be reserved for simple operations, but cannot do more.
Now, there would be another solution to try by directly digging into /var/lib/dpkg/status file , but difficult to drive in a forum.

My feeling is that some dpkg files have been deleted..... and apt is lost.
L_V
 
Posts: 1126
Joined: 2007-03-19 09:04

Re: when running apt-get upgrade my computer reboots

Postby alma359 » 2019-10-26 01:02

I managed to successfully update my packages. I deleted the dpkg files again and then created a empty status file and empty info directory. After this hold on libicu57 worked and i reinstalled all packages, this generated the dpkg files again. I don't know what exactly caused the issue but i think maybe a power loss currupted some files. I will buy a ups power backup for my server.
Thanks for the help :)
alma359
 
Posts: 15
Joined: 2019-10-21 21:53

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable