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

learn more… | top users | synonyms (1)

63
votes
4answers
139k views

Install from a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
0
votes
1answer
6k views

Sample /etc/apt/sources.list for Linux Mint 17

It seems my /etc/apt/sources.list file only has deb cdrom:[Linux Mint 17 Qiana - Release amd64 20140624]/ trusty contrib main non-free It might have got corrupted when I was trying to download ...
4
votes
2answers
5k views

apt-get build-dep is unable to find a source package

I have already followed this guide to disable middle mouse button paste on my Ubuntu 12.04. Works like a charm. Now I am trying to achieve the same on my Linux Mint 17. When I try to sudo apt-get ...
1
vote
2answers
269 views

checkinstall package conflicts with python

I'm trying to do a distribution upgrade from Debian 6 to 7 and am having some issues with some packages I created and installed with checkinstall. When doing the upgrade I get the following message: ...
1
vote
1answer
2k views

shellshock solution for nexenta/solaris

I'm trying to solve the shellshock issue on my system: SunOS localhost 5.11 NexentaOS_134f i86pc i386 i86pc Solaris # bash --version GNU bash, version 3.2.48(1)-release (i386-pc-solaris2.11) ...
0
votes
1answer
9k views

Unable to add PPA repository from terminal

I am trying to install ap-hotspot on Ubuntu-14.04 When I enter the command: sudo add-apt-repository ppa:nilarimogard/webupd8 It gives me this message "Cannot add PPA: 'ppa"nilarimogard/webupd8'...
0
votes
1answer
480 views

Unable to install package via APT

While attempting to install the package sw-nginx I encountered the following error messages: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/327 kB of archives. After ...
0
votes
1answer
66 views

List packages available for upgrade with APT?

After I run apt-get update, I would like to get a list of all packages that can be upgraded. With opkg I usually to this:: opkg list_upgradable How can I do this with APT?
5
votes
3answers
1k views

SSH pipe broke while running apt upgrade. What can I do about it?

I was connected to my aws debian wheezy server and while running apt-get upgrade the ssh pipe broke. I didn't use screen or anything, so I don't think there's a way to recover that session. If I ...
0
votes
1answer
65 views

Why is there an apt-get script set in my cron.daily, I'm on Fedora 20?

I found this file tonight: /etc/cron.daily/apt.cron #!/bin/sh [ ! -f /var/lock/subsys/apt ] && exit 0 [ -f /etc/sysconfig/apt ] && . /etc/sysconfig/apt [ $CHECK_ONLY == "yes" ] &...
1
vote
1answer
209 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 ...
1
vote
1answer
284 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 ...
-1
votes
1answer
31 views

How can I made a Debian ports like repo?

Is there a way to have only a debian folder and build the package (downloading and unpacking the sources) automatic? I've seen uscan but it scans for new packages, it doesn't allow to have a fixed ...
0
votes
1answer
1k 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 ...
3
votes
2answers
990 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
582 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 ...
1
vote
1answer
79 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 ...
2
votes
1answer
165 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 default-...
11
votes
3answers
2k 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 ...
0
votes
4answers
2k views

“Package linux-image-3.5.0-44-generic is not installed” while installing quantal kernel

I am working on a Ubuntu Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-43-generic x86_64) machine. There are some packages that I need to install, and in order to be able to that, first I have to run apt-get -...
1
vote
2answers
1k 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
98 views

List packages coming from a specific Codename or Suite (apt based systems)

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 ...
4
votes
1answer
2k 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 ...
4
votes
2answers
408 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?
2
votes
3answers
3k views

Installing latest r-base from r-project

I want to learn and use R, and so I need to install it. Unfortunately, Wheezy got only 2.15 version, while I need 3.1.1. I followed these instructions: http://cran.r-project.org/bin/linux/debian/ and ...
1
vote
1answer
297 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 ...
2
votes
1answer
58 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. ...
0
votes
1answer
60 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 /etc/apt/sources.list.d/...
0
votes
1answer
87 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 #101-...
2
votes
2answers
3k 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 ...
1
vote
0answers
546 views

Fix the debian default version to wheezy

I followed this tutorial http://kemitix.postach.io/install-viber-on-debian-wheezy to install viber on debian wheezy 7.6. My problem is about the part that says: Fix the default version to wheezy. ...
1
vote
1answer
845 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 ...
2
votes
1answer
1k 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
145 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 apt-...
0
votes
1answer
2k 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 ...
1
vote
2answers
2k views

'E:The package linux-headers-3.5.0-54 needs to be reinstalled, but I can't find an archive for it. ' when upgrading the system

I am using Ubuntu 12.04, and I try to upgrade to 14.04.1 using the terminal using: do-release-upgrade but I keep getting the following error: SystemError: E:The package linux-headers-3.5.0-54 ...
0
votes
1answer
4k 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 ...
0
votes
0answers
316 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 ...
2
votes
3answers
4k 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 ...
2
votes
2answers
25 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
4answers
613 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!) ...
3
votes
1answer
386 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 ...
0
votes
1answer
1k views

apt-get unable to fetch archives

I'm trying to install a package using apt-get as root on a Linux Mint host: # apt-get install gparted Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
830 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 ...
4
votes
1answer
1k 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 /etc/apt/...
0
votes
0answers
463 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 ...
5
votes
1answer
15k views

I can't install new packages and can't update and upgrade

I'm trying to install some program on Ubuntu, but when I try it I got the following error.- E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock ...
2
votes
2answers
2k views

Installing Steam on Debian Wheezy

I downloaded the .deb file from the Steam website, but couldn't install it as it complained about having and "outdated" version of libc6. I look around and apparently I have to add jessie sources to ...
3
votes
2answers
55 views

Get package version of file

I've deleted a file in /etc provided by package packageA. Is there a way that I can reinstall only that file, provided I know where it is and which package provides it? I'm running Ubuntu 12.04 and ...
6
votes
2answers
305 views

Find out what 'apt-get install' did

This might be a really newbie question but here we go: How can I find out what commands a package ran to install the software with apt-get install <package>? For example, if I install a ...