UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to degrade the repowerd

    Scheduled Pinned Locked Moved Unsolved Support
    2 Posts 2 Posters 183 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • S Offline
        suhuangjian
        last edited by

        Hello, I use Ubuntu Touch on Nexus6p

        after I run the "apt-get upgrade" command,

        The following packages have unmet dependencies:
         repowerd : Depends: repowerd-data (= 2018.04+ubports+0~20220810204931.7~1.gbp40e09b) but 2018.04+ubports+0~20220324230500.5~1.gbp47f5a2 is to be installed
        E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
        

        after run "apt-get -f install"

        Unpacking repowerd-data (2018.04+ubports+0~20220810204931.7~1.gbp40e09b) over (2018.04+ubports+0~20220324230500.5~1.gbp47f5a2) ...
        dpkg: error processing archive /var/cache/apt/archives/repowerd-data_2018.04+ubports+0~20220810204931.7~1.gbp40e09b_all.deb (--unpack):
         unable to make backup link of './usr/share/repowerd/device-configs/config-default.xml' before installing new version: Invalid cross-device link
        Errors were encountered while processing:
         /var/cache/apt/archives/repowerd-data_2018.04+ubports+0~20220810204931.7~1.gbp40e09b_all.deb
        W: No sandbox user '_apt' on the system, can not drop privileges
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        
        

        I try run "apt-get install repowerd-data=2018.04+ubports+0~20220324230500.5~1.gbp47f5a2
        ", it is does not work.

        enable the developer mode, computer can't find the adb devices

        How can I fix this problem or reinstall the ubuntu touch

        1 Reply Last reply Reply Quote 0
        • flohackF Offline
          flohack
          last edited by

          Please do not use apt at all, we are doing image-based upgrades, and have a channel concept:

          • stable channel for all users
          • release candidate (RC) for testers and devs, and ambitious users
          • devel for developers

          when using apt you would update to latest packages in devel, that might break your phone or has other complications. This is not a desktop distro!

          Solution: Change to another channel briefly or reinstall UT with the installer. That will fix your issue.

          BR Florian

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          1 Reply Last reply Reply Quote 2
          • First post
            Last post