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
1k views

Error while installing Apache; error is “E: Sub-process /usr/bin/dpkg returned an error code (1)”

I followed an online article to remove my Apache from my system. I removed Apache through these commands sudo apt-get purge apache2 apache2-utils sudo rm -rf /etc/apache2-bin sudo apt-get autoremove ...
0
votes
4answers
211 views

Is there a quick way to install packages if there is a prompt?

If I want to install a package, wlhunag: ~ $ pip install django The program 'pip' is currently not installed. You can install it by typing: sudo apt-get install python-pip wlhunag: ~ $ I wonder if ...
0
votes
0answers
1k views

Debian: Can't Install Anything (Package Cannot Be Installed)

So, I have a brand new Debian install. My sources.list looks like this: deb http://http.debian.net/debian wheezy main contrib nonfree deb-src http://http.debian.net/debian wheezy main contrib ...
4
votes
1answer
622 views

Get kernel source: apt-get install vs apt-get source

I'm looking forward to download a Linux Kernel to get to know how to modify it and how to compile it. I am using Debian distribution and I'm interested in the Debian-modified Linux Kernel rather than ...
2
votes
1answer
96 views

How to make private Debian Repo

I'm reading this tutorial for creating a local repo. Now, I want to make my repo private, so only if you provide a username/password then should you be able to access the Debian package. How do I ...
3
votes
3answers
753 views

How can I get recursively list an apt package's dependencies with their installed versions?

I would like to list the recursive dependencies of a given package, with the currently installed version of each dependency. I'd also like one entry on each line, so it's sortable and diffable. ...
13
votes
3answers
5k views

List (recursive) dependencies of the installed packages in APT

For each package I have installed I would like to know which packages would be installed if I uninstall it. An example of the output I need is (package: list of deps): abc: foo bar bcd: baz abc bdd: ...
0
votes
1answer
324 views

apt-get 404'ing on update [closed]

I recently updated everything on my system to the testing branch of Debian because my laptop didn't like the 3.2.0-4 kernel. After updating, apt-get update stopped working for some reason I can't ...
1
vote
1answer
783 views

Duplicate sources.list entry

I received following error and then I tried apt-get update to correct it but that didn't work. W: Duplicate sources.list entry http://http.us.debian.org/debian/ wheezy/contrib i386 Packages (/var/lib/...
0
votes
2answers
3k views

Related to apt-get update command

I am using Ubuntu12.04 and I installed lots of pkg. I want to update only one specific pkg. I tried using $apt-get update pkgname E: The update command takes no arguments so then I tried $...
0
votes
0answers
16 views

Why APT shows inaccurate “Need to download” values?

Sometimes if I Ctrl+C during apt-get upgrade/install *** in terminal, or cancel Software Update UI in Ubuntu and resuming them later I see something like this (regardless the actual package) I don'...
5
votes
1answer
271 views

How do I know when I installed package FOO

I was wondering if I installed 'Tor' on my Ubuntu 14.04 or it was shipped as a default package since I hadn't remembered installation by myself. So what's the way to find out if a package is user-...
0
votes
1answer
11 views

How to use apt-get on BasilOS? [closed]

I have recently upgrade from BasilOS Trinity to BasilOS Quad. In Quad apt-get was integrated, I read some documentation on it, but I still do not fully understand if it is meant to be used with .deb ...
0
votes
1answer
1k views

How to remove unwanted desktop packages from debian without deleting everything?

I've just installed debian wheezy on an old laptop (using the xfce4 desktop environment via debian-live-7.7.0-amd64-xfce-desktop.iso). I don't intend to use it as an office machine, so I decided to ...
7
votes
4answers
1k views

Managing unofficial repositories on a Debian system

A few years ago I added this repository to my sources.list: http://www.deb-multimedia.org/ because it contained packages like acroread or flash player, which were either missing or out of date in ...
2
votes
1answer
447 views

How to get all the dependencies for a package

I'm trying to get all the dependencies for a package..for example apache2 I've tried to use apt-cache depends apache2 but it gives some dependencies but when I want to install apache2 on a live CD it ...
5
votes
2answers
6k 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 ...
-2
votes
1answer
310 views

Linux : Very slow internet connections through proxy

