As of May 31, 2023, we have updated our Code of Conduct.

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
1 answer
35 views

How do I get progress output from Aptitude?

I'm upgrading some packages using Aptitude, and I want to get some program-readable status updates. I thought I could direct dpkg --status-fd to a file I open in advance (regular file for this ...
Toby Speight's user avatar
  • 8,180
1 vote
1 answer
2k views

This Repository does not have a release file error on Ubuntu 22.10

So a few weeks back I tried to install the GitHub CLI on my Ubuntu machine via shell, and now every time I try to update I get the following error: E: The repository 'https://cli.github.com/packages ...
SudoCrypted's user avatar
2 votes
1 answer
122 views

Bug warning with aptitude upgrade #1019855 & #1019564

I try to upgrade a Debian Bullseye but I get an anxious warning message : % sudo aptitude upgrade Resolving dependencies... The following NEW packages will be installed: linux-headers-5.10.0-18-...
fauve's user avatar
  • 1,118
0 votes
1 answer
1k views

nslookup on ubuntu

I am using a Debian-based Docker image. In the image, I need nslookup but I could not find how to install that. Which apt package contains nslookup?
Kartal Tabak's user avatar
-2 votes
1 answer
286 views

Is there any way to add all apt repository of Debian based Linux distros on your Debian system?

Let's take example of Ubuntu and Kali Linux, both are based on Debian Linux. but many packages in Kali's apt sources are not available in Ubuntu's apt sources. But if we add Kali's sources and GPG-...
Pradeep Jhuriya's user avatar
0 votes
1 answer
140 views

Using apt/aptitude, how to remove all legacy packages that are sourceless after a distro-upgrade?

I upgraded my linux from Pop_OS 21.10 to 22.04 a few weeks ago. The distro-upgrade presumably replaced some old sources with new versions, as a result, many existing packages for Pop_OS 21.10 or ...
tribbloid's user avatar
  • 143
2 votes
1 answer
218 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 ...
smammy's user avatar
  • 475
0 votes
1 answer
110 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 ...
aac's user avatar
  • 25
1 vote
1 answer
877 views

Why is Aptitude package manager not as popular as APT?

Let me admit that my perception implied by the question may be wrong.  (Aptitude may be more popular by users than APT; unfortunately, I did not find robust data about usage.)  But, wherever I see, ...
cheesesticks's user avatar
0 votes
1 answer
473 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 ...
Martian2020's user avatar
  • 1,009
0 votes
1 answer
376 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 ...
Digger's user avatar
  • 291
1 vote
1 answer
262 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 ...
Martian2020's user avatar
  • 1,009
1 vote
1 answer
550 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-...
Martian2020's user avatar
  • 1,009
1 vote
2 answers
441 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 ...
Strategist's user avatar
1 vote
3 answers
218 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 "...
andrybak's user avatar
  • 732
0 votes
1 answer
374 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 ...
James Franklin's user avatar
3 votes
2 answers
4k 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 ...
Employee's user avatar
  • 187
3 votes
2 answers
5k 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 ...
HippoMan's user avatar
  • 475
2 votes
2 answers
569 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 ...
HippoMan's user avatar
  • 475
1 vote
2 answers
4k 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 ...
user14492's user avatar
  • 743
1 vote
1 answer
2k 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 ...
ceremcem's user avatar
  • 2,201
0 votes
1 answer
374 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 ...
mic's user avatar
  • 103
2 votes
1 answer
873 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, ...
Milan's user avatar
  • 153
1 vote
1 answer
364 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 ...
Nepumuk's user avatar
  • 649
3 votes
1 answer
389 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 ...
marcv81's user avatar
  • 620
1 vote
1 answer
57 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 ...
David von Tamar's user avatar
1 vote
0 answers
361 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/...
fales's user avatar
  • 33
1 vote
2 answers
871 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 ...
Henry Barker's user avatar
0 votes
2 answers
7k 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 ...
Artichoke's user avatar
  • 127
2 votes
2 answers
1k 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 ...
shirish's user avatar
  • 11.8k
0 votes
1 answer
987 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] **********************************************************************...
Brzozova's user avatar
  • 144
1 vote
0 answers
163 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 ...
OfficialCRUGG's user avatar
3 votes
2 answers
391 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: ...
mrflash818's user avatar
1 vote
1 answer
126 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 ...
philipp2100's user avatar
8 votes
1 answer
5k 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+...
Marisha's user avatar
  • 323
1 vote
1 answer
5k 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 ...
Joe's user avatar
  • 113
3 votes
1 answer
3k 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] ~ ...
somethingSomething's user avatar
1 vote
0 answers
562 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 ...
d3corator's user avatar
  • 111
0 votes
0 answers
169 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 ...
muhzi's user avatar
  • 31
1 vote
0 answers
652 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 ...
Google's user avatar
  • 21
0 votes
1 answer
36 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 ...
michael morgan's user avatar
0 votes
1 answer
143 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 ...
pandita's user avatar
  • 713
1 vote
1 answer
3k 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 ...
xcqforeva's user avatar
1 vote
0 answers
112 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 ?
nox's user avatar
  • 27
0 votes
1 answer
370 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 ...
Raphael's user avatar
  • 2,015
5 votes
1 answer
1k 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?
the_velour_fog's 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 ...
jenil shah's user avatar
0 votes
1 answer
984 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 &...
Love Hart's user avatar
1 vote
1 answer
414 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 ...
kinda.autistic's user avatar
4 votes
1 answer
2k 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 ...
David von Tamar's user avatar

1
2 3 4 5