Tag Info

Hot answers tagged

3

You are running a version of Ubuntu which is past its end of life date. You can no longer install software from the repositories as they are moved shortly after the release hits EOL. The preferred method of dealing with this is to upgrade to the latest long-term support (LTS) release. If you truly need old packages from an EOL distribution, you can find ...


3

First off, you mustn't use sudo in a bash script, it's non-interactive and so if you're required to use a password you won't be able to elevate. Below would be a basic example to install several packages, to install more you would add a package to the "for package in" line. The output is set to append to the existing file. #!/bin/bash apt-get update for ...


2

This is now possible via the "install_options" setting in the Puppet 'package' type: http://docs.puppetlabs.com/references/latest/type.html#package-attribute-install_options For example: package { 'nmap': ensure => installed, install_options => ['--no-install-recommends'], } The above ensures the "--no-install-recommends" option is ...


2

There isn't really a clean way do do this but as you've installed openssl from source you're on your own anyway. Use apt-get download <package> to get the .deb file you want to install. Insatll the .deb file using dpkg --ignore-dep=openssl -i <dotdebfile.deb> Edit /var/lib/dpkg/status and remove the dependency from the <package>.


2

You simply have to hold the desired packages, using your prefered package manager, for example: Using apt to hold: sudo apt-mark hold package_name to remove the holding: sudo apt-mark unhold package_name Using aptitude to hold: sudo aptitude hold package_name to remove the holding: sudo aptitude unhold package_name


1

There is also apt pinning, which is useful for configuration management. Consider this example that pins the version of CFEngine in /etc/apt/preferences.d/cfengine. Package: cfengine-community Pin-Priority: 1001 Pin: version 3.6.0-1 https://help.ubuntu.com/community/PinningHowto


1

Solution: I am a numbskull and should have used the add_repo.sh script provided by HP. I was converting my deb line from an old format provided by their legacy SDR system and failed to notice some format changes. The correct format for the deb line is: deb http://downloads.linux.hp.com/SDR/repo/mcp/ubuntu/ precise/current non-free If you use the ...


1

In case you've already tried with $ sudo apt-get update And it didn't work, you might be hitting this APT + Amazon's S3 bug. You might want to try with these solutions: # echo "Acquire::http::Pipeline-Depth "0";" > /etc/apt/apt.conf.d/90-fix-s3 # sudo apt-get update # sudo apt-get install your-package-name And if that doesn't work, simply stop using ...



Only top voted, non community-wiki answers of a minimum length are eligible