×

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

Bi-monthly release with minor bug fixes and improvements

Problem updating kstars

  • Posts: 31
  • Thank you received: 1
I recently bought the stellarmate OS and installed it on a Rpi 3b+. I was trying to update kstars to the latest 3.2.1 build. I followed the instructions and got some errors:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bind9-host : Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is to be installed
Depends: libdns162 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is to be installed
Depends: libisc160 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is to be installed
Depends: libisccfg140 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is to be installed
Depends: liblwres141 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is to be installed
kstars-bleeding : Depends: kstars-bleeding-data (>= 6:3.2.1+201904272146~ubuntu16.04.1) but 6:3.2.0+201904141549~ubuntu16.04.1 is to be installed
Depends: kstars-bleeding-dbg (= 6:3.2.1+201904272146~ubuntu16.04.1) but 6:3.2.0+201904141549~ubuntu16.04.1 is to be installed
kstars-bleeding-dbg : Depends: kstars-bleeding (= 6:3.2.0+201904141549~ubuntu16.04.1) but 6:3.2.1+201904272146~ubuntu16.04.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
stellarmate@stellarmate:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
bind9-host
The following packages will be upgraded:
bind9-host
1 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
10 not fully installed or removed.
Need to get 0 B/36.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 166066 files and directories currently installed.)
Preparing to unpack .../bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.14_armhf.deb ...
Unpacking bind9-host (1:9.10.3.dfsg.P4-8ubuntu1.14) over (1:9.10.3.dfsg.P4-8ubuntu1.12) ...
dpkg: error processing archive /var/cache/apt/archives/bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.14_armhf.deb (--unpack):
trying to overwrite '/usr/bin/host', which is also in package libcups2:armhf 2.1.3-4ubuntu0.7
Errors were encountered while processing:
/var/cache/apt/archives/bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.14_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I'm new to linux and have no idea on what to do. Any help is greatly appreciated!
Doug
5 years 4 months ago #38528

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

  • Posts: 1957
  • Thank you received: 420
At the top of the output it says

“You might want to run 'apt-get -f install' to correct these”

so please open a terminal and type

sudo apt-get -f install


Wouter
5 years 4 months ago #38529

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

  • Posts: 31
  • Thank you received: 1
I did that and that's what brought up the error message at the bottom. I ran the software updater and it is from the BIND 9.x update.
5 years 4 months ago #38530

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

  • Posts: 83
  • Thank you received: 6
I have the exact same issue.

stellarmate@stellarmate:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
bind9-host
The following packages will be upgraded:
bind9-host
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
137 not fully installed or removed.
Need to get 0 B/36.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 166115 files and directories currently installed.)
Preparing to unpack .../bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.14_armhf.deb ...
Unpacking bind9-host (1:9.10.3.dfsg.P4-8ubuntu1.14) over (1:9.10.3.dfsg.P4-8ubuntu1.12) ...
dpkg: error processing archive /var/cache/apt/archives/bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.14_armhf.deb (--unpack):
trying to overwrite '/usr/bin/host', which is also in package libcups2:armhf 2.1.3-4ubuntu0.7
Errors were encountered while processing:
/var/cache/apt/archives/bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.14_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
stellarmate@stellarmate:~$
"Some people are so poor, all they have is money"
SW Black Diamond 80ED | SW150MAK | Newton SW 200/1000 | Orion 50mm Guider with Helical Focuser |Sirius EQ-G Rowan Belt Mode
Canon 1000D moded | ZWO ASI185MC | Baader Mark III Zoom
INDI | Stellarmate on RPI3B+ | Stellarium | Pixinsight
5 years 4 months ago #38546

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

  • Posts: 84
  • Thank you received: 6
Something similar here, it seems to be related to Ubuntu1.14 where it should have been Ubuntu1.12, I also tried apt-get install -f, no changes:

The Package System is broken
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

bind9-host: Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is installed
Depends: libdns162 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is installed
Depends: libisc160 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is installed
Depends: libisccfg140 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is installed
Depends: liblwres141 (= 1:9.10.3.dfsg.P4-8ubuntu1.12) but 1:9.10.3.dfsg.P4-8ubuntu1.14 is installed

EDIT: Just downloaded Stellarmate 1.3.4, doing a hard reset - I'll be back :-)
Last edit: 5 years 4 months ago by Keld Henningsen.
5 years 4 months ago #38548

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

  • Posts: 1067
  • Thank you received: 140

Replied by AstroNerd on topic Problem updating kstars

And me .... :( and this is with the latest 1.3.4 version

Last edit: 5 years 4 months ago by AstroNerd.
5 years 4 months ago #38552
Attachments:

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

  • Posts: 1067
  • Thank you received: 140

Replied by AstroNerd on topic Problem updating kstars

And with the f install command I get this.. :(
5 years 4 months ago #38553
Attachments:

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

  • Posts: 222
  • Thank you received: 20

Replied by Rick Wayne on topic Problem updating kstars

I note that some of you are prepending your commands with "sudo" and some are not. For Linux noobs, note that a "regular" user will probably not have permissions to update system files and so the commands will fail. To get around this, use "sudo", short for "super-user do". It will run the command as the "superuser" account. You will be prompted for a password, which should be the one you use for logging in (it has nothing to do with the superuser's account password). After you authenticate once, you should be able to run multiple "sudo" commands without authenticating every time.

see xkcd.com/149/ for an example :-)
The following user(s) said Thank You: AstroNerd
5 years 4 months ago #38554

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

  • Posts: 3
  • Thank you received: 3

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

  • Posts: 1067
  • Thank you received: 140

Replied by AstroNerd on topic Problem updating kstars


I get this, but what after 18 months of just doing normal updates with no issues, should we have to do it like this now..?.? I don’t understand...
5 years 4 months ago #38558

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

  • Posts: 84
  • Thank you received: 6
It’s a temporary bug AstroNerd, it will be fixed.
I updated to 1.3.4, did a software update afterwards omitting any Ubuntu updates - no problem.
The following user(s) said Thank You: AstroNerd
5 years 4 months ago #38577

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

  • Posts: 83
  • Thank you received: 6
... with a clean install of StellarMateOS_1.3.4.img I did an upgrade (not a dist-upgrade)

stellarmate@stellarmate:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
indi-sx indi-sx-dbg iproute iproute2 libldap-2.4-2 login passwd unattended-upgrades
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
16 not fully installed or removed.
Need to get 1,859 kB of archives.
After this operation, 89.1 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

And then another apt-get upgrade showed this:

stellarmate@stellarmate:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So for now, as DrawsACircle just mentioned, just do an upgrade ..

for info:

upgrade
upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.

dist-upgrade
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.
"Some people are so poor, all they have is money"
SW Black Diamond 80ED | SW150MAK | Newton SW 200/1000 | Orion 50mm Guider with Helical Focuser |Sirius EQ-G Rowan Belt Mode
Canon 1000D moded | ZWO ASI185MC | Baader Mark III Zoom
INDI | Stellarmate on RPI3B+ | Stellarium | Pixinsight
5 years 4 months ago #38581

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

Time to create page: 1.146 seconds