capyloon / nutria

Experimental Web Based OS Frontend
GNU Affero General Public License v3.0
188 stars 20 forks source link

Raspbian Installation fails #76

Open arky opened 4 months ago

arky commented 4 months ago

Describe the bug

Unable to install capyloon debian packages on Raspbian. Results in package dependency issues.

Environment

To Reproduce Steps to reproduce the behavior:

  1. Go setup Capyloon apt repo and import GPG key
  2. Do 'apt update && apt install *` prerequisite debian packages including sway
  3. Do 'apt install capyloon-rpi`
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots$ sudo apt-get install capyloon-rpi Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: capyloon-rpi:arm64 : Depends: libgtk-3-0:arm64 (>= 3.0.0) but it is not going to be installed Depends: libasound2:arm64 (>= 1.0.16) but it is not going to be installed Depends: libdbus-glib-1-2:arm64 (>= 0.78) but it is not installable Depends: sway:arm64 but it is not installable Depends: network-manager:arm64 but it is not going to be installed E: Unable to correct problems, you have held broken packages.

$ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm

$ sudo apt-get -o Debug::pkgProblemResolver=yes install capyloon-rpi Reading package lists... Done Building dependency tree... Done Reading state information... Done Starting pkgProblemResolver with broken count: 1 Starting 2 pkgProblemResolver with broken count: 1 Investigating (0) capyloon-rpi:arm64 < none -> 0.3-19644 @un puN Ib > Broken capyloon-rpi:arm64 Depends on libgtk-3-0:arm64 < none | 1:3.24.38-2~deb12u1+rpt5+rpi1 @un uH > (>= 3.0.0) Considering libgtk-3-0:arm64 0 as a solution to capyloon-rpi:arm64 9999 Reinst Failed early because of libgcc-s1:arm64 Reinst Failed because of libc6:arm64 Reinst Failed because of libatk1.0-0:arm64 Reinst Failed because of libatk-bridge2.0-0:arm64 Broken capyloon-rpi:arm64 Depends on libasound2:arm64 < none | 1.2.8-1+rpt1 @un uH > (>= 1.0.16) Considering libasound2:arm64 0 as a solution to capyloon-rpi:arm64 9999 Reinst Failed because of libc6:arm64 Broken capyloon-rpi:arm64 Depends on libdbus-glib-1-2:arm64 < none @un H > (>= 0.78) Broken capyloon-rpi:arm64 Depends on fonts-arphic-ukai:arm64 < none @un H > Considering fonts-arphic-ukai:armhf 0 as a solution to capyloon-rpi:arm64 9999 Re-Instated fonts-arphic-ukai:armhf Broken capyloon-rpi:arm64 Depends on fonts-arphic-uming:arm64 < none @un H > Considering fonts-arphic-uming:armhf 0 as a solution to capyloon-rpi:arm64 9999 Re-Instated fonts-arphic-uming:armhf Broken capyloon-rpi:arm64 Depends on sway:arm64 < none @un H > Broken capyloon-rpi:arm64 Depends on network-manager:arm64 < none | 1.42.4-1+rpt1 @un uH > Considering network-manager:arm64 0 as a solution to capyloon-rpi:arm64 9999 Reinst Failed early because of libaudit1:arm64 Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: capyloon-rpi:arm64 : Depends: libgtk-3-0:arm64 (>= 3.0.0) but it is not going to be installed Depends: libasound2:arm64 (>= 1.0.16) but it is not going to be installed Depends: libdbus-glib-1-2:arm64 (>= 0.78) but it is not installable Depends: sway:arm64 but it is not installable Depends: network-manager:arm64 but it is not going to be installed E: Unable to correct problems, you have held broken packages.

Additional context Add any other context about the problem here.

fabricedesre commented 4 months ago

Can you check which version of the packages that fail to install are available?

arky commented 4 months ago

@fabricedesre The problem is happening the current stable release of capyloon-rpi. Am experimenting with debian control settings with equivs to see if I could send you correct patch.

$ sudo apt policy capyloon-rpi
capyloon-rpi:arm64:
  Installed: (none)
  Candidate: 0.3-19644

$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm
arky commented 4 months ago

Am going to following workaround for now:

# Install Capyloon dependencies
sudo apt install -y libasound2 libgtk-3-0 libdbus-glib-1-2 network-manager sway  \
    plymouth-theme-capyloon fonts-arphic-ukai fonts-arphic-uming

# Install Capyloon-rpi packages
sudo apt download capyloon-rpi 
sudo dpkg --force-all -i ./capyloon-rpi*deb

Here are the package dependency information

$ apt-cache policy libgtk-3-0 libasound2 libdbus-glib-1-2 network-manager sway 
libgtk-3-0:
  Installed: 1:3.24.38-2~deb12u1+rpt5+rpi1
  Candidate: 1:3.24.38-2~deb12u1+rpt5+rpi1
  Version table:
 *** 1:3.24.38-2~deb12u1+rpt5+rpi1 500
        500 http://archive.raspberrypi.com/debian bookworm/main armhf Packages
        100 /var/lib/dpkg/status
     3.24.38-2~deb12u1 500
        500 http://archive.raspbian.org/raspbian bookworm/main armhf Packages
libasound2:
  Installed: 1.2.8-1+rpt1
  Candidate: 1.2.8-1+rpt1
  Version table:
 *** 1.2.8-1+rpt1 500
        500 http://archive.raspberrypi.com/debian bookworm/main armhf Packages
        100 /var/lib/dpkg/status
     1.2.8-1+b1 500
        500 http://archive.raspbian.org/raspbian bookworm/main armhf Packages
libdbus-glib-1-2:
  Installed: 0.112-3
  Candidate: 0.112-3
  Version table:
 *** 0.112-3 500
        500 http://archive.raspbian.org/raspbian bookworm/main armhf Packages
        100 /var/lib/dpkg/status
network-manager:
  Installed: 1.42.4-1+rpt1
  Candidate: 1.42.4-1+rpt1
  Version table:
 *** 1.42.4-1+rpt1 500
        500 http://archive.raspberrypi.com/debian bookworm/main armhf Packages
        100 /var/lib/dpkg/status
     1.42.4-1 500
        500 http://archive.raspbian.org/raspbian bookworm/main armhf Packages
sway:
  Installed: 1.7-6
  Candidate: 1.7-6
  Version table:
 *** 1.7-6 500
        500 http://archive.raspbian.org/raspbian bookworm/main armhf Packages
        100 /var/lib/dpkg/status

libasound2 is already the newest version (1.2.8-1+rpt1).
libgtk-3-0 is already the newest version (1:3.24.38-2~deb12u1+rpt5+rpi1).
libdbus-glib-1-2 is already the newest version (0.112-3).
network-manager is already the newest version (1.42.4-1+rpt1).
sway is already the newest version (1.7-6).
capyloon-rpi:arm64 is already the newest version (0.3-19644).
plymouth-theme-capyloon is already the newest version (1.3).
fonts-arphic-ukai is already the newest version (0.2.20080216.2-5).
fonts-arphic-uming is already the newest version (0.2.20080216.2-11).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 capyloon-rpi:arm64 : Depends: libgtk-3-0:arm64 (>= 3.0.0) but it is not going to be installed
                      Depends: libasound2:arm64 (>= 1.0.16) but it is not going to be installed
                      Depends: libdbus-glib-1-2:arm64 (>= 0.78) but it is not installable
                      Depends: sway:arm64 but it is not installable
                      Depends: network-manager:arm64 but it is not going to be installed