Questions tagged [aptitude]

Aptitude is a front-end to the Advanced Packaging Tool (APT) It was initially created for Debian.

73 questions
4
votes
1 answer

How to compare installed Linux packages between two machines

I need to display a list of Linux software packages that differ in version between a ‘build machine’ and various ‘developer machines’ that can diverge over time from the build VM. I can get quite far by doing a “dpkg –l” to obtain a text dump of the…
Jeepster
  • 129
  • 2
  • 11
4
votes
1 answer

using precompiled library packages

I figured the following out the hard way, because I didn't know what resource to look at. What should I have read? I used aptitude to install the c++ library package libexample5.3 and libexample5.3-dev libexample5.3 puts the actual object file…
Kietz
  • 1,186
  • 11
  • 19
3
votes
1 answer

List previous versions available for a package and install one of them by apt-get

A 10.5-2 version of postgresql that is coming from the deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main repository has a problem, and I would like to return to the 10.4 version I know to be working the way I want. an apt-cache madison…
Marc Le Bihan
  • 2,308
  • 2
  • 23
  • 41
3
votes
1 answer

Does the command "aptitude upgrade" perform a full-upgrade or a safe-upgrade on Debian?

Both the commands aptitude full-upgrade and aptitude safe-upgrade are documented, including the dist-upgrade alias for full-upgrade. However, simply aptitude upgrade will also upgrade the system in some way...which does it default to? Also how…
YPCrumble
  • 26,610
  • 23
  • 107
  • 172
3
votes
1 answer

MySQL 5.6.10 via apt-get

MySQL 5.6.10 is Generally Available now. If I try to upgrade it however says that I am already at the newest version, even though the installed version is 5.5.29. I am on Ubuntu 12.04. $ sudo apt-get install --upgrade mysql Reading package lists...…
TTT
  • 6,505
  • 10
  • 56
  • 82
2
votes
2 answers

updating python-elementtree to overcome xpath selector issue

I'm getting an error when searching for the attribute of a node in my xml using ElementTree. expected path separator ([) The source code is: home_team_node = game_node.find( "team/team-metadata[@alignment='home']" ) This discussion on…
wmfox3
  • 2,141
  • 4
  • 21
  • 28
2
votes
5 answers

Ansible : APT module: how to get stdout?

Using the following answer stackoverflow.com/questions/34026875/ I'm trying to get the stdout from ansible apt module. Using this very simple test playbook: - hosts: localhost sudo: true tasks: - name: 'apt: update & upgrade' apt: …
moocan
  • 111
  • 2
  • 11
2
votes
2 answers

run apt-get with proxy in Dockerfile

I am behind a proxy an i need to install something via apt-get. The best I came with is this ARG PROXY ENV http_proxy=$PROXY ENV https_proxy=$PROXY RUN apt-get update -y && apt-get -y install ... ENV http_proxy= ENV https_proxy= The thing is that I…
Kazz
  • 585
  • 1
  • 6
  • 23
2
votes
2 answers

How can I use logical operators when searching for packages in Aptitude?

1) How to search for packages matching "word1 or word2" with aptitude? 2) How to search for packages matching "word1 and word2" with aptitude?
user123456
  • 364
  • 1
  • 3
  • 16
2
votes
1 answer

Gitlab apt repository is extremely slow

The automatic Gitlab installer (Omnibus package) did setup an automatic repository on my Debian Jessie's apt. While this is very easy to use, it's extremely slow! Running the apt update command sudo apt-get update is extremely fast with all other…
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
2
votes
3 answers

Packages, Ubuntu counterparts of Gentoo's useful commands

Trying to learn how to work with packages in Ubuntu (and have Gentoo experience). This command is already known: (1) sudo apt-get install pkgname Looking for counterparts of these: (2) emerge -s pkgname (3) equery files pkgname (4) equery belongs…
2
votes
3 answers

zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory

I am trying to build android app. When I run the zip align tool to optimize the APK, I get this error message: zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory I tried to install…
SSS
  • 303
  • 1
  • 2
  • 9
2
votes
2 answers

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

After I have removed libusb-0.1-4 packet, I tried to install a new one when I realized that I have also removed apt-get. tbarry@darkstar:~$ sudo apt-get install libusb-1.0-0 sudo: apt-get: command not found tbarry@darkstar:~$ sudo aptitude install…
Thierno Barry
  • 123
  • 1
  • 3
  • 10
2
votes
1 answer

let puppet install packages from a specific repository

is there a way to tell puppet to install a package from a specific repository? I'd like to do something like 'aptitude -t testing install vim' in puppet. The reason why I want to do this is that I want to install specific packages from debian…
Michael Krupp
  • 2,042
  • 3
  • 19
  • 36
2
votes
1 answer

How to install postgres-9.1 on Ubuntu 10.04 LTS?

Many months ago, I installed postgres 8.4 using the following command: $ sudo aptitude install postgresql-8.4 postgresql-client postgresql-contrib Now I am trying to upgrade to 9.1. $ sudo aptitude install postgresql-9.1 There apparently is no…
Monolith
  • 171
  • 2
  • 10