PINE64
Can't complete update of manjaro: wwan0 stays disabled; no phone/text - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: Can't complete update of manjaro: wwan0 stays disabled; no phone/text (/showthread.php?tid=19546)



Can't complete update of manjaro: wwan0 stays disabled; no phone/text - gilford - 12-04-2024

I started an upgrade and am unable to complete it.


To even see the relevant iface (and confirm it failed to grab an IP), I had to do

Code:
ifconfig wwan0 up
ifconfig wwan0


The modem is "disabled", and I do not know how  to enable it.

Code:
mmcli -m any | grep state
           |                   state: disabled
           |             power state: off
           |    packet service state: detached
nmcli r wifi on
mmcli -m any | grep state
           |                   state: disabled
           |             power state: off
           |    packet service state: detached


Now, my PPP lacks phone and internet .

Everything other than the modem (including WiFi, but not bluetooth, which I will comment on separately if need be) seems fine, so far.

Here is what I see when I answer the default Y, to all save libgpiod,

Code:
:: libgpiod1 and libgpiod are in conflict. Remove libgpiod? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libgpiod1 and libgpiod are in conflict
Answering Y, gives,

Code:
:: libgpiod1 and libgpiod are in conflict. Remove libgpiod? [y/N] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kdav2
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kimap2
:: removing kcontacts breaks dependency 'kcontacts' required by kpeoplesink
:: removing kpeople breaks dependency 'kpeople' required by kpeoplesink
:: removing kcontacts breaks dependency 'kcontacts' required by sink
:: removing kcalendarcore breaks dependency 'kcalendarcore' required by sink


When I try to remove the culprits, I have the following.

Code:
looking for conflicting packages...
warning: removing 'libgpiod' from target list because it conflicts with 'libgpiod1'
:: libgpiod1 and libgpiod are in conflict. Remove libgpiod? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kdav2
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kimap2
:: removing kcontacts breaks dependency 'kcontacts' required by kpeoplesink
:: removing kpeople breaks dependency 'kpeople' required by kpeoplesink
:: removing kcontacts breaks dependency 'kcontacts' required by sink
:: removing kcalendarcore breaks dependency 'kcalendarcore' required by sink
From the forum, I found

New PinePhone user issues - https://forum.pine64.org/showthread.php?tid=19402&pid=123017#pid123017

Pacman update cannot resolve plasma-mobile dependencies. · Issue #75 · manjaro-pinephone/plasma-mobile · GitHub — https://github.com/manjaro-pinephone/plasma-mobile/issues/75

I recently posted something as detailed as possible about this on the pine64 forum: (See above)

https://forum.pine64.org/showthread.php?tid=19402&pid=123017#pid123017

To sum up:

You need to delete all foreign packages at once with the following two commands:

pacman -Qmq > list.txt

pacman -R - < list.txt

(Be careful to sort out the packages that have been installed by the user from the AUR)

Then, of course, you need to remove the orphaned packages.



So guided, I tried removing each of the culprits. (I did not want to remove anything not required.)



Code:
pacman -R kcoreaddons
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kactivities
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kalk
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kauth
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kcontacts        <--SHOULD DO 2nd
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kcrash
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kdav2
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kdesignerplugin
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kfilemetadata
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kimap2
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kjobwidgets
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by knotifications
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kpackage
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kpeople
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kpipewire
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kpty
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by krecorder
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kservice
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by kweather
:: removing kcoreaddons breaks dependency 'kcoreaddons' required by qmlkonsole

pacman -R kcontacts
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kcontacts breaks dependency 'kcontacts' required by kpeoplesink    <--REMOVE WITH kpeople, 1st
:: removing kcontacts breaks dependency 'kcontacts' required by kpeoplevcard    <--REMOVE WITH kpeople, 1st
:: removing kcontacts breaks dependency 'kcontacts' required by libkgapi
:: removing kcontacts breaks dependency 'kcontacts' required by plasma-dialer
:: removing kcontacts breaks dependency 'kcontacts' required by plasma-phonebook
:: removing kcontacts breaks dependency 'kcontacts' required by sink
:: removing kcontacts breaks dependency 'kcontacts' required by spacebar

