scp.bin not found, can't complete apt upgrade
#1
I'm running Bookworm on my community edition Pinephone.

For the past couple weeks, every time I've tried a "sudo apt upgrade", it errors out with the error that it can't find /etc/lib/scp.bin.
I've tried running the Software app, it can't download the updates, complains of missing dependencies (but doesn't say what they are),

and now when I try to run apt update, it 404 errors on trixie-security and trixie-updates, then says there's no release file for trixie-security and trixie-updates, therefore they can't be updated securely and are disabled.

I tried sudo apt-get clean followed by sudo apt-get check followed by sudo apt-get -f install

after that it listed some packages that could be removed and then said 0 updated, 0 newly installed, 18 to remove, 380 to upgrade.

so I tried autoremove and got the original error:
md5sum: /usr/lib/crust/scp.bin: no such file or directory
And then I get two errors when the script tries to run scp.bin

Does anyone have any clue what is happening and what I need to do to fix it? Do I have to do a complete re-install? Sad
  Reply
#2
So I've been dinking around ignorantly and discovered something...
whatever script apt upgrade calls runs a script which does
md5sum /usr/lib/crust/scp.bin
which errors our.
/usr/lib/crust on my machine is a symbolic link to the *file* /usr/lib/crust-firmware/pinephone
I'm guessing it should be a symbolic link to /usr/lib/crust-firmware and/or /usr/lib/crust/scp.bin should be a symbolic link to /usr/lib/crust-firmware/pinephone.

I'm not experienced or knowledgeable enough to fix this, however Sad

I seem to have fixed it.
I cded to /usr/lib/crust-firmware
then "cp pinephone scp.bin"
then I unlinked the symlink from /usr/lib/crust
"unlink /usr/lib/crust"
then I linked the directory to the directory
"ln -s /usr/lib/crust-firmware /usr/lib/crust"

Then I did a sudo apt upgrade and the upgrade appears to be proceeding
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrade to Trixie Unstable? biketool 3 46 3 hours ago
Last Post: biketool
  Mobian boot failed with zstd message after upgrade. Mahgue 0 968 09-01-2023, 11:29 AM
Last Post: Mahgue
  Boot log analyses -> GPU no regulator (mali) found freelectro 0 1,376 03-06-2023, 12:06 PM
Last Post: freelectro
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 2,999 03-01-2023, 04:45 PM
Last Post: anonymous
  No boot after upgrade: vibration, red LED, then 2 vibrations and yellow LED 3x5co 1 1,375 01-04-2023, 06:46 PM
Last Post: 3x5co
Exclamation No modems were found: No mobile data, no 2G anonymous 2 1,966 12-26-2022, 06:46 PM
Last Post: anonymous
  Receive MMS fails after Nov 27 upgrade treebeard 17 8,748 12-12-2022, 05:09 AM
Last Post: anonymous
  Dist-upgrade and Chatty vs Gnome-Contacts biketool 9 5,508 09-30-2022, 08:53 PM
Last Post: treebeard
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 6,384 09-23-2022, 05:15 AM
Last Post: biketool
  New Tow-boot release, how to upgrade? user641 3 2,616 08-23-2022, 08:45 AM
Last Post: user641

Forum Jump:


Users browsing this thread: 2 Guest(s)