Questions tagged [apt-cache]

See apt, the deafult package manager for ubuntu.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Identity Management with FreeIPA-client version 4.9 is not available which is leading to non retrieval of CA certificate from FreeIPA-server

The ipa-client-install gets to this point and gets stuck: All I can see is the freeipa-client version difference as same configuration works fine for CentOS. My ipa-server version is 4.9.2 while my ...
0
votes
2answers
31 views

Multiple outputs for "apt-cache policy <package name>"

From what I understand, apt-cache policy <package name> displays the pinning order and thus the releases of package name available in the apt repositories along with their priority orders. So, ...
3
votes
1answer
119 views

List dependencies of package that I don't already have installed?

I want to know ahead of time how many extra packages need to be installed for a given package. I know I get something like this when I do an apt install -s package | grep ^Inst, but can I get the ...
0
votes
1answer
69 views

apt-cache shows wrong package version available

I'm going mad with the following issue. I've added a PPA (ppa:savoury1/encryption) on two machines running Ubuntu 20.10. On the first one, I see: apt-cache policy openssl openssl: Installato: 1.1.1j-...
1
vote
1answer
221 views

Are ubuntu 20.10 packages compatible with ubuntu 20.04 [duplicate]

I have installed Ubuntu 20.10, since it is non LTS, I'd like to have 20.04. Problem is I have already installed lots of apt packages in my 20.10. So is it possible to reuse the apt cache in my newly ...
1
vote
1answer
130 views

How do I search the package lists of old Ubuntu releases? [duplicate]

I usually search for packages using apt-cache (e.g. apt-cache search 'flash player') or by using the search functionality on https://packages.ubuntu.com. Now suppose I wish to search the package list ...
6
votes
1answer
227 views

Cannot grep apt-cache show output

I have a list of packages and I want to know which packages are not available in the ubuntu repositories. I type this command but it returns nothing : $ apt-cache show vim TotO perl 2>&1 | ...
3
votes
1answer
765 views

Need to try to install a specific package version -- however apt-cache madison, apt-cache policy only seem to list the latest version

Other SE posts, for example this, show how you can install a specific package version. However, I'm unsure what exactly the naming convention / syntax used for the version I want is. I need to install ...
0
votes
1answer
97 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 ...
0
votes
0answers
40 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 ...
2
votes
0answers
32 views

How to leave deb files in cache after installing? APT::Clean-Installed "0" has no effect [duplicate]

I have an HDD installation that has spare space and I would like it to be a backup deb archive. But even with APT::Clean-Installed "0"; in apt.conf and verified with apt-config dump all newly-...
1
vote
2answers
4k views

How to install specific docker version from apt-cache policy docker-ce candidate list

Command "Docker-ce" list all candidates root@ubuntu:/home/master# apt-cache policy docker-ce docker-ce: Installed: (none) Candidate: 5:19.03.6~3-0~ubuntu-xenial Version table: 5:18....
2
votes
0answers
109 views

Apt pinning based by url

I want to have in avaiable sources two repos: https://qgis.org/ubuntu https://qgis.org/ubuntugis Is there way to pin first one with priority 600 ans second one with 450? Maybe I can add some option ...
2
votes
1answer
58 views

Listing packages installed outside of official repo

I want to list all the packages in my computer which are not listed in the official ubuntu repo. I needed a script which is fast enough to do the same thing in under a minute.
0
votes
1answer
109 views

Difference between apt-get and apt-cache [duplicate]

Being a new comer in Ubuntu environment, I am bit confused between the apt-get and apt-cache. Can anyone explain what is difference between apt-get and apt-cache. And when to use the apt-get and apt-...
4
votes
2answers
123 views

Does apt-cache policy <package_name> require sudo?

Can't find any formal explanation to determine whether apt-cache policy <package_name> command requires sudo or not. Tested it in my machine (Ubuntu) with lots of packages and seems to work, ...
0
votes
0answers
46 views

why names containing dot are not taken in consideration in the result list using the command "apt-cache pkgnames <name>" [duplicate]

System: Ubuntu 18.04 LTS If you run the following command $ apt-cache pkgnames python . . . python3-case python3-rpy2 python3-pycurl-dbg python3-structlog python-natsort python-protobuf python-rpm ...
0
votes
1answer
325 views

