×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

How Update Kstars on Astroberry RPi4

  • Posts: 2
  • Thank you received: 0
The repository has kstars 3.5 but in my case I had to perform distro update. After using
apt-get dist-upgrade, I got the newest kstars with no problems.
3 years 3 months ago #65988

Please Log in or Create an account to join the conversation.

  • Posts: 224
  • Thank you received: 20
did you get 3.5.1 already? Or 3.5.0?
3 years 3 months ago #65999

Please Log in or Create an account to join the conversation.

  • Posts: 213
  • Thank you received: 31
Tried to run update just now to see if 3.5.1 was available, but hit an error:

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

(yes, I used sudo) I have successfully updated in the past.
Rebooted the pi, same result. Suggestions?
3 years 3 months ago #66114

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 30
This error occurs when there is already one instance of the updater running. However, installation should work after reboot (you kill it),
But also could be a daemon which is started at boot,,, Please, check which applications are running with the task manager and if you see something related to program/dist updating, kill it.
Last edit: 3 years 3 months ago by Joaquin.
3 years 3 months ago #66125

Please Log in or Create an account to join the conversation.

  • Posts: 213
  • Thank you received: 31
Thanks for the reply. Nothing jumps out at me, but I am not familiar with what should or should not be running at startup.
3 years 3 months ago #66129
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 30
I do not see anything that could be getting the lock...
Sorry, out of ideas
3 years 3 months ago #66131

Please Log in or Create an account to join the conversation.

  • Posts: 269
  • Thank you received: 53
The usual culprit on Ubuntu is unattended-upgrade. But I'm not familiar with Astroberry and that might not exist or has been disabled.
3 years 3 months ago #66133

Please Log in or Create an account to join the conversation.

  • Posts: 213
  • Thank you received: 31
Little snippets of *NIX come back to me in a foggy haze sometimes. I used sudo -s and then separately apt-get update then apt-get upgrade. That worked.

Still KStars 3.5.0 though, so I'll need to do it again, I guess in a few days :)
3 years 3 months ago #66146

Please Log in or Create an account to join the conversation.

  • Posts: 389
  • Thank you received: 15
Hello,

The error with the packaging DB getting locked usually occurs within 60-70 secs after boot up. I wait 2-3 minutes for Raspbian OS to finish its health checks before checking for updates. The lock is supposed to be temporary. As for KSTARS not updating, the AstroBerry canonical list is limited to few libraries. This is to ensure that the paradigm of AstroBerry doesn’t get so messed up that Kaczorek spends a long time fixing.

I added the canonical libraries of KSTARS Bleeding, INDI, and a Raspbian. That was it. Raspbian is nothing like Ubuntu. Ubuntu mixes i386 with ARMFH. For example, under Ubuntu, a Raspberry kernel update will never install because a symbolic link it tries to create is on the FAT32 side of Raspbian. I sought support and was told this kernel is for i386 and who is Raspberry?
3 years 3 months ago #66171

Please Log in or Create an account to join the conversation.

  • Posts: 224
  • Thank you received: 20
Hi Arado,
so you did the following in the astroberry installation?
sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get update
sudo apt-get install indi-full kstars-bleeding

What canonical library for raspbian did you include? I'm not so familiar with Raspberry Pi OS/Raspbian...

Thank you
3 years 3 months ago #66175

Please Log in or Create an account to join the conversation.

  • Posts: 389
  • Thank you received: 15
Hello,

Yes. These two repositories were what I add. The Raspbian was specifically for BIOS and Firmware. I noticed several needed updating before Raspbian and AstroBerry were at peace with each other.
3 years 3 months ago #66183

Please Log in or Create an account to join the conversation.

  • Posts: 224
  • Thank you received: 20
do you have the name of the raspbian repository I have to add? Sorry, but I'm more familiar with opensuse ;-)
3 years 3 months ago #66184

Please Log in or Create an account to join the conversation.

Moderators: Radek Kaczorek
Time to create page: 1.907 seconds