Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install debian #1388

Closed
lnoxsian opened this issue Jun 3, 2024 · 29 comments
Closed

Unable to install debian #1388

lnoxsian opened this issue Jun 3, 2024 · 29 comments

Comments

@lnoxsian
Copy link

lnoxsian commented Jun 3, 2024

Just as the name states unable to install debian stable on linux deploy as i have set up linux deploy with the settings
settings
and the error is
error
the version of busybox is
busybox
and the app version is
Screenshot_20240603-211951_Linux_Deploy
all the settings are default and the device is running lineage os with magisk as the root permission manager so its as far i know its reproducable on one more device with the same exact error so know of any fixes

@griha41
Copy link

griha41 commented Jun 3, 2024

Based on your submitted screenshots, I can say that you have an issue with Debian decencies itself.
The installer reports that there's the packages that couldn't be resolved by name or version, the branch of debian that you trying to download is required the package version that's not existing at the brach.

I don't know how you can resolve it without rebuilding the package froms source and validate each step of installation.

I'm not sure but might be the presented packages that's not required by standard installer but required by installer system that's provided in the application and that's the base of issue as I'm thinking.

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

So i do know about the dependencies being outdated does updating or editing the scripts in linux-deploy-cli found in the /data/data folder help change the output ? i dont know whats gonna happen also thanks for you help

@griha41
Copy link

griha41 commented Jun 4, 2024

So i do know about the dependencies being outdated does updating or editing the scripts in linux-deploy-cli found in the /data/data folder help change the output ? i dont know whats gonna happen also thanks for you help

Hm if you know where's it's located then we can mess it up as we prefer to see!
We can use Android Studio for the file access or even Android itself because there's one path that can grant us access to International memory (/media/0/Android/data)
With root eights we can override the files in /data/data with Root Explorer App for example. I'm sorry I have only the Android 14 (31 API) and app is quite outdated, but I think bit later I'll try to mess up with it, maybe I'll able to find how to override "recipes" and make Debian working again on LInux Deploy, but it's required some time to waste :D

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

i do have root access so i can edit the /data/data/meefik.something.* folder i think updating debootstrap and fixing some scripts can i guess get debian working on the bright side alpine works perfectly last i checked also trying to run the seperate cli program on my local machine to find any changes in between the app and the linuxdeploycli

@griha41
Copy link

griha41 commented Jun 4, 2024

i do have root access so i can edit the /data/data/meefik.something.* folder i think updating debootstrap and fixing some scripts can i guess get debian working on the bright side alpine works perfectly last i checked also trying to run the seperate cli program on my local machine to find any changes in between the app and the linuxdeploycli

I can give my head in work if i don't onow what to do. Anyway I need to explore what do i can do and only then we could fine the possible solution :-)

@griha41
Copy link

griha41 commented Jun 4, 2024

i do have root access so i can edit the /data/data/meefik.something.* folder i think updating debootstrap and fixing some scripts can i guess get debian working on the bright side alpine works perfectly last i checked also trying to run the seperate cli program on my local machine to find any changes in between the app and the linuxdeploycli

Mate I'd found the way how we can shook it.
On my A14, the path of profile is: /data/user/0/ru.meefik.linuxdeploy/files/config/linux conf
This fule is current profile for Linux distro.

If check it's content you'll found the line: SUITE="buster"
Buster is completely outdated and if we'll try to switch to the "bookworm" that migh be that everything starts without the errors.

DON'T USE THE STABLE NAME, because it might require the wrong decencies!

I'm performing current actions for the configuration.

1st of all prepare the confirmation though the App then stip it.

  1. Perform the configuration.
  2. Press stop button when configuration is done.
  3. Started the installation (in img container in device memory/Linux/Debian_Bookworm.img, I'd setted 10Gb size).
  4. Awaiting when it's finished (it requires some time)
    P.S. Idk I met troubles that can't download some pkgs...

Maybe you'll be bit more lucky :D

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

There the files are same for the linuxdeploy-cli and the files folder in the /data/data/ru.meefik.linuxdeploy also i have changed the default config for the linux image to bookworm but it did not work

@griha41
Copy link

griha41 commented Jun 4, 2024

ok will do and try it

Failed each time on different packages this time libext2fs2 & isc-dhcp-common, I guess it's because of my WiFi...

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

it just shows the same error
image

@griha41
Copy link

griha41 commented Jun 4, 2024

it just shows the same error
image

No man you have more luck then me it's almost configured, you can connect over ssh and complete the installation

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

there is a deploy.sh in the files/include/extra/ssh it has the command for intalling openssh-server using apt let me add the depends for openssh in it

@griha41
Copy link

griha41 commented Jun 4, 2024

there is a deploy.sh in the files/include/extra/ssh it has the command for intalling openssh-server using apt let me add the depends for openssh in it

Hm I'm passed after 6 retires to the configuration process, let's a wait xD

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

image
i guess openssh-server is not installed so it just show configured but is unable to launch since there is no openssh :)

@griha41
Copy link

griha41 commented Jun 4, 2024

image
i guess openssh-server is not installed so it just show configured but is unable to launch since there is no openssh :)

Cmon it's not balck-jack, let's not guessing let's break it though xD

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

the fun thing is the cli project has a updated debootstrap with templates for bookworm to be honest when trying this last year it just show libhogweed usermerge error in between the core install so this is a really big step up

