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

learn more… | top users | synonyms (1)

1
vote
1answer
93 views

What does “apt install” do?

Being new to Linux, having used apt-get and seeing aptitude for the first time, I thought that apt must just be short for aptitude so when told to type aptitude install, I just typed apt install. It ...
3
votes
2answers
714 views

apt-get returns strange error

I am on kali linux and when I run apt-get update it returns this: W: Unknown flag value: yes W: You may want to run apt-get update to correct these problems after running apt-get update several ...
1
vote
1answer
100 views

Install zip on SteamOS

How can I install zip on Steam OS (a Debian Wheezy derivative) if my apt sources do not have it? # apt-get install zip Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
563 views

cannot install locales in Debian 7 due to unmet dependencies

So instead of including the wheezy-backport in my sources.list I had the bright idea of adding jessie directly. Realising my mistake I cut out of and apt-get update/upgrade midway through and then ...
0
votes
1answer
41 views

how to get info. about different versions of a binary package which are not in /etc/apt/sources.list?

I am running Debian testing/jessie with a few packages (I can count on my fingers) from unstable/sid and a couple from experimental (browsers). As asked by Faheem, here's the output of apt-cache ...
0
votes
1answer
450 views

Clang with Code::Blocks on Debian Wheezy [Stable]

In my pretty default Debian install: devsys@zotac:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.4 (wheezy) Release: 7.4 Codename: ...
1
vote
1answer
209 views

Why is apt-get trying to remove certain packages when I install wine?

I'm trying to install wine, which is software for running Windows applications. When I do sudo apt-get install wine, apt-get warns me that some packages are being removed. Why would apt-get remove ...
2
votes
1answer
71 views

Deadlock with yes command

I have a script called setup.sh: . install.sh && . tolinux.sh && . startn.sh && . startm.sh This is install.sh: yes | sudo apt-get update yes | sudo apt-get install ...
10
votes
3answers
674 views

Debian Netinst - why apt is downloading Libre Office when I'm installing Gnome?

I have Debian. I was installing it from netinst to save disk space and network transfer (small partition, UMTS connection). I decided to install Gnome. When I typed: apt-get install gnome it ...
1
vote
1answer
458 views

Unmet dependencies using apt-get on Ubuntu

I am working on a Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-43-generic x86_64) machine. It is a server running in production environment with other projects so I have to be quite careful. I have to install ...
1
vote
1answer
35 views

List packages coming from a specific Codename or Suite

I already know how to list every package from a given "origin", thanks to aptitude awesome search features: aptitude search "?origin(My Backports)" However, in the repository Release file, there ...
2
votes
3answers
11k views

“sudo: apt-get: command not found.” after removing some packages

Recently I executed this command: sudo apt-get remove debian-keyring debian-archive-keyring To prevent this such error message: WARNING: The following packages cannot be authenticated! openerp ...
3
votes
1answer
255 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
3
votes
1answer
102 views

How to find files that are not owned by any package?

In my system I have files that not belong to any package, they are mine or from compiled programs installed with make install. How can I find all files that do not belong to any package?
1
vote
1answer
3k views

apt-get update won't update - undo /apt-add-repository

When I run apt-get update, this happens: Hit http://dl.google.com stable Release.gpg Hit http://dl.google.com stable Release Hit http://security.debian.org ...
0
votes
1answer
198 views

apt-get update: How to check for GPG errors when using scripts?

When running. sudo apt-get update For example something like this could happen. W: GPG error: http://deb.torproject.org wheezy Release: The following signatures were invalid: KEYEXPIRED 1409325681 ...
1
vote
2answers
3k views

“invoke-rc.d: initscript cups, action ”start“ failed.” while configure cups

When I run apt-get -f install, I get the following abnormal output: Setting up cups (1.5.0-8) ... start: Job failed to start invoke-rc.d: initscript cups, action "start" failed. dpkg: error ...
2
votes
1answer
32 views

Why is apt filling up disk space that `apt-get clean` frees?

