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

learn more… | top users | synonyms (1)

7
votes
4answers
996 views

Differences in package management between Debian and Arch

A discussion from this post made me curious of differences between Debian and Arch package management. Also, people tend to say that Arch is very light-weight, so I wonder what that has to do with ...
0
votes
1answer
9 views

Package deb dependencies unmet error

I am trying to install deb package in a new AWS 14.04 ami instance, but it fail with the following error - The following packages have unmet dependencies: youtube-snapshot-taker : Depends: firefox ...
0
votes
0answers
29 views

“apt-get install” ends with segmentation fault

I have a following minimalistic sources.list file: root@c:~# cat /etc/apt/sources.list deb http://ftp.fi.debian.org/debian/ wheezy main root@c:~# apt-get update Hit http://ftp.fi.debian.org wheezy ...
133
votes
5answers
16k views

What's the story behind Super Cow Powers?

As we know, apt-get has Super Cow Powers and aptitude does not: $ apt-get --help | grep -i cow This APT has Super Cow Powers. $ aptitude --help | grep -i cow ...
2
votes
1answer
19 views

Can I check which repositories were used for a previous apt-get update?

I stupidly included a Kali repo on my Debian machine and ran apt-get update. I need to check what packages were updated from the Kali repo and if need be replace/remove if needed. I'm not sure if ...
0
votes
1answer
31 views

Debian E: unable to locate package [duplicate]

I am attempting to install the lxdm package for debian (wheezy). Running apt-get update does not yield any errors, and my sources.list file is as follows: deb http://ftp.us.debian.org/debian/ wheezy ...
3
votes
4answers
379 views

debian: what is “/var/log/apt/term.log” good for

My system is Debian Wheezy. I have noticed that when I run apt-get, additionally to /var/log/apt/history.log another log file gets created /var/log/apt/term.log. It seems to me that term.log contains ...
3
votes
0answers
24 views

Logging apt/dpkg activity to syslog

My goal is to log apt/dpkg activity using syslog (rsyslog), so that log entries are sent to central syslog server. dpkg writes to /var/log/dpkg.log, apt writes to /var/log/apt directory. I did some ...
1
vote
2answers
29 views

Any serious risk if Mint 17 thinks it is Ubuntu?

Running Mint 17, just ran apt-get upgrade for the first time in a while, with 350MB download. It stops halfway to tell me /etc/issue is not the package maintainers versions. Ditto for issue.net and ...
1
vote
1answer
21 views

