after dist-upgrade, terminal is broken
#1
Running Mobian Bookworm on a Beta edition PP. Yesterday I did sudo apt dist-upgrade, and this morning I notice that the terminal stopped working. I swiped up and tried to restart it, no go, it won't start. None of the programs will start!

Looks like I'll have to go back to an image I dd'd last week, and try again. 

Anybody else seeing this? I don't want to upgrade until this is behind us.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#2
Did you at least enabled SSH before breaking?
If so, are you able to log into your phone via SSH?
If so, try "journalctl -fe", then start any app that doesn't boot up, and look at what you see on your PC screen.

Maybe some clues might pop up.
母語は日本語ですが、英語も喋れます(ry
  Reply
#3
Unfortunately, no SSH. I suppose I should get that earphone to serial converter.

Looks like this isn't a common problem, since nobody else has chimed in. It's probably something I did then, not a problem in Bookworm.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#4
This is very strange: after a couple of reboots, suddenly I can again launch the terminal and other programs, all of which work normally.

If I try to run sudo apt update, it runs, then I get a series of error messages that begin with "problem unlinking the file /var/cache/apt/pkgcache.bin", then anything I try to run segfaults.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#5
I removed /var/cache/apt/pkgcache.bin and /var/cache/apt/srcpkgcache.bin, run sudo apt update, get an error "... splitting up ... repo.mobian ... into data and signature failed"

Same set of error messages as before, everything segfaults again.

I went into the /var/lib/dpkg directories and started cleaning out lock files, and got a segfault after a few commands. This is starting to look like bad memory, not bad software.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#6
If you have an extra sd card, try on the September 06 nightly release. ?
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
#7
(09-07-2021, 12:16 AM)bcnaz Wrote: If you have an extra sd card,  try on the September 06 nightly release.  ?

I'll try to download that today. I don't have much bandwidth, so it's a project.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#8
Yes, I have on some occasions downloaded the Mobian nightly in as little as 10 - 15 minutes,
... however tonight after 45 minutes, it says I have 14 hours to go. ! .. I am in rural South Western USA, my internet speed varies a lot.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
#9
I was able to get it downloaded and on an SD card. It boots and runs, and so far there are no segfaults. I'll next flash it to the emmc, and see if all is still well. Maybe it's not hardware!

Edited to add: I'm in rural-ish Alaska, and internet is via cell tower, and gets very slow indeed.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#10
Update: I flashed the nightly to the eMMC, and now it will boot to the mobian splash screen, then the screen goes blank with the backlight on. Same behavior when I try to boot from the SD card which was working last night.

It's looking like a hardware issue. Is there a memory test image I could boot and run?

After that the next step is probably going to be a new motherboard.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  GPS/location services don't work with Maps after Bookworm upgrade Anna 7 286 Yesterday, 04:49 PM
Last Post: l_gyuri
  Reading SMS from the terminal? SocialNetworkingWasAMistake 6 223 10-19-2021, 10:01 AM
Last Post: ragreenburg
  scp.bin not found, can't complete apt upgrade Hiraghm 1 73 10-16-2021, 07:29 PM
Last Post: Hiraghm
  Safe to upgrade Bookworm again? nelstomlinson 2 292 10-12-2021, 03:45 AM
Last Post: bcnaz
  kernel upgrade user641 2 290 09-13-2021, 08:26 AM
Last Post: user641
  No updates after upgrade? jojuma 3 341 08-26-2021, 08:53 PM
Last Post: bcnaz
  Inbound SMS still broken? pagesix1536 8 1,384 08-19-2021, 07:03 PM
Last Post: bcnaz
  When to dist-upgrade vs when to reinstall? DrPlamsa 5 180 08-02-2021, 06:23 PM
Last Post: bcnaz
  Cannot upgrade AndyM 1 320 07-31-2021, 08:51 AM
Last Post: nelstomlinson
  How do you copy and paste into mobian terminal? Do you ssh instead? temp0rary 6 1,054 06-01-2021, 12:16 PM
Last Post: temp0rary

Forum Jump:


Users browsing this thread: 1 Guest(s)