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
26 views

How to change Synaptic Package Manager download directory when when I select “download only”?

According to this question, I know that the .deb file located in /var/cache/apt/archives/. But how to change Synaptic download directory? So when we download a package, we can locate it somewhere we ...
3
votes
1answer
323 views

Debian Jessie is installing too many backports

I have Debian Jessie and have added backports (according to these instructions): echo "deb http://http.debian.net/debian jessie-backports main contrib non-free" | sudo tee ...
5
votes
5answers
269 views

How to run a command before download with apt-get?

How can I run a command before apt-get starts to download a package? I know about the dpkg pre-invoke hook ( hook a script to apt-get ), but that seems to be run after the download. $ apt-get update ...
9
votes
1answer
19k views

apt-get prompts for CDs when installing packages, how do I make it stop?

I used ubuntu linux before, and I installed debian OS on my labtop using DVDs that I burned. But when I'm trying to use apt-get to install software, the system always asks me to insert disk to ...
3
votes
3answers
258 views

write error: No space left on device. Removing 'extra' packages. Attempting recovery

The Issue: When I type: dpkg-query -Wf '${Package;-40}${Priority}\n' | sort -b -k2,2 -k1,1 I get a list of all installed packages on my machine, example: ... raspberrypi-artwork ...
1
vote
2answers
1k views

fglrx on Debian stretch

How do I install the fglrx driver on Debian stretch? The package tracker states that there is no package available right now, so I added Sid, pinned on 100. When I try to install fglrx-driver now, ...
1
vote
1answer
41 views

Create Local apt repo with staging environment

I am trying to create an apt repository with reprepro which is very straight forward for the most part. I have been using this article as a reference because I liked the structure of having a staging ...
0
votes
3answers
217 views

Couldn't update or install using apt-get [duplicate]

My system is linux mint 16 - 64 bit when I run sudo apt-get update, it ends with the following errors: Failed to fetch ...
0
votes
1answer
53 views

Can't install updated Ruby deb package: ruby1.9.1 conflicts with ruby

I have a .deb package (ruby-2.1.2_amd64.deb) containing a specific version of Ruby I'm trying to install using dpkg, but I'm getting the following error: $ sudo dpkg -i ...
1
vote
0answers
9 views

how to use debtags in conjuction with when a package arrived in the debian repository?

Is there a way to use debtags and search within a specific time-frame ? For instance/example, let's say I want to know which game packages came in since 2016 till date. Now AFAIK the debtag for ...
2
votes
2answers
7k views

Why is the kernel version not updated when I upgrade to a newer release?

I think my Debian 8.0 (Jessie) installation is outdated, but the Package Updater always says All packages are up to date. The result of: sudo apt-get update sudo apt-get -u upgrade is 0 upgraded, ...
1
vote
2answers
70 views

Debian dependencies for ttyecho

Which dependencies should a Debian package have, which distributes the binary of ttyecho?
2
votes
1answer
51 views

change cache location path for APT

When using apt, can I tell it to use other then /var/cache/apt location? I tried adding the following line in /etc/apt/apt.conf: % cat /etc/apt/apt.conf Dir::Cache /home/apt and re-run apt but it ...
0
votes
2answers
30 views

files list file for package 'gucharmap' is missing final newline

My OS is debian SID and i can't apt-get install anything because I am greeted with this message everytime: dpkg: unrecoverable fatal error, aborting: files list file for package 'gucharmap' is ...
-1
votes
1answer
64 views

trying a new 2016 openssl package, but still see the old 2012 version. Ubuntu 12.04

I'm trying to install a new 2016 open ssl package, but still see the old 2012 version, on Ubuntu 12.04 . I have a bunch of Ubuntu 12.04 dedicated machines that can't connect to the internet. They're ...
0
votes
1answer
11 views

Ensure clean removal of apt sources without loss of security updates

