A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service
There are two installation failures that are caused by dependent library version issues:
1, because the source needs to be updated, the following actions:Libssl-dev: dependent: libssl0.9.8 (= 0.9.8o-1ubuntu4) But 0.9.8o-1ubuntu4.4 is about to be installed workaround
Go to Settings, Update Manager, System Management, Systems Manager, select the Updates tab in the pop-up Software Sources dialog box, and check the four check boxes under Ubuntu update to turn off
Execute "sudo apt-get update" on the terminal first.
Transferred from: http://baalwolf.iteye.com/blog/1511259
2, using the Aptitude Package Manager to solve this dependency problem, aptitude is able to choose the appropriate version and matching software installation.Libssl-dev version issue could not be installed: depends:libssl1.0.0 (= 1.0.1t-1+deb7u2) but 1.0.1t-1+deb8u6 was to be installed
Prompt for error when installing Libssl-dev:
The Linux version dependency problem is very confusing, but we can solve this dependency problem by using the Aptitude Package Manager, aptitude is able to choose the appropriate version with matching software installation.
First install the Aptitude tool
sudo apt-get install aptitude
Then use aptitude to install Libssl-dev
sudo aptitude install libssl-dev
At this point, the problem solved, later encountered version of the problem caused by the dependency does not correspond to the above method can be resolved.
Transferred from: 78052317?locationnum=10&fps=1
Some of the commands for Ubuntu install software Aptitude,apt-getAptitude
Aptitude aptitude is a very magical package manager in the Debian Gnu/linux system, based on the famous APT mechanism, which integrates all the functions of Dselect and Apt-get and provides more features, especially in reliance Relationship processing. Like Apt-get, Aptitude is the most powerful package management tool in Debian and its derivative systems. unlike Apt-get, aptitude is better at dealing with dependency issues. For example, when aptitude deletes a package, it also deletes the packages it depends on. This way, the system will not be left with useless packets, the whole system is cleaner. The following are some common aptitude commands, for informational purposes only.
|Aptitude Update||Update the list of available packages|
|Aptitude Upgrade||Upgrade the available packages|
|Aptitude Dist-upgrade||Upgrade your system to a new release|
|Aptitude Install Pkgname||Install package|
|Aptitude Remove Pkgname||Delete Package|
|Aptitude Purge Pkgname||To delete a package and its configuration files|
|Aptitude search String||Search Packages|
|Aptitude Show Pkgname||Display Package Details|
|Aptitude Clean||To delete a downloaded package file|
|Aptitude AutoClean||Delete Expired package files only|
To use aptitude, just open your favorite terminal and type the following command. De> #de > Aptitude5 aptitude The main view of the organization is very organized, and the interface layout is refreshing. The upper window lists the packages based on the categories and their status in the local system. Aptitude are organized in a tree-like structure, and related nodes are connected by a thin line. You can use the arrow keys, [PageUp], and [PageDown] to navigate. [Return] or [Enter] is used to expand or close a node. The open view of aptitude is divided into four columns: Package status and Request action, package name, current installation version (or de><de>nonede>>de>), The latest version. Aptitude Package Status in the package list:
|C||Uninstall not cleared|
Request action in the Aptitude package list:
For any program, the first thing you know is how to exit-type [Q] (quit) in Aptitude's main view to exit aptitude. Any time you type [?] (Help), you can call out helpful information. Aptitude is based on the apt mechanism, so you need to configure the Sources.list file correctly before further operation. and ensure that the package list is updated in a timely manner. [U] The (update) command is designed for this, similar to the Apt-get update operation. If a new package appears (that is, a package that is still present until the last package list is updated), it will be displayed under the new Packages option. You can type the [f] (forget that packages is new) command to clear them to the available packages option. Move the cursor to the line that you are interested in, and then type enter to expand the options. Once a package is selected, information about the package will appear at the bottom of the screen. If you want to see more detailed information, you need to type [i] (information). typing [q] (quit) exits the information display screen. For packages that are not installed (located in the New Packages or not installed Packages area), you can select and type [+] (add package) to indicate the installation. For packages that have already been installed, you can do things like keep, delete, or clear. Hold refers to maintaining the existing version of the package and preventing it from being upgraded. Remove [-] (remove package) marks the installed packages as deleted status. [_] (Purge package) command to mark packages as cleared. Once you have marked the package you are interested in, you can type [G] (GO) to save the changes and make it effective.Selection of Packages
You can do this by browsing and then pressing the corresponding key:
|De>[+]de>||Select the packages you want to install.|
|De>[-]de>||Select the package you want to delete.|
|De>[_]de>||Select the packages you want to clear.|
|De>[=]de>||Keep the current version of the package and prevent it from being upgraded.|
|De>[:]de>||The package is locked only during the aptitude session.|
|De>[l]de>||Request a reload package.|
|De>[m]de>||Mark the package for automatic installation. Automatically installed packages|
|Manually installed packages are automatically removed when they are not dependent on requirements.|
|De>[m]de>||Mark the package as manual.|
|De>[r]de>||Request reconfiguration of the package.|
|De>[i]de>||Request to install the package immediately (in its dependent package) and temporarily lock other upgrades and|
|Installed packages. The function is the same as the Apt-get install de><package>de>.|
|De>[f]de>||It is forbidden to install a version of the package. However, it is normal for later versions.|
|De>[b]de>||Call Reportbug to declare a package error.|
|De>[c]de>||Download and display a change log for a package.|
|De>[g]de>||Enter the preview window for all requests for changes. If you type this key in the preview screen,|
|The change operation will be performed.|
|De>[d]de>||Query Related packages: Suggest/recommanded/depends|
|De>[r]de>||Querying dependent Packages|
Note: The Control-u key combination can be used to cancel the action of the previous step.Apt-get
Note: As with the new version of Apt and Apt-get, Apt is the new version
Under Ubuntu, Apt-get is close to being one of the most commonly used shell commands, because he is the common tool command for Ubuntu to install software.
This article lists the common APT command parameters:
Apt-cache Search Package
Apt-cache Show package for information about packages, such as description, size, version, etc.
sudo apt-get install package
sudo apt-get install package--reinstall Reinstall packages
sudo apt-get-f Install repair installation
sudo apt-get Remove Package
sudo apt-get Remove package--purge Delete packages, including configuration files, etc.
sudo apt-get update source
sudo apt-get upgrade update installed packages
sudo apt-get Dist-upgrade upgrade system
Apt-cache depends package understand that using the package depends on those packages
Apt-cache Rdepends package to see which packages are dependent on the packages
sudo apt-get BUILD-DEP Package Installation-related compilation environment
Apt-get Source Package Downloads The source code for the bundle
sudo apt-get clean && sudo apt-get autoclean cleanup of useless packages
sudo apt-get check to see if there is a corrupted dependency
Apt Source configuration
Dpkg is a Debian package management tool. The ability to install, uninstall, get information, and other operations on the package.
Install (Unpack and configure):
This command only unlocks "Package_file" and does not perform package configuration work.
To uninstall a package:
The command deletes the package, but retains the configuration file.
This command deletes the package and deletes the configuration file.
Gets, sets, clears the selection state of the package:
Output to standard output, you can use pipe or redirect.
Obtained from standard input, you can use pipelines or redirects.
Mark all packages as unloaded.
Apt-get Source Configuration file Vim/etc/apt/sources.list
Turn from: 70146194/
Installation failure due to Linux dependent Library version issue: Libssl-dev version issue could not be installed: Libssl-dev: dependent: libssl1.0.0 (= 1.0.1-4ubuntu3) But 1.0.1-4ubuntu5.31 is about to be installed
Start building with 50+ products and up to 12 months usage for Elastic Compute Service