@griha41
Copy link

griha41 commented Jun 4, 2024

the fun thing is the cli project has a updated debootstrap with templates for bookworm to be honest when trying this last year it just show libhogweed usermerge error in between the core install so this is a really big step up

I think we need to dig another file. Also what's arch do you trying to install, I'm trying amd64 and you?

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

the fun thing is the cli project has a updated debootstrap with templates for bookworm to be honest when trying this last year it just show libhogweed usermerge error in between the core install so this is a really big step up

I think we need to dig another file. Also what's arch do you trying to install, I'm trying amd64 and you?

I am using my android device and a vm for x86 also there are some docs for linuxdeploy-cli

@griha41
Copy link

griha41 commented Jun 4, 2024

the fun thing is the cli project has a updated debootstrap with templates for bookworm to be honest when trying this last year it just show libhogweed usermerge error in between the core install so this is a really big step up

I think we need to dig another file. Also what's arch do you trying to install, I'm trying amd64 and you?

I am using my android device and a vm for x86 also there are some docs for linuxdeploy-cli

It's irrelevant, what Debian Distribution arch are you using? :)

The question is important coz if we are trying the same arch then issue in Debian side, if different archs then in Lin Dep :)

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

the fun thing is the cli project has a updated debootstrap with templates for bookworm to be honest when trying this last year it just show libhogweed usermerge error in between the core install so this is a really big step up

I think we need to dig another file. Also what's arch do you trying to install, I'm trying amd64 and you?

I am using my android device and a vm for x86 also there are some docs for linuxdeploy-cli

It's irrelevant, what Debian Distribution arch are you using? :)

aarch arm64 also x86_64 :)

@griha41
Copy link

griha41 commented Jun 4, 2024

the fun thing is the cli project has a updated debootstrap with templates for bookworm to be honest when trying this last year it just show libhogweed usermerge error in between the core install so this is a really big step up

I think we need to dig another file. Also what's arch do you trying to install, I'm trying amd64 and you?

I am using my android device and a vm for x86 also there are some docs for linuxdeploy-cli

It's irrelevant, what Debian Distribution arch are you using? :)

aarch arm64 also x86_64 :)

If your's devise is x86 then you shall try the i386 or even arm86 for installation.

Coz configuration of packages may through erros and we are failde to install...

@lnoxsian
Copy link
Author

lnoxsian commented Jun 4, 2024

My android device is arm64 its just that i am trying it on both amd64 also

@griha41
Copy link

griha41 commented Jun 4, 2024

My android device is arm64 its just that i am trying it on both amd64 also

Ah i see then i missed that :)
Ok nevertheless we need dig bit deeper

@gitmanbloggus
Copy link

I'm on a kindle and I cant install older versions of debian, I want to as ubuntu is quite limited on arm for some reason,
armv7 android 2.3.7 (CM7)
amazon kindle fire 1st gen
every time I try to install, since the archive keyring is being used, it throws an error and I cant ssh into it because it can't verify the packages

@griha41
Copy link

griha41 commented Jun 5, 2024

I'm on a kindle and I cant install older versions of debian, I want to as ubuntu is quite limited on arm for some reason,
armv7 android 2.3.7 (CM7)
amazon kindle fire 1st gen
every time I try to install, since the archive keyring is being used, it throws an error and I cant ssh into it because it can't verify the packages

Maybe you shall find the way, and if i didn't missed bubuntu sended to the hell Debian and said I'm self-sufficient hooker so layoff from my daddy and went off, so idk why are you asking why is that shift isn't working in the theme about Debian...

@lnoxsian
Copy link
Author

lnoxsian commented Jun 6, 2024

I'm on a kindle and I cant install older versions of debian, I want to as ubuntu is quite limited on arm for some reason,
armv7 android 2.3.7 (CM7)
amazon kindle fire 1st gen
every time I try to install, since the archive keyring is being used, it throws an error and I cant ssh into it because it can't verify the packages

to be honest all the debian ubuntu and even kali uses the same shell scripts for making the chroot enviorment also i just have a armv7 android 7 device which on being tested just showed the ssh package depends error

@Akegarasu
Copy link

I encountered the exact same issue. After troubleshooting, I managed to fix it. This project is no longer maintained, and its built-in debootstrap script (used for building Debian's root filesystem) no longer supports the latest stable version. After replacing it with a new debootstrap, the installation works fine.

@griha41
Copy link

griha41 commented Jul 17, 2024

I encountered the exact same issue. After troubleshooting, I managed to fix it. This project is no longer maintained, and its built-in debootstrap script (used for building Debian's root filesystem) no longer supports the latest stable version. After replacing it with a new debootstrap, the installation works fine.

Hm, sounds fine, may you just a bit detailed describe from where and to where what did you placed. That might be that we can find the way how to resolve it.

Heck man I even will try it on my A14 for the test :D

@Akegarasu
Copy link

replace like this pr meefik/linuxdeploy-cli#30
or you can simply try my ci build

@lnoxsian
Copy link
Author

lnoxsian commented Jul 19, 2024

thanks for the help so just by adding a zstdcat binary fixed the whole issue that is in turn done by using the updated linuxdeploy-cli script thanks a lot im trying out your app build thanks for providing the build it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants