Questions tagged [apt]
The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.
483
questions
2
votes
1
answer
1k
views
"unmet dependencies" error when trying to install gnuradio on Ubuntu 18.04
Following the guide here:
https://wiki.gnuradio.org/index.php/InstallingGR#Ubuntu_PPA_Installation
I attempt install:
sudo add-apt-repository ppa:gnuradio/gnuradio-releases
sudo add-apt-repository ...
1
vote
2
answers
634
views
Crossgrading Debian buster from i386 to amd64
I followed the instructions from https://wiki.debian.org/CrossGrading but after crossgrading dpkg, tar, apt everything breaks completely. For example, apt upgrade:
# LANG=C apt upgrade
Reading ...
0
votes
1
answer
488
views
Relocation error: NETTLE_6 not defined in file libnettle.so.6 with link time reference
I have recently upgraded from Debian 9 to Debian 10 but right after that apt, wget and many other packages stopped working correctly.
This is what I get when I try to use any of those
wget: ...
3
votes
1
answer
2k
views
use local package with apt-get
I try to install package jruby with apt-get. One of the dependencies is package ruby-thread-order but apt-get fails to get that with
E: Failed to fetch http://deb.debian.org/debian/pool/main/r/ruby-...
0
votes
1
answer
282
views
how to install gengetopt on cygwin
I have some C code originally developed on linux, which makes use of gengetopts to parse the command line. I also want to build that code on cygwin.
(On linux I simply did "apt-get install gengetopt" ...
1
vote
2
answers
1k
views
Detect if apt-get update is necessary
Is there a way to detect if running apt-get update is necessary?
It seems that whenever apt-get update is run, it downloads the latest lists even if I already have them, and I want to avoid ...
0
votes
2
answers
280
views
APT upgrade fail2ban
I am trying to update Fail2Ban to include more recent changes they've included (specifically, catching Apache's Primary Script Unknown) errors.
I am using Ubuntu 18 on a digital ocean droplet. When I ...
0
votes
0
answers
576
views
apt-get update fails on HTTP sources (but not HTTPS)
I'm getting an error with HTTP sources when trying to run apt-get update:
root@hostname:~# apt-get update
Hit:1 https://ftp.us.debian.org/debian buster InRelease
Err:2 http://security.debian.org ...
1
vote
0
answers
66
views
Ubuntu landscape upgrades are not available after "apt update"
This morning I received the following email from Ubuntu Landscape:
The following security upgrades are available:
Package Version USN
-----------------------------...
1
vote
1
answer
788
views
Using own apt mirror with apt. apt update try to connect to prod.debian.map.fastly.net istead of deb.debian.org
I create own apt mirror available locally for all servers.
To not change /etc/apt/sources.list I also run dnsmasq, that resolve deb.debian.org (and security.debian.org) to private IP address, where ...
0
votes
0
answers
24
views
A PPA "source" only lists a subset of the available packages
I added this PPA a long time ago but when I'm trying to install the polo-file-manager package from Tony George it wasn't available when doing an apt install, so I went and removed the PPA and then re-...
1
vote
0
answers
45
views
How to pick an option automatically in dialog boxes when updating ssh with apt?
Just installed raspbian lite buster for my headless raspberry pi, and set up weekly updates with cron. However, I noticed a small problem when I ran a manual upgrade first. SSH had a new version ...
0
votes
1
answer
61
views
Aptitude validate installed package against deb/repo
I am bouncing back from disk corruption caused by power failure. All configs and non-repository files are backed up, and I have a list of installed packages, so I can start fresh this time but I am ...
0
votes
0
answers
742
views
How to downgrade to a specific version of package in linux mint?
I've recently upgraded thunderbird to version 68.2, which broke every single addon I had, so I decided to downgrade to version 60.9, specifically, apt-cache policy thunderbird showed me that a ...
0
votes
2
answers
2k
views
Debian: "apt install build-essential" fails because of unmet dependencies
Using Debian Stretch v9.11.
I try to install build-essential, but fails because of unmet dependencies:
sudo apt install build-essential
Reading package lists... Done
Building dependency tree
Reading ...
1
vote
0
answers
883
views
Why I can't use apt-get command on an Ubuntu VM running in my client datacenter? Temporary failure resolving 'archive.ubuntu.com'
I am not so into Linux. On an Ubuntu VM on a client production environment it seems that I can't use apt-get command.
I will try to explain the situation in details:
first thing: at the startup of ...
1
vote
1
answer
410
views
debian: not relying on DVDs when apt install
Hello fellow superusers,
I installed a debian 10 with the first DVD out of the 3 DVDs set. My problem is, very often, when I install a new package with apt, from the Internet, debian asks for the ...
0
votes
1
answer
528
views
How to fix this package installation error?
When I tried to install python-pip on my Ubuntu on 04/18, I got this error.
What should I do?
root@sklypc:/home/skly# apt install python-pip
Чтение списков пакетов… Готово
Построение дерева ...
-2
votes
1
answer
71
views
Neo4j Apt Key Refused
I am trying to install Neo4j on a Debian system, thus I have opened the page https://debian.neo4j.org/ and followed the instructions. I had no problem with the first two command, but when I executed ...
0
votes
0
answers
45
views
Trouble while Updating Ubuntu 18.04
Situation: I have a Zentyal Server with 3 VM (Qemu) managed with KVM Manager.
All of them running on Ubuntu 18.04.03 LTS
Host: Zentyal 6.0.1
VM1: Ubuntu Server
VM2: Zentyal 6.0.1
VM3: Ubuntu Server
...
1
vote
1
answer
2k
views
How to install a specific version of apt?
I have apt version 1.6.12, I want to install apt version 1.4.2 and use it.I have tried
sudo apt-get install apt=1.4.2
but it gives "E: Version '1.4.2' for 'apt' was not found".
0
votes
1
answer
132
views
How does Chromium on linux get auto updated?
I often see new features getting added to my chromium browser in Ubuntu 18.04 - without me having run a package upgrade. I also haven't found any running cron job that upgrades packages.
This what ...
2
votes
2
answers
2k
views
debian buster sudo apt-get upgrade does nothing
I just installed Debian buster on 30 sep. apt-get works very well and I am able to update my system. But running apt-get upgrade always does nothing.
Reading package lists... Done
Building dependency ...
1
vote
1
answer
736
views
Ubuntu 19.04 apt broken dependency: mono
I'm having an issue with apt on ubuntu 19.04. Every time I try to install or upgrade an apt package the following error comes up:
You might want to run 'apt --fix-broken install' to correct these.
...
2
votes
0
answers
5k
views
libc6 (>= 2.29) but 2.28-10 is to be installed
Everything worked perfectly when I am using Ubuntu.
But when I come to Debian and try install a package, this happens.
What should I do?
$ sudo apt install google-drive-ocamlfuse
Reading package ...
0
votes
1
answer
314
views
Update management of large clusters of Ubuntu servers
is there any software that may be used for managing updates on group of Ubuntu machines? I would like to let some test machines get updated with all available ubuntu updates, then test the resulting ...
15
votes
1
answer
30k
views
install mysql-client-5.7 on debian buster
I would like to know how can I install mysql-client-5.7 on debian buster using apt-get since it is not already present in Debian Buster Package Repository?
Some Background info:
I want to install ...
0
votes
2
answers
998
views
Hetzner issue: /etc/source.list is automatically overwritten when using Ansible
I am trying to get ansible to work correctly on a Hetzner debian dedicated server. The problem is that hetzner automatically overwrites the /etc/sources.list file somehow.
I then get the following ...
0
votes
1
answer
394
views
not being able to install kdump non-interactively on ubuntu
I am trying to enable kdump through a script in the following way
echo "kexec-tools kexec-tools/load_kexec boolean false" | sudo debconf-set-selections
update /etc/default/grub
sudo update-grub
...
2
votes
0
answers
45
views
How to install m68k cross compilation toolchain on sid?
My end goal is to be able to compile and run m68k programs using my amd64 VM. I have had luck doing this for ppc64el, mips64el, sparc64, and so on. It's just this weird thing with apt that happens ...
3
votes
0
answers
541
views
Run apt from a sysroot directory
I have a sysroot in my ubuntu 18.04 located at ~/sysroot. I have a debian based system there and the packages in the sysroot are compatible with the host architecture. Now, how can I run apt from the ...
0
votes
1
answer
22
views
How to make a package upgradeable again after manually installing a specific version?
My aim was to switch from a testing to a stable repository. To do that I removed the testing repo, added the stable repo and then installed a specific version from the stable repository. Unfortunately ...
1
vote
0
answers
795
views
Valgrind returns "Illegal instruction" reguardless of options. Raspbian
I'm trying to get Valgrind running on my raspberry pi zero W. I've installed it through apt but running it returns "Illegal instruction" no matter what.
pi@raspberrypi:~/Documnents/test $ valgrind --...
0
votes
1
answer
219
views
Searching apt list n* returns nothing
I am unsure if this is just a regex quirk that I have forgotten but here goes. I was trying to find the nvidia-docker2 apt and found that the following search returns nothing other than 'Listing... ...
0
votes
0
answers
609
views
Can not install mysql-server-5.7 on Ubuntu
I want to install mysql-server on my Ubuntu machine with
sudo apt install mysql-server but the installation fails with this error
This installation of MySQL is already upgraded to 5.7.26, use --...
0
votes
1
answer
337
views
Why dpkg looks for old headers?
I am under Debian 9.9 Stretch.
When I want to install new packets with dpkg -i, apt install or even when I am doing a apt-upgrade I got the following error:
Processing triggers for initramfs-tools (...
1
vote
1
answer
157
views
How can I find out from which archive area a Debian package is?
I know I can find out with e.g. apt-cache policy <PKG> to which archive a package belongs.
But how can I find out the archive area, like main or contrib for an installed package?
I want to be ...
1
vote
1
answer
261
views
How to stop ubuntu upgrades completely?
I wanted to stop Linux kernel upgrades on Ubuntu 16.04.X. Initially,
/etc/apt/apt.conf.d/10periodic file is updated to have entry like this APT::Periodic::Unattended-Upgrade "0"; Then also the kernel ...
2
votes
0
answers
338
views
Can I temporarily install a package with apt
I frequently find myself interested in trying out a few different packages to solve a problem, to find out which one I prefer, and compare their benefits. A trivial example might be comparing emacs, ...
2
votes
1
answer
545
views
How to change Raspbian default apt-get mirror?
The thing is the mirror that was configured on installation is causing checksum mismatch in all packages.
I read everywhere that in order to change de mirror apt-get uses for download I have to edit /...
1
vote
1
answer
224
views
Ubuntu 18.10 and modify installed package - OpenMPI
I've installed openmpi-bin (OpenMPI 3.1) on Ubuntu 18.10. I also run slurm on the same machine and would like to recompile or reconfigure my installation of OpenMPI to cope with Slurm-feature.
If one ...
1
vote
1
answer
1k
views
Update manager finds updates but `apt update` doesn't
In Linux Mint 19.1 I found a kernel update in update manager but when I checked in terminal by the command:
sudo apt update
I didn't find anything. When I refreshed update manager it still shows the ...
0
votes
1
answer
211
views
Ubuntu - Apt-get Install failure
I am trying to install package XScreensaver. This is on a HP T410 Thin client and I am using XTerminal; lsb_release -a (OS version) returns: Ubuntu 10.04.4 LTS - Lucid.
Running sudo apt-get upgrade ...
0
votes
3
answers
10k
views
Getting stuck at “sudo apt-get upgrade” on Parrot OS
I have Parrot OS headless running on a Raspberry Pi. I started the upgrade but it now has stopped at:
Installing new version of config file /etc/apt/apt.conf.d/01autoremove
The output before was:
...
0
votes
0
answers
2k
views
How to install armhf packages on an x86 host
I am trying to cross-compile some libraries for an ARMv7, and one of the needed prerequisites is python3-dev:armhf.
I am starting with a fresh debian docker-container (docker pull debian) so this ...
9
votes
2
answers
15k
views
What is the -y flag in the `apt install` command?
I'm seeing the -y flag being used in apt install -y a lot today but when I do man install no -y flag is described.
Am I missing something?
0
votes
1
answer
98
views
Firefox not installing properly in Ubuntu
I'm having a strange issue installing Firefox. Usually I browse Firefox in private mode, but recently I wanted to use the default mode. When I looked for it in the app dock, Firefox wasn't there (...
2
votes
2
answers
519
views
I can't sudo apt upgrade
I have a new installation of Linux Mint and I cant run apt upgrade without getting this response. How can I fix it?
Sorry that it's in german.
me@mypc:~$ sudo apt upgrade
Paketlisten werden gelesen.....
0
votes
1
answer
1k
views
What causes the APT error "You have held broken packages" when trying to install a newer or older version of some package?
I currently have a Debian 9 system, with a LAMP stack installed from the official repositories (Apache 2.4.25, PHP 7.0.33, MariaDB 10.1.38)
I need to install PHP 7.3 because an application needs it. ...
3
votes
0
answers
2k
views
how do I install curl from source, including updating the libcurl version?
I am working on a distro of linux that doesn't have the version of curl I need supported via apt-get. The latest I can get through apt-get is 7.52.1 and I want the latest (7.65.1). So, I've followed ...