Questions tagged [aptitude]
Aptitude is a quite powerful package manager leveraging CLI and an ncurses-style interface.
387
questions
0
votes
1
answer
52
views
I want to list all installed non-transitive packages, how should I do it?
In apt/aptitude, many packages are not supposed to be installed manually, as they break the ability for the system to be upgraded further for causing conflict. These packages are regard as "...
0
votes
0
answers
109
views
Issues with apt-mirror server and dependencies during apt installs
I have setup an offline apt-mirror of ubuntu 18.04 (this will eventually be upgraded to 20.04 or 22.04 but I still have need of 18.04 for a while).
On some ubuntu boxes on the network I get dependency ...
0
votes
0
answers
16
views
How to identify packages that are installed solely due to Suggests
I'm trying to identify packages that are installed solely due to a Suggests-type dependency. As a start, I've tried using an aptitude search to identify all automatically installed packages that are ...
0
votes
0
answers
94
views
Ran dist-upgrade, now packages held back [duplicate]
---UPDATE
Unfortunately, there was not much to be done with this issue. There is no 'easy fix'. I ended up reinstalling ubuntu. A bit radical, but it worked.
---END UPDATE
I messed up my packages in ...
0
votes
1
answer
373
views
How to upload deb file to official apt repository? [duplicate]
When I search with this question, I am getting only posts related to setting up our own repository completely.
But, I want to just upload my deb file to official ubuntu repository or debian repo so ...
0
votes
0
answers
79
views
Can't install libsdl2-dev without downgrading SDL2 [duplicate]
I am trying to install the SDL2 development headers to compile a program that imports SDL2. Here is the output when I run the command $sudo apt-get install libsdl2-dev:
Reading package lists... Done
...
0
votes
0
answers
99
views
Error related to Aptitude appears at sudo apt upgrade
when entering the command $ sudo apt upgrade I receive the following output.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... ...
0
votes
1
answer
991
views
How do I install iptables-dev on Ubuntu 20.04 with apt?
I tried the following:
sudo apt install iptables-dev
But get this error
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package iptables-dev is not available, ...
0
votes
1
answer
607
views
APT 401 Unauthorized [IP : 172.a.b.c 443]
I have ubuntu 20.04 clients and a nexus server. Nexus server is behind nginx which servs SSL with self signed certificats
On apt update from a client I get the error
Err :6 https://nexus.local....
0
votes
1
answer
353
views
Need to solve unmet dependencies [duplicate]
Since this morning I have been able to resolve unmet dependencies.
In the past always solved it by installing packages one by one, or installing the deb package, but in this case I can't do that.
I ...
0
votes
0
answers
47
views
Unable to reinstall ubuntu gnome-terminal after using aptitude [duplicate]
When trying to install a particular package with aptitude install, I lost my gnome-terminal, I am getting the 'Unable to correct problems, you have held broken packages' error message when trying to ...
0
votes
0
answers
260
views
Install mbedTLS
Trying to install mbedTLS on Ubuntu.
Command bellow installs library.
sudo apt install libmbedtls-dev
But I what I should install in order to get commands like:
mbedtls_gen_key rsa_keysize=keysize ...
0
votes
0
answers
23
views
apt-get: Unmet Dependencies and Conflicting (?) Output on Ubuntu 21.10 [duplicate]
I'm trying to install common-lisp-jupyter on Ubuntu 21.10, but Ubuntu won’t install one of the required libraries, namely zeromq.
When I tried to install zeromq using the libczmq-dev package, apt-get ...
-8
votes
2
answers
192
views
How can I search for packages installed ONLY with APT? [closed]
Paying attention to:
Only apt
Not dpkg
Not apt-get
Not aptitude
1
vote
0
answers
3k
views
Cannot play DVDs after installing Linux 22.04
I tried to play DVDs on the Videos package. I got the following error:
Despite several attempts installing, removing and reinstalling restricted extras and vlc (both with apt and aptitude) I still ...
0
votes
0
answers
86
views
Keep python3.6 active
I'm having an issue were I need to install ansible and PIP but when I go to install the packages, Ubuntu automatically will try and update python to version 3.8. I need to keep version 3.6, and I need ...
0
votes
1
answer
84
views
Cannot become root inside aptitude
Cannot become root within aptitude
If you install the aptitude and invoke with
aptitude
you cannot become root and will get this error message:
1
vote
3
answers
432
views
Is there a way to save/backup packages previously obtained using apt install from a now dead repository?
A while back I installed a TV server program called Tvheadend using a PPA. The installation instructions and the program were on the site tvheadend.org which now appears to be dead (as of about three ...
5
votes
1
answer
4k
views
How to do apt upgrade with noninteractive?
I want make Ubuntu 18.04 server (text only) upgrade itself and keep original configure in a bash script.
I tried
apt update && apt upgrade -y
and
apt-get -o Dpkg::Options::="--force-...
1
vote
1
answer
457
views
one drive free client doesn not appear in home directory
I wanted to have one drive free client in my home directory and I use it on ubuntu.
Therefore I have used the advise from the following two sources.
https://www.phillipsj.net/posts/using-onedrive-with-...
1
vote
2
answers
956
views
Updating Ubuntu when /boot partition is almost full
My /boot partition is 500M in size, as I thought it would be enough when I did the installation. It seems it isn't.
Now it's almost full
/dev/sda1 446M 352M 61M 86% /boot
Doing apt-...
3
votes
2
answers
305
views
apt forgot about more than 1,000 packages, and I'm unable to reinstall
I'm running 20.04.2 LTS (Focal Fossa)
I hadn't run aptitude for a couple days. It always worked fine, but when I tried it now, it started giving me the "e Examine" dialog each time I run it. ...
4
votes
1
answer
272
views
Why would installed packages have status "Remove"?
While doing other maintenance tasks I noticed that dpkg -l listed about 90 packages with status ri instead of expected ii.
I maintain packages solely with apt and aptitude and I haven't forced any ...
2
votes
2
answers
873
views
How to get the size (Megabytes) of all packages of an update?
So for a project as part of a work, I need to get the size of a Linux update.
I used the command:
aptitude search -SF '%p' --disable-columns '~U'
So I get the names of the packets whose need to be ...
2
votes
1
answer
867
views
How to do `sudo apt install aptitude` but auto default to install package maintainer version?
I'm using Ubuntu 20.04 server edition.
When I run
sudo apt install aptitude
I get the below prompts
Configuration file '/etc/systemd/resolved.conf'
==> Modified (by you or by a script) since ...
0
votes
0
answers
111
views
Installing from github instead of apt
Im using Ubuntu 20.10
Backstory
I've been trying to install omnet++
but I've got an error while running some samples with satellites. It gave the error "[osgEarth]* [Horizon] No horizon info ...
1
vote
1
answer
267
views
E: Syntax error /etc/apt/apt.conf.d/00aptitude:2: Extra junk after value
I get this error when opening Synaptic.
I had previously attempted to remove of all the languages in the file system besides English.
Could I have help to fix this error?
Thanks in Advance
Aptitude::...
2
votes
1
answer
855
views
How to reset package actions queue in Aptitude with its modern "Cancel pending actions" behavior?
In previous Ubuntu 16.04 LTS version I used the following procedure in Aptitude to undo package installation or removal:
Start Aptitude curses by sudo aptitude
Select some package(s) to install or ...
1
vote
1
answer
216
views
Aptitude progress bar
Discription
How to enable progress bar in aptitude
HI guys,im now using aptitude for installation,in apt there's a progress bar on the foot of my console,but in aptitude there's no such thing,i want ...
2
votes
1
answer
729
views
sudo aptitude install does not install proposed packages
I want to install default-libmysqlclient-dev using
sudo apt-get install default-libmysqlclient-dev
But I get this output
Reading package lists... Done
Building dependency tree
Reading state ...
2
votes
1
answer
90
views
apt : Differences between packages “held back” et “automatically held in their current state” and how should I manage this?
In aptitude, when I type g for go, I get amongst the proposed changes, a list of both "Packages being held back (232)" and "Packages being automatically held in their current state (48)&...
0
votes
1
answer
880
views
Unable to install "Additional Drivers" after upgrade to Ubuntu 20.04 LTS
Summary:
I am unable to install Additional Drivers after upgrading from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS. I receive the following error message:
Unable to install "Additional Drivers":
...
2
votes
3
answers
320
views
How can I install Steam without having to uninstall 64-bit libraries?
I've seen lots of answers for installing steam on 64-bit, but all of them involve installing libnvidia-gl-450:i386, which ends up replacing my 64-bit libraries that other software depends on. Is there ...
1
vote
1
answer
329
views
python2 - taskcoach and Ubuntu 20.04.1 LTS
I'm trying to install taskcoach on Ubuntu 20.04. It requires python2 and some other python2 dependencies.
I've tried to following the advices I've found at this link: https://answers.launchpad.net/...
1
vote
1
answer
125
views
aptitude search cannot display origin nor sources nor architecture of installed packages
I'm trying to list all packages (and their respective repositories) from other sources than the main/restricted/universe/multiverse.
First I've typed that command to list those packages :
$ aptitude ...
1
vote
1
answer
82
views
apt-config dump not returning cache information?
From man apt.conf,
Cache-Start, Cache-Grow, Cache-Limit
APT uses since version 0.7.26 a resizable memory mapped cache file to store the available information. Cache-Start acts as a
hint of the size ...
0
votes
1
answer
260
views
How to quey apt conf for default apt cache size?
I am required to report the default cache size used by apt-cache.
I tried below but there is no result. How can I find out the cache size? Any guidance?
$ apt-config dump | grep -i APT::Cache-Limit
...
-2
votes
1
answer
247
views
what is apt.conf in simple and understandable slang? [duplicate]
I have gone though man apt.conf. I feel the information there is quite overwhelming and difficult to understand for beginners moving to Ubuntu/Debinan Platforms.
Could some one explain in simple ...
0
votes
1
answer
2k
views
What does the presence and absence of "automatic" mean in apt output? [duplicate]
In the below output, what does automatic mean?
$apt search exfat
Sorting... Done
Full Text Search... Done
exfat-fuse/focal,now 1.3.0-1 amd64 [installed,automatic]
read and write exFAT driver for ...
0
votes
0
answers
93
views
Generate list of dependent packages with version using top level package from input file in Ubuntu or Debian
Is there something like npm lock-file in Ubuntu/Debian which can generate the Debian package tree with exact versions for direct and transitive dependencies? For example, a lock-file for Redis will be ...
0
votes
1
answer
1k
views
Installing LyX 2.3.5.2 on Ubuntu 20.04 LTS
I am trying to install LyX 2.3.5.2 on Ubuntu 20.04 LTS with the following code:
sudo aptitude install lyx
It throws the following message. Any hints to solve the problem.
sudo aptitude install lyx
...
0
votes
0
answers
118
views
In ubuntu 18.04, how does apt-get showing 1 version in 2 different source as 2 versions?
Recently ubuntu apt always try to upgrade libnvidia-common package with no effect, so I query this package and found 2 sources that are totally identical, one is from canonical & the other is from ...
1
vote
2
answers
5k
views
Partial upgrade to 20.04 LTS - incorrect version of libapt-pkg
I am trying to upgrade from 18.04 to 20.04:
$ grep -i rel /etc/lsb-release
DISTRIB_RELEASE=20.04
It looks like there is a dependency issue:
$ sudo apt-get update
Hit:1 http://no.archive.ubuntu....
3
votes
1
answer
3k
views
MiKTeX installation problems
I am trying to fix a MiKTeX installation on Ubuntu 18.04, or at least I would like to remove it and all its packages in order to install TexLive.
I tried to install it a couple of weeks ago, ...
2
votes
3
answers
2k
views
Is there any command to list "local" packages? like in Synaptic GUI
I used to look for local packages using Synaptic. Those packages which are locally installed but have no exact match in the current active repositories. As it is explained in this post: What does “...
1
vote
1
answer
747
views
Couldn't find any package whose name or description matched "libqt5ftp5-dev"
I use following command to install packages on UBUNTU1804.
sudo aptitude -R -y --allow-untrusted install libqt5ftp5-dev
Error: Couldn't find any package whose name or description matched "libqt5ftp5-...
17
votes
1
answer
16k
views
How to have both arch=amd64 and trusted=yes in sources.list of apt package manager?
What do I want to do?
You can have
deb [trusted=yes] http://pathtoserver/ubuntu bionic main
deb [arch=amd64] http://pathtoserver/ubuntu bionic main
in sources.list separately.
Is there a way I ...
3
votes
2
answers
2k
views
Snap Package installation in Chroot environment
I have a Chroot ubuntu environment installed in my Ubuntu 18.04 host computer.
When I try to install a snap package in the chroot environment, the package gets installed in my host computer and not ...
22
votes
5
answers
31k
views
Terminate unattended-upgrades or whatever is using apt in ubuntu 18.04 or later editions
It happens often that when I boot my Ubuntu 18 machines and I want to manually update my software I get stuck into errors involving something already using apt (endless waiting unattended-upgrades and ...
2
votes
0
answers
350
views
Aptitude is freezing when trying to install a package
I'm following the Ubuntu server guide. I'm trying to learn how to use Aptitude. I recently upgraded my ubuntu desktop from 16.04 to 18.04 LTS.
So I entered aptitude with sudo aptitude, and I marked ...