At the times of Debian Wheezy, I needed php 5.6, so I used dotdeb sources to get it. Now with Debian Jessie, apparently the latest version of php is already 5.6, so I don't need dotdeb anymore. I ...
0
votes
1answer
37 views

How to find all the available packages (and executables) that can fulfill an “alternative”? [duplicate]

By "alternatives" I mean (for the most part; see exception below) the "roles" corresponding to the files under /var/lib/dpkg/alternatives. These roles include awk desktop-background editor ...
8
votes
5answers
8k views

Reinstalling all Debian packages

I killed by mistake a dpkg process running in the background and I would like to reinstall all packages to be sure everything is allright. First, I tried to get a list of all packages and reinstall ...
17
votes
5answers
25k views

How to work around “Release file expired” problem on a local mirror

I have a local mirror (created with debmirror), and when I run apt-get update after a few days, I get this: E: Release file expired, ignoring file:/home/wena/.repo_bin/dists/sid/Release (invalid ...
3
votes
4answers
589 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!) ...
2
votes
2answers
2k views

How and where to install a headers only library?

I like to install gource which requires libglm-dev installed on the system. I am using Ubuntu 10.10. Maverick. The newest sources of the headers only library I found is not available for apt-get. ...
0
votes
1answer
164 views

Debian Farstream dependencies

I am having trouble getting pidgin to build from source. Running the ./autogen.sh I fail on not finding FARSTREAM but I have that package installed. blubee@naibed:~/Development/pidgin-main$ sudo ...
0
votes
0answers
652 views

How to detect when apt-get requests cdrom?

I'm using debian 8 jessie. I don't use a physical CD-drive, there is no /dev/cdrom. I have DVD-1 and DVD-2 iso files of the operating system. I mounted DVD-1 iso at /media/cdrom01 and DVD-2 iso at ...
1
vote
1answer
105 views

apt-get update not working [closed]

I'm trying to install haproxy to my Debian Server. I have followed the instructions as below: create a new file called backports.list in /etc/apt/sources.list.d Add the follwing to the file: ...
2
votes
0answers
45 views

Automatic deployment of software to Debian

I have been reading about creating my own Debian packages for my own software and deploying them to a apt-get repository that I also can create on my own. The source code for my software is in a Git ...
12
votes
2answers
13k views

What packages are installed by default in Debian? Is there a term for that set? Why some of those packages are `automatically installed` and some not?

It's a very simple question, but I wonder, is there a term to refer to the subset of packages that is automatically installed by Debian distribution? I though that it had something to do with ...
0
votes
1answer
30 views

Metadata fields required for debian Release files?

Which of these fields are required for a Release APT file? Origin Label Suite Codename Architectures Components Description
1
vote
1answer
109 views

Linux yum Commands that are Equivalent to these Ubuntu apt-get Commands [closed]

I'm using an AWS EC2 instance and I'm trying to switch from an Ubuntu instance to a Linux (Amazon Linux AMI) instance and in doing so I need to figure out the equivalent apt-get to yum commands and ...
47
votes
6answers
35k views

List packages by installation date

How can I list installed packages by installation date? I installed a lot of stuff to compile a certain piece of code, and I want to get a list of the required packages, which are the ones I installed ...
1
vote
0answers
68 views

wkhtmltopdf & debian - install

I have a question about the installation of wkhtmltopdf on Debian machines via the apt-get command. So far, I've tested three environments, with different results, and I'd like to better understand ...
1
vote
0answers
34 views

Where is the information for debian control files stored?

The documentation for Debian and the dpkg package managment system explains the debian/control files are meta data for packages, e.g. these docs explain: The control file contains the information ...
2
votes
1answer
52 views

Is installing base-files:i386 safe?

To run crossover i need to install libnss-mdns:i386, but this depends on base-files:i386. When i ran apt-get install base-files:i386 it outputs this: root@ntrnnr17:/home/username# apt-get install ...
1
vote
1answer
80 views

