Stack Exchange Network

Stack Exchange network consists of 174 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]

The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.

0
votes
0answers
8 views

Difference in using gdebi or apt for local deb Package Installation

Back in the days, if you wanted to install a locally downloaded .deb package with remote dependencies to further packages, dpkg and apt-get where not really suited, for this scenario. Then I became ...
0
votes
1answer
16 views

How can I create an apt repository mirror on a network that is isolated from the internet?

I have a network that has no internet connectivity from any of the devices. The only way I can get data on it from the outside world is via a USB mass storage device (USB stick, external hard drive, ...
0
votes
0answers
20 views

apt-mirror always wants to download

apt-mirror is always trying to download ~430MB (every day). Downloading 4 dep11 files using 4 threads... Begin time: Wed Jan 16 09:04:43 2019 [4]... [3]... [2]... [1]... [0]... End time: Wed Jan 16 ...
0
votes
1answer
7 views

Using apt why do I get file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension

I get the following warning when I try to install packages. N: Ignoring file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension Using apt why do I ...
2
votes
2answers
57 views

Install old version of package Firefox-ESR on Ubuntu

I would like to install Firefox v52 ESR on Ubuntu 16.04 in order to access a legacy Java applet. The current version Firefox 60 ESR no longer allows me to do that. In effect, I would like to apt-get ...
1
vote
0answers
20 views

Debian 9 Stretch install new gsmartcontrol from special repo

echo 'deb http://download.opensuse.org/repositories/home:/alex_sh/Debian_9.0/ /' > /etc/apt/sources.list.d/home:alex_sh.list apt-get update Ign:1 http://download.opensuse.org/repositories/home:/...
0
votes
1answer
25 views

Error installing nginx with passenger on Debian 9

I am in the process of upgrading a Debian installation to version 9 and I am facing problems getting nginx with passenger to run. The issue is with trying to install libnginx-mod-http-passenger, ...
0
votes
0answers
17 views

Ubuntu 16.04, uninstalled python, now vim is broken and I can't fix it

I was having some problems with conflicts between my Anaconda python installation and my system Python on Ubuntu 16.04, so I decided to remove the system python packages. Apparently that was a bad ...
0
votes
0answers
27 views

Aptitude - choose resolution strategy (ie. upgrade-to-unstable before remove)

Is it possible to choose default (or per-launch) aptitude "unmet dependencies" resolution strategy? For example to have aptitude first offer upgrade-to-unstable/install-from-unstable (sid) than ...
0
votes
1answer
318 views

Not enough space in /var/cache/apt/archives/

I attempted to install the texlive package, but it could not finish the installation properly. When I then tried to continue on, it almost finished installing everything, but the texlive-publishers-...
1
vote
1answer
43 views

Why can't I install rust-doc?

I just installed rustc successfully, and saw, apt suggested I got rust-doc also. $ sudo apt install rust-doc Reading package lists... Done Building dependency tree Reading state information......
0
votes
0answers
86 views

apt-get upgrade not working after upgrade from stable to testing: error cycle with libc-bin package

I upgraded from debian stable to debian testing, and now I am not able to do apt-get upgrade anymore. When I do that I get this error: Processing triggers for libc-bin (2.27-6) ... dpkg: cycle found ...
0
votes
1answer
208 views

Unmet dependencies for PostgreSQL 10 under Ubuntu 16.04.5 LTS (xenial)

Following official instructions in https://www.postgresql.org/download/linux/ubuntu/, I got following error: The following packages have unmet dependencies: postgresql-10 : Depends: postgresql-...
0
votes
1answer
79 views

“apt upgrade” over SSH: This frontend requires a controlling tty

When upgrading our linux servers, I issue a command like this from one of our management servers: ssh server1.mycompany.com apt upgrade Under certain circumstances, I get this output from the ...
0
votes
0answers
39 views

make apt-get less verbose

I´m on Debian 16.04 and built myself a shell script to simplify all the update stuff and I regularly call it with sudo: apt-get -qy update apt-get -qq upgrade apt-get -qq dist-upgrade apt-get -qq ...
0
votes
1answer
52 views

Failed to download only package and dependencies on Debian

I'm trying to download (download only, not install) some packages and it's dependencies so I can install them later offline. I was told to use the command apt-get install --download-only [package]. ...
0
votes
2answers
626 views

apt-get install is not working in WSL

Windows 10 Ubuntu bash failing to install packages. Whenever I try install new package with below command, getting same error. root@VASI-HOME-PC:/mnt/c/Users/vadap# apt-get install atom Reading ...
0
votes
0answers
17 views

Does --purge work after running apt autoremove?

If I'm understanding correctly, apt autoremove removes unused dependencies and adding the --purge option will remove other associated files (config files?). I'm kinda guessing because I haven't found ...
1
vote
1answer
28 views

How to install xserver-xorg in unattended mode?

When I install xserver-xorg package on Debian9, I have to manually input the package configuration for keyboard layout How can I skip this step, or preconfigured the keyboard layout, so I can install ...
1
vote
2answers
64 views

ubuntu apt - why are the respositories accessed over HTTP?

So I was just updating my Ubuntu 18.04 system as usual, when I noticed that the apt repositories are being accessed via HTTP. A quick internet search confirmed that this is standard (at least with ...
1
vote
2answers
549 views

Installing Microsoft ODBC driver to Debian

So, my apt-get install returns with E: Unable to locate package msodbcsql (error code 100). I'm trying to access an SQL Server database with my system, and so I'm following Microsoft's instructions to ...
0
votes
0answers
189 views

How to apt install imagemagick version 7 instead of 6?

I'm trying to install the latest imagemagick on an Ubuntu 17.10 server. Imagemagick version 7 has been out for ages, but to my surprise, this: sudo apt install imagemagick Installs version 6.9.7 ...
0
votes
1answer
54 views

Why `apt-get purge` keeps trying to install things for me?

I try to purge the Oracle Java 8 JDK on Raspbian Stretch: sudo apt-get purge oracle-java8-jdk But it keeps trying to install replacements for me. For example, it keeps telling me "the following NEW ...
0
votes
1answer
42 views

Locking issues with “apt -y update && apt -y install python” in Ubuntu 18.04.1 LTS

I'm creating an Ansible Playbook to set up Ubuntu 18.04.1 VPSs and am encountering a problem where I can't reliably install Python. Since Ubuntu 18.04.1 is not shipping with Python installed, I'm ...
0
votes
0answers
78 views

How to cache mint and google chrome with apt-cacher?

I have an apt-cacher-ng server running. I am telling apt to use it: » cat /etc/apt/apt.conf.d/01proxy Acquire::http { Proxy "http://apt-cacher.mine"; }; Which is kind of working: » sudo apt update ...
0
votes
1answer
88 views

Aptitude error with linux-image-extra-4.13.0-45-generic

I think my problem is very common, but I didn't fix the solution... When I try to use apt (on Ubuntu 16.04 Server), I get this error : The following packages were automatically installed and are no ...
0
votes
1answer
39 views

Install new package without removing old ones

I am using virtualbox5.1 that require libcurl3. When I tried to install curl, apt want to install libcurl4 and remove libcurl3 with virtualbox5.1. So how to install curl without removing libcurl3 and ...
0
votes
1answer
60 views

What happened to remaining 12 upgradable packages?

So, yesterday night, I ran an apt update which reported that 15 packages could be upgraded. I issues the apt upgrade command immediately and started upgrading the packages docker-ce ffmpeg ...
0
votes
0answers
44 views

Remove gdal packages listed in apt-cache

I have a broken installation of gdal which is preventing me from installing the sf R package in my default conda environment (see https://stackoverflow.com/a/51369036/1840471). I'm trying to remove ...
0
votes
1answer
1k views

Failed to fetch error on apt-get update

I'm having an issue when running sudo apt-get update. I always get this error: Err:1 https://deb.packager.io/gh/opf/openproject-ce xenial InRelease Could not resolve host: deb.packager.io Hit:2 ...
1
vote
1answer
374 views

How can I fix error during install a package with APT in Ubuntu

I was trying to install a package using APT and I got error: UserName@PCname:~$ sudo apt-get install php7.2 Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
480 views

git clone and apt error : gnutls_handshake() failed

When cloning a git repository using git clone, I get the following error : fatal: unable to access 'https://github.com/schacon/simplegit-progit/': gnutls_handshake() failed: Public key signature ...
1
vote
1answer
412 views

Ubuntu 16.04 won't upgrade

I use Ubuntu 16.04 and want to upgrade. root@desktop:/# lsb_release -a LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9....
0
votes
1answer
17 views

Is there a simple low-overhead way to install deb packages in a virtual environment?

When I'm working on some arbitrary project I usually need a couple of packages. For all the python packages I create a virtualenv so that once I'm done I can delete the whole thing, and it does not ...
1
vote
1answer
9k views

How can I get past a “Repository is not signed…” message when attempting to upgrade Kali Linux from a mounted disk image?

I am trying to upgrade Kali Linux from 2017.2 to 2018.2 using an iso mounted in the Kali Virtual Machine. So, what I did was I edited my sources.list file to: deb file:///media/cdrom0 kali-rolling ...
0
votes
1answer
61 views

Raspberry Pi won't boot after restart during upgrade

I ran sudo apt upgrade on my Raspberry Pi (running Ubuntu Mate) over ssh. The connection timed out, but when I reconnected and tried continuing the upgrade, I got an error, so I tried to reboot, but ...
0
votes
0answers
625 views

How to apt-get install a package, ignoring dependencies?

For various reasons, I'm running some Debian systems with, shall we say, odd sets of packages installed. It's becoming almost impossible to do apt-get install to install anything; apt is always ...
0
votes
0answers
28 views

Debian, any way to list package sizes even for uninstalled ones

I know a very good command that can nicely list all package sizes: dpkg-query --show --showformat='${Installed-Size} ${Package}\n' However, that's only for installed packages. I can't make it to ...
0
votes
1answer
72 views

Where can I find the list of options for the apt-key adv command?

The manual page of the apt-key command has this: adv Pass advanced options to gpg. With adv --recv-key you can e.g. download key from keyservers directly into the trusted set ...
0
votes
0answers
74 views

Gnuroot - apt install returns permission denied

After successfuly setting up debian stretch on Gnuroot, I wasn't able to install packages. Running dpkg -i on a package returns: E: seteuid 0 failed - seteuid (13: Permission denied) E: setegid 0 ...
0
votes
1answer
264 views

Apt says packages have been kept back, what to do? Solutions from other questions don’t work for me

I have the same problem as @Jarle Hammen Knudsen from this question, but the solutions that worked for them somehow don’t work for me. I originally posted this there, but it got deleted because it "...
1
vote
1answer
390 views

Understanding why apt-get will remove certain packages

Is there any easy way to figure out why apt-get will remove certain packages when doing apt-get remove on others? I'm removing just a bunch of font files, and all of sudden apt-get thinks that my ...
1
vote
1answer
234 views

Using Go installed by non-default golang package on Debian

I am trying to install go 1.8. The apt package of anything but golang-1.7 doesn't work. Golang-1.7 installs properly, golang-1.8 doesn't. Is the package in the repo wrong/incomplete? Debian claims ...
0
votes
3answers
2k views

Upgrade Debian Squeeze to Stretch

Doing apt-get update gets the following errors: Ign http://security.debian.org squeeze/updates Release.gpg Ign http://security.debian.org/ squeeze/updates/contrib Translation-en Ign http://security....
1
vote
0answers
38 views

apt is broken relying on broken perl version

while trying to upgrade packages on pibian I am running into the following issues, all issues to resolve it seem to involve upgrading perl which is not possible with apt relying on broken perl At ...
1
vote
0answers
101 views

apt fails for debian jessie when going via apt-cacher-ng

When using a direct connection: root@cc90861af3e4:/etc/apt/apt.conf.d# apt-get update Hit http://security.debian.org jessie/updates InRelease Ign http://deb.debian.org jessie InRelease ...
0
votes
1answer
61 views

Debian postrm running twice and failing

The package: CMakeLists.txt: cmake_minimum_required(VERSION 3.7) project(sim-runtime) install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/sim-runtime-info DESTINATION bin) set(CPACK_GENERATOR "DEB") set(...
-1
votes
1answer
53 views

Why does 'apt/yum install' JUST NOT show actual package URLs?

I know there are commands to show package(.rpm/.deb) URLs without download: #apt apt download --print-uris PACKAGE #yum repoquery --location PACKAGE yumdownloader --urls PACKAGE But for god's sake, ...
1
vote
1answer
416 views

specific systemctl service is stopped after daily apt upgrades and clean activities

I have problem in multiple servers (it happened twice, one per month) where starting Daily apt upgrade and clean activities for some reason stops my specific service and then never starts it, so it is ...
0
votes
1answer
330 views

Ubuntu 16.04 can't run “sudo apt upgrade”

I've been using Ubuntu for a couple months now but just recently the command sudo apt upgrade has stopped working. I get the error: Reading package lists... Done Building dependency tree ...