pacman -R kpeople
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kpeople breaks dependency 'kpeople' required by calindori
:: removing kpeople breaks dependency 'kpeople' required by kpeoplesink
:: removing kpeople breaks dependency 'kpeople' required by kpeoplevcard
:: removing kpeople breaks dependency 'kpeople' required by plasma-mobile
:: removing kpeople breaks dependency 'kpeople' required by plasma-phonebook
:: removing kpeople breaks dependency 'kpeople' required by plasma-workspace

    MUST COMBINE WITH REMOVAL OF kcontacts
pacman -R kcalendarcore
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kcalendarcore breaks dependency 'kcalendarcore' required by calindori    <--REMOVE WITH kpeople, 1st
:: removing kcalendarcore breaks dependency 'kcalendarcore' required by libkgapi
:: removing kcalendarcore breaks dependency 'kcalendarcore' required by sink        <--REMOVE WITH kcontacts, 2nd


With the information above, I attempted to remove kpeople.

Code:
pacman -R kpeople
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kpeople breaks dependency 'kpeople' required by calindori
:: removing kpeople breaks dependency 'kpeople' required by kpeoplesink
:: removing kpeople breaks dependency 'kpeople' required by kpeoplevcard
:: removing kpeople breaks dependency 'kpeople' required by plasma-mobile
:: removing kpeople breaks dependency 'kpeople' required by plasma-phonebook
:: removing kpeople breaks dependency 'kpeople' required by plasma-workspace
I grew suspicious here. I found hard to believe that pacman considered plasma-mobile to be foreign

plasma-mobile

Code:
pacman -Qmq | grep plasma-mobile
gave no matches.

NOTA BENE: the above post makes no mention of this dependency when it says  to remove all foreign packages.

Clearly, such is not possible on my system.

Daunted, I continued for completeness.

Code:
pacman -R kpeople calindori kpeoplesink kpeoplevcard plasma-mobile plasma-phonebook plasma-workspace plasma-mobile-nm plasma-dialer plasma-pa plasma-wayland-session plasma-wayland-session powerdevil systemsettings
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kpeoplevcard breaks dependency 'kpeoplevcard' required by kdeconnect
:: removing systemsettings breaks dependency 'systemsettings' required by plasma-desktop
:: removing powerdevil breaks dependency 'powerdevil' required by plasma-desktop
No. Way.

I find myself in an absurd situation: an upgrade knocked out the modem.



How may I disentangle this Gordian Knot, and at least restore my modem,

ideally, complete the upgrade?


RE: Can't complete update of manjaro: wwan0 stays disabled; no phone/text - gilford - 12-04-2024

Partly (temporarily?) solved.

After executing

systemctl restart eg25-manager
ifconfig wwlan0
wwlan0: error fetching interface information: Device not found
ifconfig

I saw that both wlan0 and wwan0 disappeared.

rfkill unblock all
ifconfig wlan0 up
ifconfig

showed wlan0

I use eth0 and do not, at the moment, have wifi to test.

ifconfig wwan0 up
wwan0: ERROR while getting interface flags: No such device
reboot

Restored wwan0!
I can now make calls.
Also, activating wifi via GUI brought up wlan0.

I neither know if the system is truly fixed (as wifi shows neighborhood hotspots, but I have not tested it),
nor if what appears to be a fix will survive a reboot. (I need my phone for a good while before I can take a gamble).
Moreover, I do not understand /why/ what I did would restore the modem.

Any explanation/assistance would be welcome.


RE: Can't complete update of manjaro: wwan0 stays disabled; no phone/text - Kevin Kofler - 12-05-2024

You want nmcli r wwan on, not nmcli r wifi on.


RE: Can't complete update of manjaro: wwan0 stays disabled; no phone/text - gilford - 12-05-2024

(12-05-2024, 12:11 AM)Kevin Kofler Wrote: You want nmcli r wwan on, not nmcli r wifi on.

Noted.
Thanks!