How can I get *ALL* the info for available packages in apt at once?

I would like to get the details about all the available packages in apt without installing them. I know that apt-cache search . would give me the list and description of all the available packages. ...
3
votes
0answers
73 views

apt-cache implementation

I am looking at the apt-cache implementation. How does apt-cache create and updates the local package cache? Is it periodic or manual? As far as my investigation, it is manual (apt-get update). When ...
1
vote
0answers
52 views

apt-cache pulls from /var/lib/dpkg/status - How can I prevent this?

I'm attempting to compile some dependency info from an older version of Ubuntu (Artful). Basically I've downloaded the old-release stuff by adding the following lines to my /etc/var/sources.list: ...
0
votes
1answer
283 views

Limit apt-cache show results to only one record (the installation candidate)

Suppose I run apt-cache show foo- it prints out all records for foo . This is a problem if I want to use it from some kind of parsing script. Is there a standard way to show only the first record?
0
votes
1answer
81 views

How do I use the C.L.I. to convert packages in the output from apt-cache depends into a space‐separated list for use with apt-get download? [duplicate]

How do I use the command line interface (not a GUI) to convert the list of dependency packages in the output from apt-cache depends into a space‐separated list for use with apt-get download? ...
0
votes
0answers
222 views

apt-cacher-ng for different distros OK?

Would setting up apt-cacher-ng in the host and serve it for different dockers running different distros be OK? E.g., even for a Ubuntu host servicing different versions of Debian?
0
votes
1answer
138 views

System freezes, apt-cache running 100% for an hour?

Sorry if I'm overdoing the details. I'm new to the forum, that or I have another account I never knew about. I know the community prefers questions that can be answered, and I'm hoping I can get an ...
2
votes
1answer
45 views

Paranoid control over packages

I am new in Ubuntu (come from Slackware). I would like to install and maintain my system in such a way that I always have available archive of installed packages in the form of deb files, starting ...
5
votes
2answers
3k views

update-java-alternatives jinfo file does not exist

I'm trying to learn how to quickly change which java version my system uses as described in this article: https://aboullaite.me/switching-between-java-versions-on-ubuntu-linux/ I've used apt-get ...
0
votes
2answers
635 views

How do I remove Tumbler from Xubuntu 16.04?

I want to remove the tumbler package from Xubuntu 16.04. According to the answer here, it can be safely removed from Xubuntu 14.04. The only package that depends on it is the meta-package xubuntu-...
0
votes
1answer
52 views

Installed but cannot seen on apt-cache

I have installed ffmpeg and libx264 via that code. I can use ffmpeg and can do simple jobs but if i write apt-cache ffmpeg it returns me Installed: (none) Why i cannot see it in apt-cache? # ...
0
votes
2answers
326 views

Pycharm and other packages don't appear in the apt-cache search list [duplicate]

I can find PyCharm Pro, PyCharm CE, and PyCharm EDU in Ubuntu Software app, but I am trying to get better with apt-get commands in a terminal window. Yet when I type apt-cache search PyCharm I am ...
0
votes
2answers
943 views

Cannot update package from ppa

I cannot upgrade handbrake using ppa:stebbins/handbrake-releases Under /etc/apt/sources.list.d I find the following file stebbing-handbrake-releases-trusty.list This contains the correct links: deb ...
0
votes
1answer
518 views

apt-offline for either offline or online system (mariadb 10.2 install)

I have a case where a product update may be done on either an internet-connected or non-internet connected 14.0.4 system. As part of the product update, it needs to switch from mysql to mariadb, ...
1
vote
0answers
97 views

core dump for apt-cache update [duplicate]

I am trying to update my apt cache, but after a few hits I get this error semantic@semantic-Tech:~$ sudo apt-get update [sudo] password for semantic: Hit:1 https://download.sublimetext.com apt/...
1
vote
2answers
141 views

Where is the information from 'apt show <packagename>' stored?

I have the following problem: I wrote a script, that extracts information about the installed packages of my system (Ubuntu 16.04 LTS). I am particularly interested in the source of the package. This ...
2
votes
1answer
3k views

How to figure out the package version from "apt-cache show" output if there's two packages?

I've never seen that apt-cache show [exact package name] shows two package information blocks (after sudo apt-get clean): > sudo apt-cache show nvidia-367 Package: nvidia-367 Priority: optional ...
5
votes
2answers
2k views

