Questions tagged [aptitude]

Alternative package manager for Debian and derivatives which offers an ncurses based text-mode user interface (TUI) and mighty search patterns besides a command-line interface similar to `apt-get`'s command-line interface.

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 views

How can I list all installed packages along with their APT origin hostnames (not their origin tags)?

I'm trying to limit the risk in using third-party APT repositories. The scenario I'm trying to protect against is a malicious package being introduced into a third-party repo with a newer version than ...
user avatar
  • 394
0 votes
1 answer
25 views

Avoid reinstalling package

How to avoid reinstalling a package in apt install and apt-get install In two cases One case is I have firefox 75 installed and the repositories have firefox 76 Second case is I have firefox 76 ...
user avatar
  • 13
0 votes
1 answer
141 views

Why Aptitude package manager is not as popular as APT?

Let me admit that my opinion in the question may be wrong. (Aptitude may be actually popular by users than APT, unfortunately I did not find robust data about usage.) But, wherever I see, let's say, ...
user avatar
0 votes
1 answer
50 views

How to skip upgrading packages for other architectures when `apt-get install`?

Today I finally guessed the mechanism why when I tried to install set of debian packages downloaded with dependencies e.g. apt-get install --download-only --assume-yes libssl-dev even with dpkg status ...
user avatar
0 votes
1 answer
118 views

"apt-cache rdepends --installed" Indicates That a Package Has Been Loaded Twice!

Debian Stretch; apt 1.4.11 $ apt-cache rdepends --installed libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-bad1.0-0 Reverse Depends: libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-37 Any idea why the ...
user avatar
  • 239
1 vote
1 answer
55 views

How to interpret `apt-cache rdepends` to pinpoint dependency?

https://askubuntu.com/questions/128524/how-to-list-dependent-packages-reverse-dependencies advises apt-cache rdepends but does not explain how to interpret the output. The output consists on lines ...
user avatar
1 vote
1 answer
98 views

How does apt keep track of BUILD (source) dependencies?

