Questions tagged [apt-get]

apt-get is a command-line interface to the Advanced Packaging Tool (apt) which is responsible for installing, removing, and upgrading packages.

Filter by
Sorted by
Tagged with
35 votes
4 answers
50k views

apt-get update is failing in debian

cat /etc/apt/sources.list deb http://deb.debian.org/debian jessie main deb http://deb.debian.org/debian jessie-updates main deb http://security.debian.org jessie/updates main then apt-get update is ...
user avatar
18 votes
7 answers
39k views

apt-get update not working: Signing/ Verification errors

When I run apt-get update I get Ign:1 http://dl.google.com/linux/musicmanager/deb stable InRelease Ign:2 http://archive-4.kali.org/kali kali-rolling InRelease Hit:3 http://archive-4....
Zach's user avatar
  • 181
9 votes
2 answers
398 views

How does Ubuntu know what programs exist and can be installed?

I typed the following in a terminal $ musique The program 'musique' is currently not installed. You can install it by typing: sudo apt-get install musique So Ubuntu knows that "musique" is a program,...
CodeBlue's user avatar
  • 243
6 votes
3 answers
40k views

"Unable to locate package sudo" when i try to install sudo on new Debian

i installed a new Debian on a small VPS and now when i try to install sudo i just get this message. I also tried to add FTP-Server into the list and i still get that error. root@srv45758:~# vi /etc/...
Janlasse's user avatar
2 votes
1 answer
210 views

Change the Ubuntu program that runs when a command can't be found

When I type a command not found in a PATH in ubuntu, I get something like this: $ rdesktop The program 'rdesktop' is currently not installed. You can install it by typing: sudo apt-get install ...
B. Marek's user avatar
  • 309
33 votes
2 answers
36k views

Can I make apt-get always use --no-install-recommends?

I'm trying to create a minimalist debian install for my netbook. I have a clonezilla restore point that I made right after a fresh minimal debian install. I do not have any packages other than what ...
Chuck's user avatar
  • 331
24 votes
2 answers
7k views

Why does apt-get sometimes asks for confirmation?

Sometimes it does this: After this operation, 713kB of additional disk space will be used. Do you want to continue [Y/n]? And sometimes not, and just assumes 'yes' and downloads automatically (I can'...
Mark's user avatar
  • 333
21 votes
4 answers
29k views

Continue on error when apt-get encounters an install unable to locate package issue

When I run the following: sudo apt-get install vim abcde php5-cli It fails with the following message which is the expected behavior: E: Unable to locate package abcde`. I want it to install ...
tbenz9's user avatar
  • 7,095
15 votes
1 answer
22k views

How do Ign and Hit affect apt-get update?

My understanding of Ign and Hit which are displayed in the output of the command apt-get update is that Hit: File found. No change in its timestamp and Ign: File ignored. No change in its content.. ...
PeanutsMonkey's user avatar
3 votes
4 answers
5k views

Unable to remove package on Debian 7

I have a damaged installation of MariaDB which I am trying to clean out and re-install. If I do sudo apt-get upgrade I get the following remove: You might want to run 'apt-get -f install' to correct ...
Mark Winterbottom's user avatar
2 votes
1 answer
743 views

apt-get wants to remove MariaDB on Debian Wheezy

I've set up my server to use MariaDB and used the installation instructions on the web page. It worked quite well. Now, if I want to dist-upgrade, apt-get wants to replace MariaDB with MySQL: The ...
The Wavelength's user avatar
2 votes
6 answers
25k views

"sudo apt-get update" packages 404ing in linux mint nadia

In Linux Mint Nadia (Cinnamon), when I run sudo apt-get update I got the following set of error; note that I removed http://’s due to Super User’s spam filtering. Fetched 173 kB in 13s (12.5 kB/s) ...
kelorek's user avatar
  • 210
2 votes
1 answer
654 views

How to recursively build a package and its dependencies on a Debian-based system?

Basically I want apt-get's dependency resolving ability, and to compile packages with customized options (such as the loader path). Can that be done with the apt-* suite? If not, perhaps I can try ...
netvope's user avatar
  • 5,325
1 vote
1 answer
1k views

What do Inst and Conf refer to when using the command apt-get in Linux?

When I run the command apt-get install flashplugin-installer I am displayed the following lines of details Inst flashplugin-installer [11.2.202.233ubuntu0.11.04.3] (11.2.202.235ubuntu0.11.04.1 Ubuntu:...
PeanutsMonkey's user avatar
1 vote
2 answers
5k views

Errors were encountered while processing fuse

I was updating my system (Debian Sid x64) using apt-get, but I got the following error: Setting up fuse (2.9.3-14) ... dpkg: error processing package fuse (--configure): subprocess installed post-...
Louis Matthijssen's user avatar
0 votes
1 answer
413 views

Cannot force noninteractive apt-get dist-upgrade on CIS Ubuntu 22.04 LTS instance

I've a CIS Ubuntu 22.04 LTS base image from AWS, which I'm attempting to use Packer to burn myself a base image from. As this is a fully non-interactive pipeline, I cannot have any tty issues and the ...
volvox's user avatar
  • 121
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 ...
klor's user avatar
  • 159
0 votes
1 answer
3k views

apt-get Syntax error: end of file unexpected

Trying to run any apt-get commands from the terminal gives me a syntax error. Synaptic and Software Center work fine (Ubuntu 13.04). For example: sudo apt-get install mpack /usr/bin/apt-get: 1: /...
user224461's user avatar
0 votes
1 answer
5k views

How to upgrade virtualbox 4.2 to 4.3 on debian wheezy with apt-get?

I'm running VirtualBox 4.2 and it keeps telling me that 4.3 is available for update. However when I do apt-get update and the apt-get upgrade I don't get any updates. My sources.list contains deb ...
SiliconMind's user avatar
0 votes
4 answers
4k views

How to do sudo apt-get on an AIX machine

I don't understand this AIX. How do I do sudo apt-get on AIX? -bash-3.00$ sudo -bash: sudo: command not found -bash-3.00$ apt-get -bash: apt-get: command not found
alvas's user avatar
  • 135
0 votes
0 answers
1k views

sudo apt-get not working properly

While running sudo apt-get upgrade I got following error $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... ...
codenut's user avatar
  • 101