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

learn more… | top users | synonyms (1)

23
votes
4answers
14k 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 ...
6
votes
2answers
3k views

Pacman option to assume “yes” to every question?

When installing software in debian systems we can put something like this: sudo apt-get install -y chromium-browser that way the installation occurs automatically, whitout asking to confirm ...
0
votes
1answer
64 views

Package installed as dependency is not removed with “apt-get autoremove”

I'm using LXDE and when I installed gnome-screensaver, it had a bunch of dependencies including pulseaudio. I then immediately uninstalled it with autoremove (no intermediate steps), but nothing of ...
-1
votes
1answer
75 views

Method bzip2 has died unexpectedly -Unable to update /upgrade /installl Ubuntu 14.04

Unable to update/upgrade/install Ubuntu 14.04, and it shows the below: Get:21 http://us.archive.ubuntu.com trusty/universe Translation-en [4,089 kB] E: Method bzip2 has died unexpectedly! E: ...
2
votes
2answers
263 views

Installing python gives dpkg error

Installing python gives a dpkg error. I have done these commands, output below $ sudo apt-get install python3.4 $ sudo dpkg -C $ sudo apt-get check $ apt-cache policy libglib2.0-dev $ sudo ...
2
votes
2answers
260 views

apt-get install doesn't install latest version of Owncloud Client

I'm trying to install the latest version of the Owncloud Client (owncloud-client) on a raspberry Pi running Raspbian Linux. When I just enter sudo apt-get install owncloud-client, I get version 1.2 ...
1
vote
1answer
1k 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 ...
-3
votes
4answers
160 views

How to install a downloaded deb file [closed]

I am new to Ubuntu and I am trying to install Compiz-Config-Manager, but it will not let me. This computer is not connected to the Internet, so I downloaded the .deb file onto a USB and transferred it ...
0
votes
1answer
865 views

Debian PowerBook G4 WiFi Driver

How do I get wifi to work on my powerbook g4 with xfce debian? I have tried sudo apt-get install bcm43xx-fwcutter but it comes up with E: Unable to locate package bcm43xx-fwcutter. What do I do?
0
votes
2answers
81 views

Can't install mintupdate 4.5.6-1 (Linux Mint 16)

I can't install mintupdate 4.5.6-1 under Linux Mint 16. When mintupdate tries to upgrade version 4.5.6 to version 4.5.6-1 the following error pops up: E: Could not open lock file ...
1
vote
2answers
4k views

MongoDB install errors / E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm trying to install things in Linux (Crunchbang Linux - a derivation of Debian), and I'm getting errors which point towards mongodb-20gen. When I try to remove it using :- cometbill@Linuxn00b:~$ ...
1
vote
1answer
40 views

Unattended upgrades and modified configuration files

We have the unattended-upgrades package upgrading our servers with security upgrades every Monday and it works great. Today though, it upgraded all of our servers with a new version of PHP5. Because ...
1
vote
1answer
82 views

Reading package lists…Error!

When I run sudo apt-get update I get this error: Reading package lists... Error! E: Unable to parse package file /var/lib/dpkg/status (1) E: The package lists or status file could not be parsed or ...
4
votes
5answers
207 views

Correlating filename with package

Say, I'm given a filename like libasound.so.2. Is there a way to query the package manager to correlate the filename with its corresponding package? I'm interested to get answers for any package ...
2
votes
0answers
166 views

Crunchbang/Debian apt-preferences

So I did manage to set up apt-preferences but I'm not sure if I did it correctly. So basically what I want is, if I have the need I want to install packages from TESTING, UNSTABLE and DEB-MULTIMEDIA ...
0
votes
1answer
57 views

How to remove unmet dependecies Debian 7 Wheezy

I'm trying to install different packages but it's showing unmet dependencies in most of them even after sudo apt-get -f install. Below is my /etc/apt/sources.list file: # # deb-src cdrom:[Debian ...
1
vote
0answers
70 views

