PINE64
"Unable to download updates: The following packages have unmet dependencies:" - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: "Unable to download updates: The following packages have unmet dependencies:" (/showthread.php?tid=12641)

Pages: 1 2


"Unable to download updates: The following packages have unmet dependencies:" - bitnick - 12-28-2020

Since a couple of weeks I cannot update Mobian on my Pinephone UBports edition.

Software -> Updates -> Download fails with "Unable to download updates: The following packages have unmet dependencies:" shown in a dark pop-up.

Any idea how to troubleshoot this? Should I do a console update + upgrade instead?


RE: "Unable to download updates: The following packages have unmet dependencies:" - ryo - 12-28-2020

(12-28-2020, 02:45 AM)bitnick Wrote: Any idea how to troubleshoot this? Should I do a console update + upgrade instead?
Yes, this is the recommended way anyway.
If you want to save up on typing, you can edit /home/mobian/.bashrc, and add:
Code:
alias appupdate = "sudo apt update && sudo apt upgrade && sudo apt autoremove"

The added bonus is that in the terminal you can see what dependencies it's exactly whining about.


RE: "Unable to download updates: The following packages have unmet dependencies:" - TheLastDon - 12-29-2020

(12-28-2020, 02:45 AM)bitnick Wrote: Since a couple of weeks I cannot update Mobian on my Pinephone UBports edition.

Software -> Updates -> Download fails with "Unable to download updates: The following packages have unmet dependencies:" shown in a dark pop-up.

Any idea how to troubleshoot this? Should I do a console update + upgrade instead?
Flash the 12/28 nightly build onto your phone instead of the 12/15 one, which is what I"m assuming you have. The problem went away.


RE: "Unable to download updates: The following packages have unmet dependencies:" - bitnick - 12-30-2020

@ryo: apt update + apt upgrade went fine. Thanks! However Software -> Updates now says "Sorry, something went wrong: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)"

Someone knows what's wrong/how to fix it, or is it console updates only from now on for me? Smile

@TheLastDon: I'm trying to avoid flashing new images, since that entails redoing all configuration yet again. But good to know this problem is fixed in newer images.


RE: "Unable to download updates: The following packages have unmet dependencies:" - ryo - 12-30-2020

(12-30-2020, 04:14 AM)bitnick Wrote: Software -> Updates now says "Sorry, something went wrong: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)"
GUI frontends for package managers in general have a track record of constantly working and breaking depending on its mood.
Both on Pinephone/Pinetab, and on any kind of PC.

This is why we Linux users love the terminal so much, and it's one type of marriage which will never see a divorce.
Because while the GUI is forever instable, the command line just works.
So probably a better idea to get used to updating using the terminal in case you're not yet.


RE: "Unable to download updates: The following packages have unmet dependencies:" - 3x5co - 12-31-2020

I'm having the same problem. I have sid and bullseye repos in my sources, and I got this message in the software center. In the CLI, I got these problems:

```
The following packages have unmet dependencies:
mobian-phosh : Depends: phosh-full but it is not installed
                Recommends: phosh-games but it is not installed
mobian-phosh-base : Depends: mobian-base (= 0.2.8) but 0.1.9 is installed
                    Depends: phosh-core but it is not installed
                    Depends: mobian-tweaks-phosh but it is not installed
mobian-phosh-extras : Depends: mobian-multimedia (= 0.2.8) but 0.1.9 is installed
                      Recommends: megapixels but it is not installed
mobian-phosh-phone : Depends: mobian-phone-base (= 0.2.8) but it is not installed
                      Depends: phosh-phone but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

```

And when I try to run `sudo apt --fix-broken install I get this error:

```
Removing mobian-tweaks (0.2.7) ...
Error: unknown connection 'USB'.
Error: cannot delete unknown connection(s): 'USB'.
dpkg: error processing package mobian-tweaks (--remove):
installed mobian-tweaks package pre-removal script subprocess returned error exit status 10
dpkg: too many errors, stopping

```


So I'm kind of stuck now.


RE: "Unable to download updates: The following packages have unmet dependencies:" - 3x5co - 01-02-2021

My problem may have been more specific than others' on this thread, but I solved it myself by running this:

```
sudo apt -o Dpkg::Options::="--force-overwrite" install gnome-calls
```


RE: "Unable to download updates: The following packages have unmet dependencies:" - Pines - 02-12-2021

(12-28-2020, 03:27 AM)ryo Wrote:
Code:
alias appupdate = "sudo apt update && sudo apt upgrade && sudo apt autoremove"

As per this blog post it should be:
Code:
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove

But I also saw and performed these ones, from their Troubleshooting page:
Code:
sudo apt-get install packagekit-tools
sudo pkcon repair
sudo pkcon get-updates
sudo pkcon update



RE: "Unable to download updates: The following packages have unmet dependencies:" - sax1960 - 02-15-2021

Help!

Since I was in trouble with the update with my PP CE just arrived, I preformed the following commands:

Code:
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove

Now the I'm unable to log into the phone because the default pin 1234 is not recognized. Any suggestion?
Thanks

(02-15-2021, 03:01 PM)sax1960 Wrote: Help!

Since I was in trouble with the update with my PP CE just arrived, I preformed the following commands:

Code:
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove

Now the I'm unable to log into the phone because the default pin 1234 is not recognized. Any suggestion?
Thanks

I decided to reboot after 1 hour and the PIN now works.


RE: "Unable to download updates: The following packages have unmet dependencies:" - MikeMan - 03-02-2021

(02-15-2021, 03:01 PM)sax1960 Wrote: Help!

Since I was in trouble with the update with my PP CE just arrived, I preformed the following commands:

Code:
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove

Now the I'm unable to log into the phone because the default pin 1234 is not recognized. Any suggestion?
Thanks

(02-15-2021, 03:01 PM)sax1960 Wrote: Help!

Since I was in trouble with the update with my PP CE just arrived, I preformed the following commands:

Code:
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove

Now the I'm unable to log into the phone because the default pin 1234 is not recognized. Any suggestion?
Thanks

I decided to reboot after 1 hour and the PIN now works.

   Same problem here - except I ran "
sudo apt-get install packagekit-tools
sudo pkcon repair
sudo pkcon get-updates
sudo pkcon updater
It ran through a lot of stuff for a long time and I assumed it had finished. Tried to bring it back from screensaver but PIN wouldn't work. I forced a reboot 'cos it wouldn't accept the PIN I had set, then entered my crypto key (that worked) and now it just sits there with a blank black look on its face. lololol It kinda blinks every now and then. lololol
I think I'll just leave it there like that for a good while - with my fingers crossed.

lolol Anyone know what the reset button does? lololol

EDIT; Downloading fresh nightly Mobian and will start again.