|
- apt - How do I search for available packages from the command-line . . .
I have successfully installed some packages using the command: sudo apt-get install packagename when I have known in advance that those packages are available But how can I search for or get a l
- apt - Package system is broken. How to fix it? - Ask Ubuntu
Otherwise it can be dealt via CLI: Open terminal and run this command: sudo apt-get clean Above command will clean out the local repository of retrieved package file sudo apt-get install -f Will correct broken dependencies i e -f here stands for “fix broken” sudo dpkg --configure -a will configure all (-a) the packages which haven't been configured yet In the end do run the update
- apt - How to delete broken packages in ubuntu - Ask Ubuntu
sudo apt-get autoclean Now clean the apt cache sudo apt-get clean Now remove any unnecessary dependancies sudo apt-get autoremove from the command above, you can identify any broken packages and forcefully remove it like this sudo dpkg --remove --force-remove-reinstreq package_name Finally mopup any other packages with dependacies sudo apt-get
- apt - How do I fix the GPG error NO_PUBKEY? - Ask Ubuntu
sudo gpg -a --export <PUBKEY> | sudo apt-key add - sudo apt-get update Note that when you import a key like this using apt-key you are telling the system that you trust the key you're importing to sign software your system will be using Do not do this unless you're sure the key is really the key of the package distributor
- Unable to locate package while trying to install packages with APT . . .
When apt-get install is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in etc apt sources list and under etc apt sources list d ) The following (general) procedure helps to solve this: Make sure you have enabled Ubuntu repositories:
- What is the difference between apt and apt-get? - Ask Ubuntu
The apt commands have been introduced to solve this problem apt consists some of the most widely used features from apt-get, apt-cache and apt-config leaving aside obscure and seldom used features
- apt - What does Package lt;package gt; has no installation candidate mean . . .
Done Package munin-memcached is not available, but is referred to by another package This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package munin-memcached has no installation candidate I googled for the problem and someone said to do a apt-get upgrade but it still did not solve my
- How to list installed package and its details on ubuntu?
8 apt-cache showpkg <package> will give you details about what package versions are available, forward and reverse dependencies etc apt-cache show <package> will provide description, category (Section) etc I'm not aware of a way to see at what time a package was installed
|
|
|