PostgreSQL installation error in debian

I'm trying to install PgSql in the system with following specs: Distributor ID: Debian Description: Debian GNU/Linux 7.1 Release: 7.1 x86_64 But I am getting an error like this The ...
0
votes
1answer
15 views

Finding the latest version of package which doesn't require upgrading libc (on Debian)

When I try to upgrade packages using aptitude -t wheezy-backports, they often require newer libc than is installed. Proposed solutions remove hundreds of packages. Is there a way to request only the ...
54
votes
7answers
23k views

Convince apt-get *not* to use IPv6 method

The ISP I work at is setting up an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, several of the servers in this network now try to connect to ...
4
votes
2answers
2k views

Failure to startx on Ubuntu 14.04 after security update - missing libXfont.so.1

I had Ubuntu 14.04 running perfectly on my system and then it underwent a recommended security update. I let it update while I was at work and when I returned I found a black screen stating, "No init ...
0
votes
1answer
341 views

Unable to install a package, newer libc6 required

I was trying to install openvasv6 using instructions given here. I am using Debian Wheezy (amd64). $ sudo apt-get -y install greenbone-security-assistant openvas-cli openvas-manager openvas-scanner ...
1
vote
1answer
40 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
3
votes
1answer
485 views

Why can I only use apt-get when I use “su”?

Not sure what info you need here, if any. Just let me know. I have a proxy that bypasses the corporate net set in my profile file for both su and normal user. When I do a sudo or regular apt-get ...
1
vote
0answers
547 views

Apache 2.2, PHP 5.3 and MySQLl 5.5 on Linux Mint 17?

Our stack consists of Apache 2.2, PHP 5.3 and MySQL 5.5. I've installed Linux Mint 17 Giana. If I install apache2 via apt, it will install Apache 2.4 which is not required for me. Is there any way ...
0
votes
0answers
18 views

Failed packages list

I am planning to write a script to get the list of upgrades available on Ubuntu server and upgrade them. I can get the list of upgrades with "apt-get -s upgrade". But how to get a report on list of ...
4
votes
1answer
45 views

Issue installing OpenVPN via apt

Pastebin I wanted to install OpenVPN on my Debian Wheezy server at home, so I could create a tunnel with my phone or tablet from outside my home. We use OpenVPN at work, so I figured it would be easy ...
1
vote
1answer
82 views

Installing courier-mta causes sendmail to be installed instead

My Debian workstation will not install courier-mta. The command aptitude install courier-mta appears to complete without error, but actually installs sendmail instead. What I did I'll start without ...
6
votes
1answer
1k views

How to quickly create a local apt repository for random packages using a Debian based linux distribution?

Some situations call for manually installing a local package using dpkg -i <packagename>. Sometimes it may be further useful to leverage the functionality of apt with that package so the ...
2
votes
1answer
254 views

apt-get without installing recommendations for a certain package

I can edit /etc/apt/apt.conf and add the line: apt::install-recommends "false"; But that will always skip recommendations. How can I do this only once for the installation to a certain package ...
4
votes
1answer
84 views

Package management without the need of root permission

Am looking for a way to install packages in home folder. This thread suggests using apt-get source ./configure --prefix=$HOME However, it doesn't provide a way to manage dependencies like apt-get ...
2
votes
1answer
230 views

Why did this command delete every package?

I was trying to get a Windows program to run on PlayOnLinux and after it didn't work I went to remove Wine with this command: sudo apt-get remove --purge wine* and without thinking I agreed ...
5
votes
1answer
191 views

Download package via apt for another architecture

I am currently in a architecture amd64, so when I try apt-get download vlc, it downloaded the appropriate architecture for my system, but how can I download the i386 version via apt? It's for ...
1
vote
1answer
67 views

How to get “apt-get -y upgrade” within a PHP script to function as expected?

Yes, I'm aware of unattended-upgrade, but I don't like that package's limitations. I've got a PHP script that makes the following calls: ... system("/usr/bin/apt-get update"); ...
0
votes
2answers
42 views

