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.

396 questions
88
votes
4 answers

How to find out which versions of a package can I install on APT

Using APT, you can install a specific version of a package using: apt-get install package=1.0 But you can't do apt-get install package=1.* So, how can I find out which versions are avaliable for package on a specific repository, or in all…
45
votes
9 answers

sudo apt-get update couldn't create temporary file

Tried to do sudo apt-get update, get this response every time I run it: Get:1 http://repo.radeon.com/rocm/apt/debian xenial InRelease [1814 B] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Err:1…
35
votes
2 answers

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 debian installs automatically during a minimal…
Chuck
  • 351
35
votes
4 answers

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 failing. If i remove the second line then above…
user1012087
29
votes
2 answers

How can I check the version of packages to be installed with apt-get?

After running apt-get upgrade, I get a list of the packages that will be upgraded. I would like to know the version number for one of these packages. (Not the current one but the one that will be installed). How do I get the version number of the…
marjasin
25
votes
2 answers

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't paste the actual output because I don't know…
Mark
  • 353
22
votes
1 answer

Why use the command apt-get --purge remove over apt-get purge in Linux?

I have been uninstalling applications as well as removing or purging their configuration files using the command apt-get --purge remove {package_name}. I have come across several posts on the net including Ubuntu's guide at…
21
votes
4 answers

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 vim and even if there is an error on abcde just…
tbenz9
  • 7,175
21
votes
5 answers

Ignore packages that are not currently installed when using "apt-get remove"

I have a scenario where I'd like to remove a set of packages that may or may not be installed, and I'd like apt-get to remove those that are and silently ignore those that aren't. Something like: apt-get remove foo bar baz which, if foo and bar…
21
votes
2 answers

Can apt-get be used on Red Hat systems?

We know that apt-get is used on debian based systems so what is used on Red Hat Enterprise Linux (RHEL) systems? Is it possible to install and use apt-get on Red Hat?
21
votes
4 answers

When would you use apt-get remove over apt-get autoremove?

I understand that apt-get remove removes packages and apt-get autoremove is to remove any packages that were installed to fulfil a dependency for a given package. So for example if I installed LibreOffice and it had dependencies on say Java and…
18
votes
7 answers

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.kali.org/kali-security sana/updates InRelease 0%…
Zach
  • 181
17
votes
1 answer

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.. What does this mean exactly? For example if a…
15
votes
4 answers

When you do "apt-get install" where are the .deb files stored?

I am trying to copy all of the packages I have installed on one Debian machine to another Debian machine without doing another apt-get install and downloading all of the package all over again.
superuser
  • 4,247
15
votes
1 answer

How to find installation path for packages installed through apt-get in Ubuntu?

I have been installing python modules using apt-get which works great using the console or launching files from the command line. However I am using Eclipse for easier organisation of files. Eclipse doesn't automatically find new modules like…
Anake
  • 319
1
2 3
26 27