Every now and then I've to run apt-get clean on some small systems I manage I want to free up some disk space and apt is slowly filling up my disk. A apt-get clean often releases 700 mb of disk space. ...
7
votes
1answer
5k views

How to install some packages from “unstable” Debian on a computer running “stable” Debian?

On a computer running "stable" Debian, when trying to install a package which is in the unstable list on the Debian web site using the aptitude install <package>/unstable command, I get output ...
0
votes
1answer
298 views

How to upgrade TurnKey Linux 12.1 to 13.0

I have a Turnkey Linux 12.1 installation that I would like to upgrade to Turnkey Linux 13.0. The upgrade should transition from Squeeze 6.0.8 to Wheezy 7.x. I want to upgrade the Wheezy to utilize a ...
0
votes
1answer
50 views

wheezy not accepting commands

I have debian Wheezy on an independent Dell amd64 how do I get to accept commands to install a virtual box? here's what I put in terminal (also tried in root terminal): $ vi ...
0
votes
1answer
40 views

vncserver-x11 binary not found!

In which package I can find vncserver-x11 binary? I installed x11vnc and I found only x11vnc binary.I don't have any package named vncserver-x11 in repository. $uname -a Linux 3.2.0-67-generic ...
1
vote
3answers
199 views

To which Debian package does /etc/nsswitch.conf belong?

I tried to find out to which package /etc/nsswitch.conf belongs on my Debian machine, but dpkg --search /etc/nsswitch.conf won't tell me. Does anyone know?
2
votes
2answers
1k views

many many dpkg errors while upgrading

I am using Ubuntu 14.04, newly upgraded from 12.04. I was trying to upgrade my software, but it is showing many, many dpkg errors regarding texlive-*. When I type following command: sudo apt-get ...
5
votes
3answers
4k views

apt-get equivalent of yum localinstall

When using Fedora I usually use yum localinstall as a way to install a rpm obtained outside the distribution repositories. I can't find an equivalent option in the apt-get man page. I'm running Ubuntu ...
9
votes
6answers
2k views

Which installed software packages use the most disk space on Debian?

Disk space on my root partition is running low, so I want to delete some applications from the system. How can I see which software packages use the most disk space? Is it possible to view that from ...
1
vote
1answer
77 views

Why -t release don't downgrade the package while package/release does?

When upgrading a package, -t or --default-release works wonder: ➜ ~ sudo apt-get install -t unstable libpam-gnome-keyring Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
288 views

Downgrade package from backports back to stable

I updated tmux on my VPS with: apt-get install -t squeeze-backports tmux -V And needed to get back to previous version to recover some running sessions, so I went to look which version of tmux is ...
1
vote
1answer
74 views

installing libsocket-perl, apt-get searches for wrong filename extension, gets 404

I've been having trouble installing a package for a number of days now and can't find the solution anywhere, though I have been able to figure out more exactly what's going wrong. It appears that ...
0
votes
1answer
959 views

Unmet dependencies on apt-get upgrade

I got the following problems while trying to upgrade *david@david-K42F:~$ sudo apt-get upgrade [sudo] password for david: Reading package lists... Done Building dependency tree Reading state ...
2
votes
3answers
1k views

'ImportError: No module named _struct' error when managing packages

I'm running elementary OS 0.2 (based on Ubuntu 12.04) and starting today I'm seeing a weird error when attempting to install/upgrade packages. Just now for example I did a: sudo apt-get update ...
0
votes
0answers
122 views

Apt-Get No installation candidate. Can't install anything

So, I am running a MineOS Linux, which is based on Debian turnkey, and the installation was around 250 MB, so probably not all of the commands that come with Linux were installed. I use this to run ...
3
votes
4answers
3k views

Automatically update GCC to a later release without upgrading distribution

My understanding is that C++11 support in G++ 4.7.2 wasn't great (it gives me a warning everytime I try to compile my C++ code, presumably there are good reasons for these warnings), so thought I ...
0
votes
1answer
3k views

Linux Mint 15 Olivia source list