apt-cache/apt search packages that are not installed

I can search packages with apt-cache search <package_name>, or search installed packages with apt list --installed | grep <package_name>. How about packages that are not installed? How ...
1
vote
1answer
2k views

apt-cache does not show older versions of a package

I need to downgrade jenkins from 2.54 to 2.53. Repo is set up as follows: $ cat /etc/apt/sources.list.d/jenkins.list deb http://pkg.jenkins-ci.org/debian binary/ The repo contains version 2.53 so I ...
3
votes
1answer
34 views

Is this expected apt-cache behavior?

Shouldn't the number of pkgnames match "Total Package names?" ericm@saxman:~$ apt-cache pkgnames | sort | wc -l 54411 ericm@saxman:~$ apt-cache stats Total package names: 70821 (1,416 k)
1
vote
1answer
571 views

Error 500 in apt-cache policy

I have installed jasper using synaptic manager. When I tried to check the version using: apt-cache policy jasper this was displayed: jasper: Installed: (none) Candidate: 0.69 Version table: ...
3
votes
2answers
3k views

List available ffmpeg versions on 14.04

Ubuntu 14.04 server here. I want to see what versions of ffmpeg are available for download. Usually I can run apt-cache policy <packageName> to do this, but because ffmpeg was excluded from the ...
0
votes
0answers
181 views

Why does apt-cache policy claim libpng-dev doesn't exist?

When I run apt-cache policy libpng-dev I get output that says: libpng-dev: Installed: (none) Candidate: (none) Version table: Why? Isn't this command supposed to show you what version(s) are ...
0
votes
2answers
389 views

How to do an offline installation of packages in ubuntu 12.04 by exporting this folder /var/cache/apt/*

Suppose I'm on a machine with full internet access and do "apt-get update" it then updates the cache /var/cache/apt/* with binary files. Now I do a "apt-get install pkgname" and inside /var/cache/apt/...
3
votes
1answer
2k views

Why does command apt-cache show result in "E: no packages found"? Ubuntu 16.04

I don't understand why my apt-cache would be empty, as there is a gazillion packages installed on my system (like all Ubuntu systems). I tried installing a random program and running it thinking that ...
0
votes
1answer
153 views

Using apt-cacher for multiple ubuntu release

I am working, which has around 40 employees and almost everyone is using ubuntu desktop 14.04. I have created a local ubuntu repository(ubuntu 14.04) using apt-cacher. I am using it for updating ...
1
vote
2answers
3k views

remove stuck package: subprocess installed post-installation script was killed

It failed during dist-upgrade. I already removed this package PPA from sources, but if I do dist-upgrade or install -f, it still tries to execute this setup script and dies: Setting up yd-tools (1.8....
4
votes
1answer
473 views

apt-cache unmet shows non-existent packages

Running apt-cache unmet outputs a 1.2 MB file of missing dependencies of packages, none of which exist (the packages themselves). This is possibly due to restoring old configurations to a fresh ...
0
votes
2answers
3k views

How to determine which package to install?

On the Mac, since I used node to run NodeJS, so I assume I would do the same on Ubuntu (just like gcc for the GNU C Compiler). So I typed node, and it says The program 'node' can be found in the ...
2
votes
2answers
370 views

cant understand the function of apt-cache remove [duplicate]

I needed to reinstall wine from scratch so I first decided to uninstall the current version but, running the command sudo apt-cache pkgnames wine before and after running any of: sudo apt-cache --...
8
votes
3answers
49k views

Using apt-get to remove packages and dependencies

I've recently been reading through a lot of questions/answers/opinions about removing packages and dependencies. There's a lot of different ways to do it, some being overly convoluted and some being ...
1
vote
1answer
19 views

Some packages contain repeated meta data

For example, libelf1 has duplicate package meta data, i.e. $ apt-cache show libelf1 | grep 'Architecture:' Architecture: amd64 Architecture: amd64 Why is that?
1
vote
0answers
65 views

Commands to search by project homepage tag

Some packages list a homepage, such as the one for Texmaker. $ apt-cache show texmaker | grep http Homepage: http://www.xm1math.net/texmaker/ However, I can't find a way to search for the URL of a ...