I have changed to Linux recently. Here I am experiencing very slow Internet connections for applications like apt-get and Firefox browsing through proxy (download speed in Firefox is pretty normal). ...
1
vote
1answer
47 views

how to list downloaded apt packages without dependecies

I'm trying to get the names of downloaded packages without dependencies.. I don't want to get all the files in /var/cache/apt/archives .. I only want to get the primary packages without dependencies I ...
0
votes
1answer
89 views

sudo dpkg -i error: libfuzzy-dev breaks ssdeep (<< 2.6)

I'm trying to install the libfuzzy-dev package on my host machine (Linux Debian 6.0.10 (2.6.32-5amd64 x86_64)). Installing it via sudo-apt get install shows no results. So I downloaded the .deb file ...
0
votes
1answer
1k views

Apt-get blocks because of broken dependencies (libc6, Linux Mint)

Currently, Apt-get completely blocks because of some unresolved dependencies, when I run an upgrade I get this error: sudo apt-get upgrade Reading package lists... Done ...
2
votes
1answer
592 views

Debian offline dist-upgrade in one step

Is there a way to perform a distribution upgrade on an offline Debian system by making only one return trip to an online machine? I've managed to perform the equivalent of apt-get update && ...
1
vote
1answer
172 views

Find source of all installed packages on Debian based systems

I am trying to find a good method to find the repository for each package that was stored on my system that can be easily parsed. Backstory: I have Debian wheezy systems and have setup the wheezy-...
2
votes
2answers
658 views

How to verify that package-installed files match originals?

Let's say I have an installed, working and up-to-date system, and want to verify that all package-installed files on it are the same as those packaged by the respective package maintainer. In effect, ...
1
vote
2answers
91 views

How can I let people install my package by apt-get?

I have a set of binary packages that I want the user to be able to install from command line via apt-get or yum without having to host it myself on a server. I have heard of reprepro and pushing it to ...
4
votes
1answer
134 views

Generating a list of alternative packages with apt tools

Given a package how can I list all possible packages that are alternatives to this package? In the alternate, how can I tell if a package or one of it's alternates is installed? Using something in ...
1
vote
0answers
62 views

How can I upgrade an application from new source?

I am runnign debian wheezy. I have PHP 5.4 installed from default repos. And now I have added these to sources list to upgrade to PHP 5.6 deb http://packages.dotdeb.org wheezy all deb-src http://...
4
votes
3answers
8k views

On Debian Testing: How to get a recent Iceweasel Release (non-ESR) version without updating to Unstable?

I'm on Debian Jessie / testing. It currently has Iceweasel 17, but I would rather like to use a more recent release (Mozilla "Release" or "Firefox" 'channel' - currently Iceweasel 25). http://mozilla....
1
vote
1answer
3k views

E: Unable to locate package tlp

I an trying to install tlp as explained in the website by addin ppa as follows in Linux Mint 15 sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update and then sudo apt-get update ...
3
votes
1answer
79 views

How to update all Debian packages from source code?

For building packages from source code, there is apt-get source --compile pkg-name. But for it to work, one has to run apt-get build-dep pkg-name beforehand, which downloads binary packages. Is it ...
0
votes
1answer
17 views

Is it possible to see which components were uninstalled (last time or as back in time as possible)?

I am running Elementary OS Freya beta2 which being beta may run into trouble. One error that may appear is a message in terminal saying that certain components that are in fact useful and even vital ...
1
vote
4answers
11k views

The command to upgrade to a new kernel from Ubuntu repositories

In the distro I'm most familiar with -- ALTLinux, a command like apt-get install kernel-image-std-def#3.0.... would install another kernel, and update the initramfs and the bootloader config ...
0
votes
0answers
2k views

Fresh install of Debian 7.8.0, cant apt-get install build-essential

Fresh install of debian-7.8.0-amd64 into a virtual machine. sudo apt-get install build-essential gives me these errors: Some packages could not be installed. This may mean that you have requested ...
-1
votes
1answer
280 views

Can't connect to the server ftp.ch.debian.org

I want to update apt-get update, but I got an error. When I try to install something I get the same error. This is my network configuration:
2
votes
1answer
146 views

workaround debian pin by architecture