I am facing a problem downloading anything using apt-get tool. I have played with my source list and I think something went wrong. Synaptic also doesn't work. I've searched for the original source ...
3
votes
2answers
261 views

How to clone an apt repository to keep all old packages?

This may sound trivial, but I haven't found a solution anywhere yet. Is there a way to backup or clone an apt repository such that I get a clone that (1) contains all current packages and (2) keeps ...
2
votes
3answers
2k views

Installing extra packages of Debian Wheezy from terminal (after a net install) [duplicate]

I've installed the small image of Debian Wheezy from here but had to skip the mirror install of the extra packages. Now that I have the command line how do I get the rest of the stuff? When I tried ...
3
votes
0answers
389 views

Having some trouble authenticating via proxy in order to use apt-get successfully on a corporate network

Our server is on a corporate network, which requires corporate proxy authentication (e.g. enter corporate username and password). This is not an issue on the Windows machines on that network - when a ...
3
votes
1answer
934 views

Banshee Won't Update (Linux Mint 12)

Anyone else having problems getting the latest version of Banshee from apt-get? I'm adding the Banshee PPA, using apt-get update, and then trying apt-get upgrade and then to be totally sure, ...
2
votes
2answers
21 views

Apply “upgrade” certain packages with apt

I need to update my version of OpenSSL and so I looked to implement an "upgrade", but I do not want my versions of php and apache is updated, that I can do to accomplish this?
3
votes
1answer
173 views

How to convince APT that a cross-arch package is installed manually?

I have a qemu-armhf chroot environment on an amd64 machine (it's mainly for compiling Raspberry Pi code). As such it can run both armhf and amd64 binaries but it's faster doing the latter. There are ...
2
votes
3answers
195 views

How to find the packages that depend on a certain package in apt?

How can I get, not the dependencies of a package, but the packages that are depending on a certain package? I'm on debian 6.0 Squeeze-LTS (the first-time extension to squeeze for long term support!) ...
0
votes
1answer
268 views

Download yad with bash script

i'm building a simple deb package (single binary) for a little project i've been working on. Now I want to build a nice interface around it and used zenity for a couple of times, but this time I ...
0
votes
0answers
21 views

Why some packages don't get upgraded?

I upgrade packages in terminal using this command apt-get update && apt-get dist-upgrade -y --show-progress && apt-get autoremove -y && apt-get check && apt-get ...
4
votes
1answer
97 views

How to find Debian packages that would free up the most space

Say I have a Debian machine where I would like to free up space on '/' by removing useless packages. To find good candidates of packages to review, I would like to focus my attention on the largest ...
0
votes
1answer
6k views

Unable to connect to source.repository.backtrack-linux.org

I have a BackTrack5 r3 installed on VMware. As you see below I have internet access in it : root@bt:~# ping www.google.com PING www.google.com (173.194.70.105) 56(84) bytes of data. 64 bytes from ...
1
vote
1answer
954 views

Apt-Get Install Unmet Dependencies

My debian computer will not install the new kernel. It says I have unmet dependencies, and those dependencies say they have unmet dependencies. Many of these dependencies are already installed ...
4
votes
1answer
639 views

apt-get install gives 404 not found, but URL works

I am trying to set up an apt repository. This repository is actually replacing one that already exists and is functioning fine. I can't manage to install a package from this repo. In my ...
0
votes
0answers
241 views

sudo apt-get fails

I am running linux mint but I broke apt (deleted a lock file and ...) When I try sudo apt-get update or sudo apt-get -V update nothing happens, it just returns the command prompt. The same thing with ...
6
votes
3answers
2k views

Get diff changes between original files installed with apt and current files

I installed php5-fpm package using apt; then I made some changes to the PHP configuration files. Now I would get the diffs between the original files versions (the ones of the package installed) and ...
4
votes
2answers
3k views

How to manually insert a repository in source.list?

I tried to add a new APT repository using this command: add-apt-repository ppa:atareao/atareao but I got a "command not found" error. I tried installing python-software-properties, but it's already ...