Ubuntu use compiled package instead of apt-get

I have a compiled binary specifically sun Oracle java that I am using instead of Ubuntu`s apt-get version of java ( what ever it may be ). I am installing an apt-get package ( maven ) and would like ...
1
vote
1answer
93 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
1answer
164 views

How to remove emacs 23 related packages and leave installed emacs 24

I installed emacs 24 in Linux Mint 16, and want to uninstall emacs 23. I thought sudo apt-get remove emacs23 is enough, but it was not. This is my packages list relating emacs. $ sudo dpkg ...
0
votes
0answers
48 views

Linux mint parse error

I try too much method but still don't work. W: Failed to fetch gzip:/var/lib/apt/lists/partial/linux-mint.froonix.org_dists_olivia_main_binary-amd64_Packages Hash Sum mismatch W: Failed to fetch ...
2
votes
1answer
242 views

Could not perform immediate configuration on 'libstdc++6' on Nexenta

My original goal was setup service-network-ssh on Nexenta Illumos. As a result of the command apt-get install service-network-ssh I got the following message Reading package lists... Building ...
2
votes
2answers
199 views

dpkg won't install package with dependencies that have newer version

Please someone explain to me this, because it makes no sense: $ dpkg -i freeling-3.1-quantal-x86_64.deb Selecting previously unselected package freeling. (Reading database ... 283003 files and ...
2
votes
1answer
626 views

apt-show-versions - Maybe no deb entries [closed]

When installing Ajenti I get this error: Error: No information about packages! (Maybe no deb entries?) E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x ...
6
votes
1answer
691 views

When and why should I use apt-get update?

General question: Could some explain what the command apt-get update does and when I really should use it? Remarks Please give a detailed answer. Not just a copy of the man page, unless your ...
4
votes
1answer
51 views

How to list all aptitude user tags or the user tags for a package?

I'm in a bit of a pickle. Following my own counsel I started using user-tags when working on projects, but now I don't remember how I called some of these tags and this cancels their usefulness. Is ...
1
vote
1answer
43 views

How to search for Debian packages by tags?

At Debian's Packages page, one can search amongst the software available on Debian. In the package descriptions, they are categorized by tags, described here. For instance, the package [xterm][3] has ...
0
votes
1answer
114 views

Install a different version of Maven from the one provided by Ubuntu

I would like to install a package on Ubuntu 10.04.4 but would like to not use the one available in the one repository that I get when I do: apt-cache policy ${package} I would actually like to ...
4
votes
2answers
94 views

Manage local package repository

I just installed a fresh Waldorf (Crunchbang, Debian Wheezy-based) on a computer which has no Internet access. Previously on a Xubuntu 10.04 VM, what I did when I needed some software was: go to ...
6
votes
2answers
47k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
1
vote
1answer
146 views

apt-get script to update upgrade dist-upgrade clean and autoremove

I wrote this script, #!/bin/bash # if not root, run as root if (( $EUID != 0 )); then sudo /home/jb/bash/update.sh exit fi apt-get update apt-get -y upgrade apt-get -y dist-upgrade apt-get ...
0
votes
1answer
35 views

How to disable anti-aliasing in git-gui and gitk

After an upgrade to Tcl/Tk 8.5, git-gui and gitk are using anti-aliased fonts which look ugly on my display. I can select different fonts in the preferences dialog, but the fonts I was using before ...
1
vote
0answers
43 views

What does apt-get/aptitude do, when it “hangs”?

Everytime I install/remove something with apt-get or aptitude, it hangs for quite a few seconds after all operations (at least: all shown operations) have finished. After those few seconds (like 10 or ...
1
vote
1answer
224 views

How to pull dependencies for package/testing from testing

Trying to install a newer version of libav-tools from testing to my otherwise debian-stable installation. I have testing in my sources.list and my preferences look like: Package: * Pin: release ...