linux - I have accidentally removed apt-get and aptitude (Debian 6) -


after have removed libusb-0.1-4 packet, tried install new 1 when realized have removed apt-get.

tbarry@darkstar:~$ sudo apt-get install libusb-1.0-0 sudo: apt-get: command not found tbarry@darkstar:~$ sudo aptitude install libusb-1.0-0 sudo: aptitude: command not found

could know how reinstall apt without apt?

download apt...version.deb https://packages.debian.org/search?keywords=apt , install via sudo dpkg -i /path/to/apt..version.deb. long dpkg not removed recoverable. install aptitude via apt-get.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -