Jump to content

error installing .udeb package in ubuntu server 18

i am trying to install the wpasupplicant package so that i can configure my wifi, but as i have no internet connection, i am have to do the whole thing by downloading the package files, tranfering them to the server and then using dpkg -i to install them.

 

but something that wpasupplicant need is busybox-udeb.

 

but when i try to install it i get this error 

dpkg:error processing archive busybox-udeb_1.27.2-2ubuntu3_amd64 (1).udeb (--install):

trying to overwrite /bin/cat, which is also used in package coreutils 8.28-1ubuntu1

errors were encountered while processing: busybox-udeb_1.27.2-2ubuntu3_amd64 (1).udeb

 

anyone know how to fix this?

Link to comment
Share on other sites

Link to post
Share on other sites

the error is because you are getting dependency conflicts. This usually happens when manually installing packages because its up to you to keep track of dependencies. From the page that i linked those methods involve creating a list of all the dependencies that need to be installed with the package, downloading them from another machine, and then installing them on the original one. Ive never tried them but i would assume it could help your issue.

 

also i dont think you should be installing busy box, thats usually for stripped down systems. The conflict is from trying to replace a core binary with one from busybox.

 

also just found this https://askubuntu.com/questions/503397/how-do-i-install-wpa-supplicant-on-an-offline-server

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Fleetscut said:

the error is because you are getting dependency conflicts. This usually happens when manually installing packages because its up to you to keep track of dependencies. From the page that i linked those methods involve creating a list of all the dependencies that need to be installed with the package, downloading them from another machine, and then installing them on the original one. Ive never tried them but i would assume it could help your issue.

 

also i dont think you should be installing busy box, thats usually for stripped down systems. The conflict is from trying to replace a core binary with one from busybox.

 

also just found this https://askubuntu.com/questions/503397/how-do-i-install-wpa-supplicant-on-an-offline-server

ok ill try that now thanks

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, Fleetscut said:

the error is because you are getting dependency conflicts. This usually happens when manually installing packages because its up to you to keep track of dependencies. From the page that i linked those methods involve creating a list of all the dependencies that need to be installed with the package, downloading them from another machine, and then installing them on the original one. Ive never tried them but i would assume it could help your issue.

 

also i dont think you should be installing busy box, thats usually for stripped down systems. The conflict is from trying to replace a core binary with one from busybox.

 

also just found this https://askubuntu.com/questions/503397/how-do-i-install-wpa-supplicant-on-an-offline-server

that didn't work, but i did manage to get it installed, i used the .deb rather than .udeb and just manually downloaded all of the dependencies

i am now in the process of trying to connect it to wifi

Link to comment
Share on other sites

Link to post
Share on other sites

like i said, i dont think busy box was the package you needed to install. From what i can see wpa_supplicant only depends on libnl and a few optional ones none of them busybox.

Link to comment
Share on other sites

Link to post
Share on other sites

yes you were right, do you know how to fix my usb dongle not working now though?

Link to comment
Share on other sites

Link to post
Share on other sites

first you would need to remove busybox. However i believe you would also need to replace all the missing components that would create. I think you should try to reinstall coreutils as its the one mentioned in your original error. though i dont know what else busybox might have replaced. If you are not too attached to your current installation id say its easiest to reinstall fresh.

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, Fleetscut said:

first you would need to remove busybox. However i believe you would also need to replace all the missing components that would create. I think you should try to reinstall coreutils as its the one mentioned in your original error. though i dont know what else busybox might have replaced. If you are not too attached to your current installation id say its easiest to reinstall fresh.

i never installed busybox or removed coreutils

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Cupar19 said:

that didn't work, but i did manage to get it installed, i used the .deb rather than .udeb and just manually downloaded all of the dependencies

i am now in the process of trying to connect it to wifi

 

Just now, Cupar19 said:

i never installed busybox or removed coreutils

which package did you install then?

Link to comment
Share on other sites

Link to post
Share on other sites

i also now have a bridged ethernet connection, i cant use this permanently but can to install packages

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Fleetscut said:

 

which package did you install then?

i didnt i figured out that i was using wpasupplicant.udeb so i used wpasupplicant.deb and it worked

Link to comment
Share on other sites

Link to post
Share on other sites

this is all of the packages and dependencies i have downloaded, can you see any that might cause this error?

 

 

5b63223795dd3_2018-08-0216_23_31-NEWVOLUME(G_).png.e1062555f9371dc3515e80bd9a03d3bb.png

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×