we can install packages for plural architectures on a debian system . $ apt-config dump | grep Arch APT::Architecture "mipsel"; APT::Architectures ""; APT::Architectures:: "mipsel"; APT::...
-1
votes
1answer
2k views

How to remove a package on a debian-based system WITHOUT removing dependencies? [closed]

I have a computer running Linux Mint and I'd like to remove a package WITHOUT removing its dependencies. For the particular package I'd like to remove, there are about 20 dependencies and some ...
0
votes
1answer
607 views

Blender not starting Lubuntu 13.04 PowerPC

I have installed Blender via apt-get on a PowerPC G4 Mac Mini running Lubuntu 13.04, and now it will not start over VNC. Output from running blender in the terminal: Color management: using fallback ...
0
votes
1answer
943 views

apt-get ignores my dotdeb repositories

I got a server from my university computer center, which is a managed server. I'm root on that server. Now I'm trying to add the dotdeb sources for php 5.6. I did this on my own server and it was ...
0
votes
1answer
75 views

dpkg still thinks corrupted upgrade of Textadept pending - how to clean up?

Yesterday I attempted to upgrade my installation of the Textadept editor in my Linux Mint 13 ("Maya") LTS Xfce 32-bit system (based on Ubuntu 12.04 Precise). I get this via the WebUpd8 PPA, and have ...
4
votes
1answer
1k views

compile source package with multiple cpu cores in debian, “apt-get -b source”

I use apt-get -b source and this command download and compile source with one core of cpu, Is there any way to compile package in debian with apt package manager with multiple cpu cores ? like -j ...
1
vote
1answer
206 views

Why does bash output data instead of executing, when a script is piped?

I'm running the following script on Ubuntu 14.04: #!/bin/bash apt-get purge -y nginx apt-get install -y nginx date When I run it like cat /tmp/script | bash, apt-get starts installing, then "date"...
2
votes
2answers
1k views

How to examine an apt repository?

I am trying to set up riak on Debian wheezy. I've followed their instructions to add the basho apt repositories... $> curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add - $> sudo ...
0
votes
1answer
4k views

apt-get failed to find any updates for Debian squeeze

# ls -F /etc/apt/ apt.conf.d/ preferences.old sources.list trustdb.gpg trusted.gpg~ preferences.d/ secring.gpg sources.list.d/ trusted.gpg trusted.gpg.d/ # cat /etc/apt/sources....
0
votes
1answer
2k views

Installing chromium-browser on Debian Wheezy Depends: chromium (>= 10) but it is not installable

On FriendlyARM mini210s # uname -a Linux mini210s 3.0.8-FriendlyARM #2 PREEMPT Mon Feb 25 14:25:10 HKT 2013 armv7l GNU/Linux # more /etc/debian_version 7.8 When running the package manager # apt-...
-1
votes
1answer
64 views

What's wrong with this sources.list?

I always get the error: W: Failed to fetch http://ftp2.de.debian.org/debian/dists/stable-updates /Release Expected entry »maindeb/source/Sources« couldn't be found in release file (wrong entry in ...
0
votes
1answer
47 views

is there a way to see a listing of packages ONLY from Debian-experimental?

I am on Debian testing/Jessie and I have debian-experimental as well as in my /etc/apt/sources.list. So I am looking to list packages in two ways :- a. List all the packages which are in experimental....
0
votes
0answers
656 views

Unable to install anything using apt

I was trying to install an earlier gcc and g++ (4.6.3) for compatibility reasons and now apt seems to be broken. It appears that apt-get install behaves like this for everything, not just dpkg: >&...
1
vote
1answer
327 views

apt pin priority for a single package in a source

I am trying to get firefox through the debian repo for mint to work within debian wheezy I'm using the following source line: deb http://packages.linuxmint.com debian import i've created a file in: ...
0
votes
1answer
194 views

How to remove chirp without removing another important system components?

I decided to remove some unwanted packages, e.g. sudo apt-get remove --purge chirp The according package is removed but also The following packages will be REMOVED: chirp kali-linux-full python-...
0
votes
0answers
485 views

errors while installing python-pip on ubuntu

When running sudo apt-get install python-pip I got the following error messages, what causes the problem and how to fix it? Thank you very much for any help. Err http://us.archive.ubuntu.com/...