Why do I have so many unnecessary packages?

I was installing Prey through a .deb file donwloaded from the official website when, all of a sudden I realized that I have so many "unnecessary" installed packages in my Ubunu laptop. This has been ...
1
vote
1answer
64 views

Where is the nginx executable on Debian? [closed]

I've installed the nginx-light package on debian, but I can't find the executable. It's not in /usr/bin, like it says on the official nginx website. Where is it, then?
1
vote
1answer
29 views

How to create remote repository, and update it via apt-get?

Maybe I'm not asking the proper question, but since it's something new to me here it goes: I have a remote repository with some files. Let's say, a folder in this address 89.xxx.xxx.xxx:9999/myData ...
0
votes
1answer
62 views

Install packages in parallel

If one process of dpkg is running i.e installing package or any thing else , why can't we execute another process for dpkg in parallel, same for the apt-get, Or we can? Is there any tool that can ...
0
votes
1answer
125 views

How to install latest version of Tiled Editor on Linux Mint?

Having trouble installing latest version of Tiled Editor from console. I need the latest updates for my project. Adding the PPA is not giving me the latest version of the software. Running the ...
1
vote
0answers
29 views

When are binary-all/Packages files read on debian repositories?

Debian repositories include the folder binary-all and inside them some Packages files, which mention independent-architecture packages. However, it seems that at least amd64 apt doesn't read the ...
0
votes
1answer
34 views

Purpose of the binary-all architecture folder folder on debian repositories?

Which is the purpose of the binary-all architecture folder on debian repositories?
55
votes
4answers
123k 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?
1
vote
0answers
32 views

Loggin apt history to syslog

I have a centralized log management server (graylog) and I want to be able to see the installed/updated/removed packages from a couple of ubuntu serveres there is running. But is there anyway to ...
1
vote
0answers
17 views

View apt-history well-arranged

When I look at the apt install history at /var/log/apt/history.log.1.gz, there is a lot of information and it is hard to figure out what was installed explicitly and what was brought in as a ...
0
votes
2answers
154 views

Issues with GLIB+Iceweasel+apt-get

I caused the bug but I would like to fix it without doing the amateur "fresh" install. HOW: I copied a bunch of commands and ran them. OS: Debian 8 When I run Iceweasel the following services crash ...
2
votes
1answer
43 views

How to check who run updates or installed packages on Debian?

I'm in the rather strange situation where I don't trust all users with sudo rights and there's nothing I can do about it. I would like to check periodically if anyone but me installed any packages or ...
2
votes
1answer
38 views

Rollback all apt-get packages to the maximum available under the actual sources.list

Given that APT has the power of the super COW and this should be amazing. There's a simple, elegant and working way (because I tried with pin solutions proposed as well as the preferences file, and ...
0
votes
0answers
26 views

Questions about dual booting windows 8.1 and linux - two issues

I have recently installed Debian 8.1 onto my hard disk with an iso image burned to DVD-r. I was trying to install g++ from the terminal when it asked me to insert the dvd from which I installed the OS ...
2
votes
1answer
50 views

Need help in clearing the uninstalled app's unmet dependencies

First off, I'm new to Linux. Now, I've tried installing a music player called Clementine (on Kali Linux 2.0 x64) but it hasn't been (properly?) installed (since I can see it's icon in the app list). ...
0
votes
0answers
46 views

Debian Wheezy: apt-get fails with 403 Forbidden error if I put https links in my sources.list

I have created a PPA for my wheezy packages using dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz and hosted it on my Amazon S3 bucket. Note that my Amazon S3 bucket is using https layer and ...
4
votes
2answers
392 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
3answers
39 views

Shutdown PC after suspending terminal process (apt-get upgrade)

What's going to happen if I shutdown my PC after suspending a terminal process (with Ctrl+Z)? In my case, it's sudo apt-get upgrade. The upgrade file size is 250 MB, it takes far more time downloading ...