Problem with apt-get and locales (inappropriate # in .deb package name)

First of all, I'm running Raspbian, any extra needed info, I will post it here, just ask for it. EDIT: Output of locales -a: C C.UTF-8 en_GB.utf8 POSIX I configured en_GB.utf8, about the others, ...
1
vote
1answer
692 views

“except (IOError, OSError), e: SyntaxError: invalid syntax” when configuring python-lockfile

I am having trouble installing any new packages in Ubuntu because of python. I tried sudo apt-get install python3 python3-dev but I am getting the following output :: dpkg: error processing ...
1
vote
2answers
1k views

Can't install any package with sudo apt-get install

I'm running Raspbian on my Raspberry Pi I just set up this day, the problem is that every time I try to install any package I get an error , for example, sudo apt-get install samba gives me : The ...
1
vote
1answer
49 views

Debian - problems updating mysql 5.6

I just tried to update my dev database that runs on debian 7.8. Unfortunately it's now giving me the folllowing error: ... W: Failed to fetch http://repo.mysql.com/apt/debian/dists/wheezy/Release ...
3
votes
2answers
11k views

Every package “has no installation candidate”

While attempting to install openssh-server on Ubuntu 14.04 64-bit, I get the following error: Package openssh-server is not available but is referred to by another package. This may mean that the ...
1
vote
0answers
13 views

Error during ubuntu upgrade (errors were encountered while processing)

I am trying to upgrade my ubuntu from 11.10 to 14.10 but I got this error message when I ran sudo apt-get -f install errors were encountered while processing: ...
4
votes
3answers
154 views

How can I find the package that contains a program in Debian? [duplicate]

I am using a minimal Debian system which does not have the top program installed. I tried to install top with sudo apt-get install top, but top is not a package name. It seems that top is a part of ...
1
vote
3answers
72 views

What installed nginx?

Something has installed nginx on my system, I have not specfically typed apt-get install nginx. How can I find what has installed nginx ? I only noticed after a reboot, the system is rarely ...
3
votes
2answers
3k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be found on the following packages: ...
1
vote
0answers
15 views

Debian installs new, non depended on packages

I recently dist-upgraded my jessie box and several new packages were installed. It looks like there were no packages that depend on the new packages, as I could autoremove them flawlessly. An example ...
1
vote
1answer
225 views

Wireshark or MC installation wants to remove gnome and more

I want to install wireshark or mc (Midnight Commander) with apt-get or synaptic, but I get a message that "this installation will remove a lot of actually installed packages". There are for example ...
2
votes
1answer
30 views

Can apt upgrade a package but only if it's already installed?

Is there a way to use apt to apply a pending upgrade to a package, but do nothing if it's not installed? I have many Debian systems, all with different sets of packages, and I want to apply specific ...
1
vote
1answer
34 views

Backup and Restore list of installed packages and APT sources

I commonly reinstall Ubuntu and back up my APT stuff [sources, keys and installed package lists] using the tutorial at http://askubuntu.com/a/99151/371765. However I commonly also remove software such ...
1
vote
2answers
59 views

Can't install any packages with apt

I have big problem on my Debian 6 server. I can't install/uninstall any packages on my system. When I try install something I have error: You might want to run 'apt-get -f install' to correct these: ...
2
votes
1answer
29 views

Is there a command that outputs ONLY the packages explicitly installed by the user? (ubuntu/debian)

I have tried searching for this but there seems to be no command that can output a list of packages (ideally in Ubuntu) that I have installed, not including any dependencies.
1
vote
1answer
53 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
1answer
677 views

Error installing gdb-arm-linux-gnueabi

I get an error when I try to install the gdb-arm-linux-gnueabi package. This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi: $ env LC_ALL=C sudo apt-get install ...
0
votes
4answers
71 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 ...
2
votes
1answer
453 views

Can't Install netflix-desktop in Debian…Aptitude Has Unmet/Broken Dependencies

I'm trying to install the netflix-desktop package in Debian 'jessie'. I was able to get this to work on my laptop running Debian 'wheezy' a few months ago, but on my desktop I keep running into these ...
0
votes
0answers
45 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 ...
3
votes
1answer
72 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
2answers
441 views

Hard drive partition and updating trouble

I'm new to linux and am using Linux Mint 15 Olivia. I am running it alongside windows 7 and I want to increase the size of my current linux hard drive partition. I read somewhere that I should install ...
2
votes
1answer
33 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 ...
5
votes
1answer
877 views

Noninteractive script running over ssh is interrupted as apt-get finishes

When I run the following non interactive script on Ubuntu Server 13.04 it's interrupted when lxc-docker package finishes installation. Script : ssh -o StrictHostKeychecking=no -t -t -i $CERT ...
2
votes
3answers
38 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. ...
11
votes
3answers
3k 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
47 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 ...
0
votes
1answer
35 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 ...
2
votes
3answers
1k views

Why there is no https transport for debian apt tool?

With all paranoia that has come with NSA revelations and everything, I'm wondering why debian package installation mechanism does not support HTTPS for its transport, let alone using it by default. I ...
0
votes
2answers
1k 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 ...
1
vote
2answers
504 views

apt-get error: trying to overwrite shared 'filename', which is different from other instances of package 'package'

I tried installing several Ubuntu packages on Debian Wheezy, but it failed and now I have broken packages. The problem is, running apt-get -f install fails as well, with this error: Preparing to ...
0
votes
0answers
15 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 ...
2
votes
1answer
428 views

Why I was able to fix a broken package with aptitude but I could not with either apt-get or synaptic?

Yesterday I upgraded my Debian Testing and Audacious stopped to work. Troubleshooting I found that the problem was that it was updated to a recent version but the needed plugins were not. I tried to ...
0
votes
2answers
3k views

Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable

I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
0
votes
0answers
70 views

Authentication error with apt-get

I am trying to install CppCMS (A C++ network library) on my Debian computer. I have added the repository sources to sources.list file. When I run: $ sudo apt-get source cppcms I get the warning ...
5
votes
1answer
131 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 ...
27
votes
9answers
27k views

List available updates but do not install them

I want my cron-run reporting script to notify me in case there are updates for my packages. Is the a way to make apt-get give me the list of available updates but don't do anything more?
0
votes
1answer
4 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
52 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 ...
3
votes
4answers
3k 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?