Install MV without installation [duplicate]

Multi tool use
Multi tool use












1
















This question already has an answer here:




  • Find (and reinstall) packages with corrupted files (without breaking anything)

    4 answers




I have the problem that whenever I want to Install something, there is this lovely error:



/usr/sbin/update-initramfs: 158: /usr/sbin/update-initramfs: mv: not found


I could trace this error back, and the problem is actually this one:



Command 'mv' not found


Now I have the quite interesting task to install the mv-command without being able to install any new Packages. Using Dolphin on Kubuntu 18.4 (I guess it is that one since I didn't do any updates) I am able to copy files, and if someone was able to give me some kind of source file for the mv command, I could "simply" change the update-initramfs file in order to install coreutils which then would "repair" my not actually broken ramfs.



Any Help would be cool, a friend already told me that I would have to completely reinstall the system, if it is possible to prevent that from happening, I would very much appreciate it.



And I guess it is possible to copy with root privileges, but I haven't tried that yet.



Thanks for everybody trying to help.



Edit: in /bin there isn't a file called coreUtils or something like that, I don't know if there should be



ls: cannot access '/bin/mv': No such file or directory


/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin









share|improve this question















marked as duplicate by N0rbert, Fabby, Charles Green, Eric Carvalho, user68186 Jan 28 at 15:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • mv should be in the folder /bin/.

    – user68186
    Jan 25 at 16:51






  • 2





    Can you add to your question the output of echo $PATH, and the output of ls /bin/mv

    – Charles Green
    Jan 25 at 16:52






  • 3





    This may be symptom of other missing files or other issues. mv is such a fundamental part of the system I can't imagine it just vanishing on its own.

    – user68186
    Jan 25 at 16:58











  • @N0rbert thats kinda embarassing now, a simlpe --reinstall actually "did the magick", haven't thought about it before.

    – Jac O' B GmbH und co. KG
    Jan 25 at 21:47
















1
















This question already has an answer here:




  • Find (and reinstall) packages with corrupted files (without breaking anything)

    4 answers




I have the problem that whenever I want to Install something, there is this lovely error:



/usr/sbin/update-initramfs: 158: /usr/sbin/update-initramfs: mv: not found


I could trace this error back, and the problem is actually this one:



Command 'mv' not found


Now I have the quite interesting task to install the mv-command without being able to install any new Packages. Using Dolphin on Kubuntu 18.4 (I guess it is that one since I didn't do any updates) I am able to copy files, and if someone was able to give me some kind of source file for the mv command, I could "simply" change the update-initramfs file in order to install coreutils which then would "repair" my not actually broken ramfs.



Any Help would be cool, a friend already told me that I would have to completely reinstall the system, if it is possible to prevent that from happening, I would very much appreciate it.



And I guess it is possible to copy with root privileges, but I haven't tried that yet.



Thanks for everybody trying to help.



Edit: in /bin there isn't a file called coreUtils or something like that, I don't know if there should be



ls: cannot access '/bin/mv': No such file or directory


/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin









share|improve this question















marked as duplicate by N0rbert, Fabby, Charles Green, Eric Carvalho, user68186 Jan 28 at 15:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • mv should be in the folder /bin/.

    – user68186
    Jan 25 at 16:51






  • 2





    Can you add to your question the output of echo $PATH, and the output of ls /bin/mv

    – Charles Green
    Jan 25 at 16:52






  • 3





    This may be symptom of other missing files or other issues. mv is such a fundamental part of the system I can't imagine it just vanishing on its own.

    – user68186
    Jan 25 at 16:58











  • @N0rbert thats kinda embarassing now, a simlpe --reinstall actually "did the magick", haven't thought about it before.

    – Jac O' B GmbH und co. KG
    Jan 25 at 21:47














1












1








1









This question already has an answer here:




  • Find (and reinstall) packages with corrupted files (without breaking anything)

    4 answers




I have the problem that whenever I want to Install something, there is this lovely error:



/usr/sbin/update-initramfs: 158: /usr/sbin/update-initramfs: mv: not found


I could trace this error back, and the problem is actually this one:



Command 'mv' not found


Now I have the quite interesting task to install the mv-command without being able to install any new Packages. Using Dolphin on Kubuntu 18.4 (I guess it is that one since I didn't do any updates) I am able to copy files, and if someone was able to give me some kind of source file for the mv command, I could "simply" change the update-initramfs file in order to install coreutils which then would "repair" my not actually broken ramfs.



Any Help would be cool, a friend already told me that I would have to completely reinstall the system, if it is possible to prevent that from happening, I would very much appreciate it.



And I guess it is possible to copy with root privileges, but I haven't tried that yet.



Thanks for everybody trying to help.



Edit: in /bin there isn't a file called coreUtils or something like that, I don't know if there should be



ls: cannot access '/bin/mv': No such file or directory


/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin









share|improve this question

















This question already has an answer here:




  • Find (and reinstall) packages with corrupted files (without breaking anything)

    4 answers




I have the problem that whenever I want to Install something, there is this lovely error:



/usr/sbin/update-initramfs: 158: /usr/sbin/update-initramfs: mv: not found


I could trace this error back, and the problem is actually this one:



Command 'mv' not found


Now I have the quite interesting task to install the mv-command without being able to install any new Packages. Using Dolphin on Kubuntu 18.4 (I guess it is that one since I didn't do any updates) I am able to copy files, and if someone was able to give me some kind of source file for the mv command, I could "simply" change the update-initramfs file in order to install coreutils which then would "repair" my not actually broken ramfs.



Any Help would be cool, a friend already told me that I would have to completely reinstall the system, if it is possible to prevent that from happening, I would very much appreciate it.



And I guess it is possible to copy with root privileges, but I haven't tried that yet.



Thanks for everybody trying to help.



Edit: in /bin there isn't a file called coreUtils or something like that, I don't know if there should be



ls: cannot access '/bin/mv': No such file or directory


/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin




This question already has an answer here:




  • Find (and reinstall) packages with corrupted files (without breaking anything)

    4 answers








command-line kubuntu error-handling mv






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 25 at 21:39







Jac O' B GmbH und co. KG

















asked Jan 25 at 16:46









Jac O' B GmbH und co. KGJac O' B GmbH und co. KG

364




364




marked as duplicate by N0rbert, Fabby, Charles Green, Eric Carvalho, user68186 Jan 28 at 15:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by N0rbert, Fabby, Charles Green, Eric Carvalho, user68186 Jan 28 at 15:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • mv should be in the folder /bin/.

    – user68186
    Jan 25 at 16:51






  • 2





    Can you add to your question the output of echo $PATH, and the output of ls /bin/mv

    – Charles Green
    Jan 25 at 16:52






  • 3





    This may be symptom of other missing files or other issues. mv is such a fundamental part of the system I can't imagine it just vanishing on its own.

    – user68186
    Jan 25 at 16:58











  • @N0rbert thats kinda embarassing now, a simlpe --reinstall actually "did the magick", haven't thought about it before.

    – Jac O' B GmbH und co. KG
    Jan 25 at 21:47



















  • mv should be in the folder /bin/.

    – user68186
    Jan 25 at 16:51






  • 2





    Can you add to your question the output of echo $PATH, and the output of ls /bin/mv

    – Charles Green
    Jan 25 at 16:52






  • 3





    This may be symptom of other missing files or other issues. mv is such a fundamental part of the system I can't imagine it just vanishing on its own.

    – user68186
    Jan 25 at 16:58











  • @N0rbert thats kinda embarassing now, a simlpe --reinstall actually "did the magick", haven't thought about it before.

    – Jac O' B GmbH und co. KG
    Jan 25 at 21:47

















mv should be in the folder /bin/.

– user68186
Jan 25 at 16:51





mv should be in the folder /bin/.

– user68186
Jan 25 at 16:51




2




2





Can you add to your question the output of echo $PATH, and the output of ls /bin/mv

– Charles Green
Jan 25 at 16:52





Can you add to your question the output of echo $PATH, and the output of ls /bin/mv

– Charles Green
Jan 25 at 16:52




3




3





This may be symptom of other missing files or other issues. mv is such a fundamental part of the system I can't imagine it just vanishing on its own.

– user68186
Jan 25 at 16:58





This may be symptom of other missing files or other issues. mv is such a fundamental part of the system I can't imagine it just vanishing on its own.

– user68186
Jan 25 at 16:58













@N0rbert thats kinda embarassing now, a simlpe --reinstall actually "did the magick", haven't thought about it before.

– Jac O' B GmbH und co. KG
Jan 25 at 21:47





@N0rbert thats kinda embarassing now, a simlpe --reinstall actually "did the magick", haven't thought about it before.

– Jac O' B GmbH und co. KG
Jan 25 at 21:47










1 Answer
1






active

oldest

votes


















3














Norbert pointed it out, this askubuntu Question totally helped, I simmply needed to use sudo apt install --reinstall coreutils, and now everything works again...
Thanks Norbert!
I don't know if it works that way, but if it gets the points post your thing as an Answer, then I can (I believe) set it as the working answer.






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Norbert pointed it out, this askubuntu Question totally helped, I simmply needed to use sudo apt install --reinstall coreutils, and now everything works again...
    Thanks Norbert!
    I don't know if it works that way, but if it gets the points post your thing as an Answer, then I can (I believe) set it as the working answer.






    share|improve this answer




























      3














      Norbert pointed it out, this askubuntu Question totally helped, I simmply needed to use sudo apt install --reinstall coreutils, and now everything works again...
      Thanks Norbert!
      I don't know if it works that way, but if it gets the points post your thing as an Answer, then I can (I believe) set it as the working answer.






      share|improve this answer


























        3












        3








        3







        Norbert pointed it out, this askubuntu Question totally helped, I simmply needed to use sudo apt install --reinstall coreutils, and now everything works again...
        Thanks Norbert!
        I don't know if it works that way, but if it gets the points post your thing as an Answer, then I can (I believe) set it as the working answer.






        share|improve this answer













        Norbert pointed it out, this askubuntu Question totally helped, I simmply needed to use sudo apt install --reinstall coreutils, and now everything works again...
        Thanks Norbert!
        I don't know if it works that way, but if it gets the points post your thing as an Answer, then I can (I believe) set it as the working answer.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 25 at 21:50









        Jac O' B GmbH und co. KGJac O' B GmbH und co. KG

        364




        364















            wkzcIrN FuPuwe8 8yli1OGoMXv,e38ux0E84 72Gy FI,tiE,UPUqDRWjgv
            eDPi2lcRZd7 iT,jgEvl1At,QhEgrwgG0HO9JBJWg4AhH1uiWfIiiA kYPZAYg57M1 ZR8dx2cc2OokruzKcXoXZu0YLMlUGHQf9UI

            Popular posts from this blog

            Running commands remotely through an RDP connection

            José Alencar

            Santo António de Lisboa