I want to download all (recursive) build dependencies to be able to build apt (debian) package from source. However, when I apt-get install path/*.debs with debs that I got by apt build-dep --download-...
user avatar
1 vote
2 answers
115 views

Deleted most of dependencies

I've been trying to install a certain software in my Kali Linux and used the command aptitude in the process. However, while using it I was prompted for something that the only thing I recall about it ...
user avatar
1 vote
2 answers
63 views

Is it possible to supply aptitude with changelogs of non-Debian packages?

When trying to view changelogs of apt packages, aptitude often gives the error Cannot display changelog: Origin of <package> is unknown (maybe not an official Debian package ...). The word "...
user avatar
  • 562
0 votes
0 answers
29 views

ubuntu downgraded to 16.04 with a few issues

I have a laptop with Ubuntu 16.04 which has been used for countless things and is a mess of packages. A few weeks ago I further messed with it, as I needed to install ROS. I hammered it a little too ...
user avatar
0 votes
1 answer
139 views

Why do package managers like apt and pacman NOT use system proxy settings by default? [closed]

To be clear, this is a question on why the developers of apt chose to set it up this way. I’m not asking how to change my proxy settings, but rather why the out-of-the-box defaults make me have to ...
user avatar
3 votes
2 answers
2k views

Can't install apt-transport-https on Debian 9 stretch due to unmet dependencies: apt (>= 1.5~alpha4)

I have a Dockerfile which is built in a CI/CD pipeline. It starts with a Drupal image based on Debian 9 stretch and installs Node 10. Building the image has worked for the past three years but it ...
user avatar
  • 177
1 vote
2 answers
540 views

apt/aptitude - How can I display a package dependency tree for a collection of packages, taken as a whole?

I had a problem with my apt packages which I resolved. The problem and resolution are discussed here: Aptitude says that lots of my packages need to be removed ...? However, in discussing this, I ...
user avatar
  • 259
1 vote
2 answers
148 views

Aptitude says that lots of my packages need to be removed ...?

I'm running the following linux distro ... DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS" I went into aptitude, and it is now ...
user avatar
  • 259
1 vote
2 answers
2k views

dpkg error : debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

I get the error processing package error when I apt upgrade: I’ve tried the common solutions mentioned online. But it is stuck in a loop. ❯ sudo apt upgrade Reading package lists... Done Building ...
user avatar
  • 613
1 vote
1 answer
795 views

How to list installed packages manually from backports?

I need to get a list of manually installed packages from backports, in order to "complete" the apt-get upgrade && apt-get dist-upgrade sequence. Following command lists the packages ...
user avatar
  • 1,937
0 votes
1 answer
149 views

What does the version string from dpkg/aptitude/apt-show-versions mean? [duplicate]

When I do apt-show-versions samba on my Debian machine, I get something like samba:amd64/buster 2:4.9.5+dfsg-5+deb10u1 uptodate Comparing this to the samba versions, which you can find at the ...
user avatar
  • 103
2 votes
1 answer
412 views

What is the difference among apt-cache policy, apt-cache show, and apt-cache showpkg?

Note: I found this QnA addressing apt-cache show v/s apt-cache showpkg but couldn't find any QnA addressing the difference among all the three options i.e. policy, show, & showpkg. For example, ...
user avatar
  • 159
1 vote
1 answer
154 views

Difference between apt(itude) (auto)clean, …

After understanding that apt is somehow an expansion of apt-get or an aggregation of several apt-… commands, I'm still confused how the different commands (especially apt, apt-get, aptitude and the ...
user avatar
  • 449
3 votes
1 answer
277 views

How to explain apt dependencies that are not autoremoved?

The package libudev1:i386 is installed on my system. $ dpkg -l | grep libudev1:i386 ii libudev1:i386 245.4-4ubuntu3.2 i386 libudev shared library It won't get autoremoved. $ sudo apt autoremove ...
user avatar
  • 620
1 vote
1 answer
41 views

How to run Aptitude's TUI with limit pattern sent as an argument?

I want to have a command on Debian (Sid) that launches aptitude's TUI with a limit pattern defined within the command itself as an argument. Otherwise I have to write the pattern every time by ...
user avatar
1 vote
0 answers
245 views

Undo last operation in aptitude

While I was resolving some dependencies in aptitude, I miss-clicked and chose an option I didn't want. Quite a few packages were installed and even more were removed. I can see what happened in /var/...
user avatar
  • 41
1 vote
2 answers
514 views

How to detect a Debian package that is no longer needed after an upgrade of its previously dependent package?

Let's say, there is a Debian package named Foo, whose version 1.1.1 depends on a package named Bar. Imagine that there is a newer version of Foo==1.1.2, which doesn't depend on Bar anymore. After an ...
user avatar
0 votes
2 answers
6k views

Error while installing or upgrading with apt

I was trying to upgrade debian 9 to 10 but when I tried to run sudo apt-get update, sudo apt-get upgrade and sudo apt-get full-upgrade, they all got this error message: optiplex@optiplex:~$ sudo ...
user avatar
  • 117
2 votes
2 answers
710 views

Verbosity in aptitude command-line mode via its configuration file

This is related to a question I asked about 3 years ago. Since then things have changed a bit apparently. One of the obvious ones is that aptitude itself has changed from whatever version it was to ...
user avatar
  • 10.7k
0 votes
1 answer
758 views

Error when apt update and removing ppa

I am trying to test PHP 7.0 installation on vagrant using Ansible and get this error: TASK [php-cli : Install php7.0-cli package] **********************************************************************...
user avatar
  • 144
1 vote
0 answers
144 views

libc6 (dependency of a package I'm trying to install) requires newer kernel, I can't upgrade though

There. It occured multiple times to me already, that packages I tried to install (e.g. ngircd or make) have a dependency called libc6, which required kernel version 3.2 however. I cannot upgrade my ...
user avatar
3 votes
2 answers
340 views

Having trouble successfully installing the DDD debugger from Debian Stable (Buster)

Having trouble successfully installing the DDD debugger from Debian Stable (Buster) When I try to install ddd, it fails to install with errors: robert@pip2:/tmp$ sudo -l [sudo] password for robert: ...
user avatar
1 vote
1 answer
81 views

How to prevent APT from keeping packages I didn't install?

When I install packages via apt-get install <package> or aptitude install <package> and remove them afterwards with apt-get purge <package>; apt-get autoremove --purge, my system is ...
user avatar
5 votes
1 answer
3k views

apt install: Note, selecting 'foo' instead of './foo_x.y.z_amd64.deb' - what it means?

I searched the web but could not find an answer to: why apt install ./*.deb writes Note, selecting x instead of './x_something.deb' e.g Note, selecting 'phantomjs' instead of './phantomjs_2.1.1+...
user avatar
  • 313
1 vote
1 answer
4k views

How to Add Something Extra to a Busybox System?

So suppose that I have Busybox installed on an embedded device (e.g a router) and need to add something extra to it (a package). Now suppose that now I need to install a package to it besides using ...
user avatar
  • 113
1 vote
1 answer
2k views

Debian: The following packages have been kept back.... odbcinst AND odbcinst1debian2

PROBLEM: I've had these two packages held back for weeks now and I can't get rid of them, The following packages have been kept back: odbcinst odbcinst1debian2 look here: [10:53:34][kristjan] ~ ...
user avatar
1 vote
0 answers
551 views

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.140.204 80] [duplicate]

I'm trying to get a project running locally on Deepin. The project relies on node 6.10, I understand that it's an old version but it works. When the Dockerfile tries to run the sudo apt-get update, it ...
user avatar
  • 111
0 votes
0 answers
150 views

can't install libboost-python in debian

I think something is wrong the package manager I use this command to install libboost-python sudo aptitude install libboost-python1.62.0 I get the following error that later suggests removing ...
user avatar
  • 21
1 vote
0 answers
619 views

wine unmet dependencies:

I believe that at one point i uninstalled wine however when i try to install wine again i get this: ~$ sudo apt install --install-recommends winehq-stable Reading package lists... Done Building ...
user avatar
  • 21
0 votes
1 answer
34 views

how to view installation information for package to be installed by apt [duplicate]

For ubuntu or debian, for installed package, I can use dpkg -L package to view where files were installed by the package. For a package is going to be installed but yet installed, how can I foresee ...
user avatar
0 votes
1 answer
104 views

Debian Sid - Stay some weeks behind current roll

I'm currently on Debian Sid. Is there a way to only update packages that were released, e.g. at least one week ago? Could I schedule an update and then only upgrade two/four weeks later? The intent ...
user avatar
  • 633
1 vote
1 answer
2k views

Failure to install aptitude using apt because of missing dependency even though dependency is installed

When trying to install aptitude with apt this error is thrown: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
user avatar
1 vote
0 answers
111 views

How to check If my PC was exploited after apt exploit? [closed]

I used sudo apt-get update sudo apt-get upgrade before I read https://www.debian.org/security/2019/dsa-4371 Is there a way to check if my PC got exploited/hacked/virused ?
user avatar
  • 27
0 votes
1 answer
288 views

apt ignores virtual package provided equivs-created package

I want to install pdftk on my development machine where I have installed (multiple versions of) Java with SDKMAN!. In order to fulfill the dependency on default-jre-headless of pdftk-java, I created a ...
user avatar
  • 1,905
5 votes
1 answer
985 views

How does apt/dpkg choose which real package is installed when a virtual package is specified as a dependency?

e.g. if package specifies Depends: www-browser How does apt/dpkg decide which real package will be installed?
user avatar
1 vote
1 answer
3k views

An upgrade from 'zesty' to 'bionic' is not supported with this tool. Tried official links, no success

I tried following https://help.ubuntu.com/community/EOLUpgrades/Feisty link, but without success. I need to upgrade my system to 17.10(EOL) from 17.04. When running following command I am getting an ...
user avatar
0 votes
1 answer
788 views

32 bit aplications aren't installing properly on 64-bit

I am using Debian 9 64-bit. I have been trying to get this to work for a while and I don't know exactly what is going on so I will just show what happens: sudo aptitude install wine32 Note: selecting &...
user avatar
0 votes
1 answer
284 views

omitting icon files from downloading updates of Debian 9.5 amd64 package lists?

situation when I am updating Debian 9.5 amd64 (stable, backports, test, unstable) package lists using APT or APTITUDE, the download size of the update is, as of writing this post, cca 60 MB with half ...
user avatar
4 votes
1 answer
1k views

apt wants to autoremove automatically installed recommended packages despite settings in apt.conf.d

When I'm running apt upgrade, it suggests me to auto-remove several dozens of essential packages using apt autoremove. They include busybox, bluetooth and alsa-utils among other important packages ...
user avatar
4 votes
2 answers
3k views

relocation error using sudo apt

my system arch is amd64, i installed i386 as foreign arch and ran sudo apt dist-upgrade but after it finished, i keep getting this error while using apt: apt-get: relocation error: /usr/lib/...
user avatar
  • 329
1 vote
0 answers
119 views

Configuring default output for Aptitude package search

In most flavors of Linux that I've used, the output for apt search does not include the current state display but in Linux Mint (Sylvia) it is displaying and I would like to remove it because it ...
user avatar
  • 11
1 vote
0 answers
1k views

Cannot install libgstreamer-0.10 [duplicate]

I' using Debian 9 Cannot install libgstreamer-0.10.so I tried sudo apt-get install libgstreamer0.10-0 Reading package lists... Done Building dependency tree Reading state information... Done ...
user avatar
  • 11
1 vote
1 answer
58 views

Cannot start Cutegram

I installed Cutegram When I start it I get ./cutegram: error whiel loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory I use Debian 9. I tried ...
user avatar
0 votes
1 answer
2k views

How do I fix this "Permission denied" error I get every time I execute aptitude?

When I execute, for example, aptitude search ruby2.5, I get the following errors as first lines of the output. (It's the same error message repeated twice.) E: Error saving configuration file - ...
user avatar
  • 757

1
2 3 4 5