Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apt]

APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

0
votes
1answer
38 views

How to install removed apt

On Ubuntu 18.04.2 LTS, I completely removed/uninstalled my apt-get because of problems I was having. I tried re-installing it with dpkg by runnung: $ sudo wget http://archive.ubuntu.com/ubuntu/pool/...
0
votes
0answers
39 views

Configure APT repositories using DEB package

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script. Now I want to upgrade ...
2
votes
1answer
21 views

Does 'sudo apt-get purge postgr*' remove database files?

I ran sudo -u postgres psql -c "show data_directory" and it shows /var/lib/postgresql/9.5/main. If I understand correctly, this is the directory that stores the database files. I ran sudo apt-get ...
2
votes
1answer
27 views

How to get all package names that were not installed from a repository in /etc/apt/sources.list

Is there a way to get the names of all installed packages that are not installed from repositories listed in /etc/apt/sources.list ? Or get the name of all packages that were installed locally(using ...
0
votes
0answers
7 views

Google Chrome stable + beta installed concurrently. Target Packages is configured multiple times

I have Google Chrome stable + beta installed concurrently on my Mint 19.1. I get these warnings while running apt-get update: W: Target Packages (main/binary-amd64/Packages) is configured multiple ...
2
votes
1answer
27 views

Why does apt-cache rdepends --installed list uninstalled packages?

I'm running apt-cache rdepends to determine which packages are essential on my machine. For alex, I got the following: $ apt-cache rdepends alex --installed alex Reverse Depends: alex:i386 The ...
0
votes
0answers
19 views

apt-get update not working KDE neon [duplicate]

this is what I faced when trying to make update from the terminal on KDE neon /usr/bin/apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0: symbol _ZTI17pkgAcquireStatus2 ...
1
vote
2answers
29 views

I've accidentily deleted /etc/apparmor/, what should I do to restore it?

I accidentally deleted the /etc/apparmor/ folder on my debian 4.19.28-2 box by having the wrong folder selected in a gui file browser. My questions are: Should I be worried? #apparmor_status ...
-1
votes
1answer
37 views

Prevent post-install scripts from modifying /etc/fstab

OS: Ubuntu 18.04 Today I noticed that some script has modified my /etc/fstab and commented out the efivars partition: # /boot/efi was on /dev/nvme0n1p1 during installation # UUID=1562-9EFD /boot/...
1
vote
1answer
45 views

Package manager says I have the latest version but there is a newer one

I'm trying to to install libgsf-1-114 package which according to the packages.ubuntu the latest version is 1.14.45-1. Currently I have version 1.14.36-1: apt list libgsf-1-114 Listing... Done libgsf-...
0
votes
1answer
20 views

Installing mono messed something on my computer

How can I fix this issue: (base) jaakko@jaakko-GL553VW:~/Desktop/Programming$ sudo apt install synaptic Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
1answer
35 views

How to install a few specific packages one time on Debian Wheezy (after EoL)

I'm using a fresh beaglebone debian 7.9 armhf image and need to do some additional setup. Despite EoL being May 2018, the apt sources have still been available until recently. They are no longer ...
1
vote
1answer
21 views

apt-file list shows only two files for nginx package

I wanted to check how many files come with the nginx package. However the corresponding command seems to indicate that the package comes with only two files (?) $ apt-file list nginx nginx: /usr/...
6
votes
1answer
198 views

Interpretation of apt depends output

When running an example of apt depends command, e.g. $ apt depends nginx nginx |Depends: nginx-core (<< 1.14.0-0ubuntu1.2.1~) |Depends: nginx-full (<< 1.14.0-0ubuntu1.2.1~) |Depends: ...
0
votes
1answer
46 views

Debian won't install steam [duplicate]

I want to follow this guide : https://linuxconfig.org/how-to-install-steam-client-on-debian-9-stretch-linux this answer does not work either :Installing Steam on Debian it does not work for me. I ...
0
votes
0answers
16 views

Unable to settle out packages needed for virtualization on Ubuntu 18.04.02

I want to install the dependencies for managing VMs on an Ubuntu 18.04.02 machine. So I did: # apt install -y libvirt* qemu* Reading package lists... Done Building dependency tree Reading ...
0
votes
0answers
30 views

How to install git repo using apt-get?

I want to install my new git hub application to system using command like apt-get install <application_name> rather than cloning git repo and compiling and moving the file to /bin/folder.
0
votes
0answers
18 views

Tix package (.deb) installed, Tcl doesn't see it

I'm on Debian Sid, I have installed the tix package (as in sudo apt install tix) and later I've tried to load it, as in $ tclsh % package require Tk 8.6.8 % package require Tix can't find package Tix ...
1
vote
1answer
83 views

msgfmt not found though msgfmt is installed via package manager

I'm having trouble building Git from sources on an ARM dev-board running Armbian. Armbian is a Ubuntu Bionic derivative. Git fails at the make test recipe. make[1]: Leaving directory '/home/build/...
0
votes
1answer
19 views

Debian stretch not getting package from stretch-backports

This page shows that the freetds-dev version on stretch-backports is at 1.00.104-1~bpo9+1 but when I attempt to install it I get version 0.91-6.1+b4. root@c0884c37efdc:/# apt update Hit:1 https://deb....
0
votes
1answer
16 views

Can I force apt-get install to skip upgrading ca-certificates as the upgrade is failing on Debian GNU/Linux 9?

I am trying to install a package using apt-get on Debian. However, for some reason, it also wants to upgrade ca-certificates. Can I force apt-get install to skip upgrading ca-certificates as the ...
0
votes
0answers
39 views

Installing “software centre” on Kali [duplicate]

I'm trying to install some software on Kali 2019.1 (VMware Workstation 12) following instructions here, but nothing is working. I've downloaded the ISO from the official Kali website. Attempting to ...
0
votes
1answer
28 views

Installing gtkmm from source

I know that gtkmm can be installed using package manager, but here I am keen to install it from source. It requires me to install the Dependencies: libsigc++ 2.0 GTK+ 3.0 glibmm cairomm pangomm ...
0
votes
1answer
35 views

How do you add an old repository (Jessie) to the list of repositories apt-get can download from? [duplicate]

I'm currently working on Debian. I've recently found a package I want to use apt-get to install onto my computer, but the only distribution of it is for the oldstable (jessie) repository. I'm ...
0
votes
0answers
16 views

How to test apt-mirror with a small portion of packages? [duplicate]

I'm setting up a practical work for my IT students and I want them to set up a small architecture : A web proxy-server with user authentication. Since every http traffic will be blocked by the proxy, ...
0
votes
1answer
41 views

Is it possible to emulate package versioning in Debian-based distributions?

I have executable for x86 machine, dynamically linked, while the same library is installed in the 64 arch host, and utilized by hundreds of binaries, and libraries, while the objective not to have 64 ...
2
votes
1answer
54 views

when did apt or apttitude or apt-get start supporting of last two releases for migration purposes

I was playing with my Debian install today and discovered an interesting thing. If I do for e.g. $ apt-key list /etc/apt/trusted.gpg -------------------- pub rsa4096 2019-04-15 [SC] [expires: 2024-...
2
votes
1answer
89 views

Atom Editor not found,Ubuntu 18.04

I went to check the official repo curl -s https://packagecloud.io/install/repositories/AtomEditor/atom/script.deb.sh | sudo bash Detected operating system as Ubuntu/bionic. Checking for curl... ...
0
votes
1answer
37 views

Which file does apt update actually work on?

My internet connection went off while I was running apt update, so to restore my system to initial state I was wondering which file apt update actually works on.
0
votes
2answers
55 views

apt packages without manual pages

When I look at what I have installed via apt list --installed, why are there so many entries without manual pages? I tried info [package name] and package name --help and get the output bash: ...
0
votes
1answer
51 views

I want to understand how locking works in Linux [closed]

So you might have noticed on typing apt-get update there comes an error sometimes that says E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock ...
1
vote
0answers
44 views

apt-get update shows after upgrade to stretch still jessie

I upgraded from Jessie to Debian Stretch: cat /etc/issue Debian GNU/Linux 9 \n \l When I run apt-get update it still checks jessie sources: example: Ign:5 http://ftp.debian.org/debian jessie-...
1
vote
2answers
70 views

apt is always locked in other duties when I want to update my system

Very often when I want to update one of my systems, apt is "locked" by other processes. It can happen more than once the same day. I have to run this command and kill the top process to get apt back,...
4
votes
2answers
193 views

Installing Debian packages from Stretch DVD 2 and 3 after installation using apt?

Can I install Debian packages from Stretch DVD 2 and 3 after installation using apt? Because installing on VM, it didn't detect the second and the third DVD.
1
vote
2answers
40 views

Not being able to install anything or use apt-get update from the terminal

I am using Elementary OS. When I try to sudo apt-get update or just try to install something through the terminal, I get this message and I have no idea what to do: E: Type '>' is not known on ...
1
vote
1answer
30 views

Why do I need to give the whole key when trying to delete a public keypair?

I am sharing a specific key so it's simple and easy to show - $ apt-key list /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg -----------------------------------------------------...
4
votes
2answers
340 views

porting install scripts : can rpm replace apt?

I have the following install script for ubuntu : #!/bin/bash sudo apt update sudo apt full-upgrade -y sudo apt install jq sudo apt autoclean -y sudo apt autoremove will the following work under ...
2
votes
1answer
868 views

Debian apt-get update says ''Unable to find expected entry" [duplicate]

My 32 bit debian (version: Debian GNU/Linux 8) installation is suddenly giving me the following messages when I run apt-get update. W: Failed to fetch http://ftp.nl.debian.org/debian/dists/jessie-...
-2
votes
1answer
148 views

how to fix E: Unmet dependencies in kali linux? [duplicate]

I did sudo apt-get install wine32 And here are the results: root@kali:~# sudo apt-get install wine32 Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
75 views

How can i remove ImageMagick 7 completely from ubuntu 18.04?

I have to remove ImageMagick 7 completely from my system. I have a rails app which requires ImageMagick 6. I have tried the following commands to remove but nothing works. 'sudo apt remove --purge ...
1
vote
1answer
51 views

apt update always overrides old config file

I am building and distributing my code as a deb package (built with cmake, packaged with CpackDeb) to a Ubuntucore-based 16.04 LTS. The package installs a config file among else. I can't get apt/apt-...
0
votes
1answer
48 views

Sudo apt-get update not working

How do I go back to the beginning? To ground zero of installation for Ubuntu? Or how do I fix this problem? $ sudo apt-get update [sudo] password for charlesbenjamin: Ign:1 http://ppa.launchpad.net/...
0
votes
1answer
39 views

The following packages have unmet dependencies: lsphp72 : Depends: > libjpeg62-turbo (>= 1.3.1) but it is not installable

I'd like to install PHP for Litespeed on Linux Mint. After I run: sudo apt install lsphp72 lsphp72-curl lsphp72-imap lsphp72-mysql lsphp72-intl lsphp72-pgsql lsphp72-sqlite3 lsphp72-tidy lsphp72-snmp ...
1
vote
0answers
144 views

apt update has two failed index files and I can't find anything on the web about what to do

I'm updating one of my systems and I get an error which I don't know how to fix or what the problem is. Here is the error: E: Failed to fetch http://the.earth.li/debian/dists/stretch-updates/main/...
1
vote
1answer
99 views

Linux Mint error: “Malformed entry 1 in list file /etc/apt/sources.list.d/lst_debian_repo.list (Component)”

In Linux Mint, when I run the command sudo apt-get update I receive the error: Malformed entry 1 in list file /etc/apt/sources.list.d/lst_debian_repo.list (Component) I see the following in that ...
1
vote
0answers
59 views

Error when doing apt-get update [duplicate]

I'm using Debian stable and when I use sudo apt-get update, I get this message at the end: The AppStream system cache was updated, but some errors were detected, which might lead to missing metadata. ...
2
votes
2answers
100 views

How to uninstall or remove recently-installed packages

I installed the development packages for X11 today and now want to remove them. I do not remember the exact name of the package that I installed. I installed by running apt-get install ... and now ...
1
vote
2answers
67 views

apt-get over proxy, error “405 Method Not Allowed”

I try to setup the Advanced Packaging Tool (apt-get) to work over TOR. The Web-Browser is working fine, YouTube-DL needs --proxy "socks5://127.0.0.1:9050", wget douse not work wget: unable to resolve ...
2
votes
1answer
32 views

How can I find out, before upgrading, whether a reboot will be required

I'd like to know before-hand if a reboot will be required. I've tried to get verbose output during a simulated upgrade to grep for /run/reboot-required. But that doesn't seem to work.
1
vote
1answer
74 views

Automatic package management corrupted - binary output?

I am running Ubuntu Bionic. When I try to install something via apt-get, I get a long error with binary outputs: sudo apt-get autoremove Reading package lists... Done Building dependency tree ...