Tagged Questions

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

learn more… | top users | synonyms (1)

4
votes
1answer
59 views

How to find Debian packages that would free up the most space

Say I have a Debian machine where I would like to free up space on '/' by removing useless packages. To find good candidates of packages to review, I would like to focus my attention on the largest ...
4
votes
2answers
207 views

How to prevent prompt that ask to restart services when installing libpq-dev

I want to install libpq-dev on my Vagrant machine. I install it with $ apt-get install -y libpq-dev During installation a prompt appears which asks if it's allowed to restart some services ...
7
votes
3answers
5k views

archive.ubuntu.com missing raring-updates

My Linux Mint 15 install on VirtualBox was working great up until about two days ago, when the updater started throwing a ton of errors and refuses to progress with any apt-get update, apt-get ...
1
vote
2answers
264 views

Fix dependencies without updating package?

I updated my Debian installation at home and it updated chromium to the (IMO) awfull 35.0 version. I removed it by using apt-get remove chromium and apt-get autoremove. I went here and grabbed the ...
1
vote
1answer
26 views

APT pinning or faking the version number of my own package?

I'd like to create my own repository for personal use across a number of machines. Packages will be signed as usual and some of the packaged software will be the same as provided by the official ...
1
vote
1answer
118 views

apt-cache policy gimp libgegl-0.2-0

I have tried to install Gimp on my Ubuntu 14.04, but I encountered an error: root@vitor-pc:~# LANG=C apt-get -f install Reading package lists... Done Building dependency tree Reading state ...
1
vote
0answers
338 views

Installing mysql-workbench from the testing ppa (Jessie) in Wheezy

I would like to install some packages from the testing branch without switching to it if possible. The big packages are things like xfce4 and mysql-workbench. I've done this by making a testing.list ...
0
votes
0answers
32 views

Debian system: install specific packages from source automatically to boost the performance

On Debian /Ubuntu systems, how to set a list of packages which can be installed from sources automatically by apt-get or aptitude? The server is mainly for scientific computing and I would like to ...
1
vote
1answer
91 views

How do I make apt pick a certain package from a specific source?

I tried pinning the debian_testing source, but it's not really working (I want to pick version 0.10.29): Package: nodejs Pin: release a=debian_testing Pin-Priority: 1000 Here's the apt-cache ...
3
votes
0answers
228 views

Having some trouble authenticating via proxy in order to use apt-get successfully on a corporate network

Our server is on a corporate network, which requires corporate proxy authentication (e.g. enter corporate username and password). This is not an issue on the Windows machines on that network - when a ...
1
vote
2answers
85 views

can I get a list of the debian packages I installed AFTER the OS installation?

Extending this question, I would like to ask, if there is a general term that groups all the packages that I have installed POST debian installation? Mind you that for clarity purposes, I refer to ...
2
votes
2answers
518 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 ...
0
votes
1answer
205 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 ...
2
votes
1answer
4k 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
268 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 ...
3
votes
2answers
2k 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
votes
1answer
105 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
616 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 ...
11
votes
2answers
19k views

“E: Sub-process /usr/bin/dpkg returned an error code (1) ” What does this mean?

I've seen this message several times whenever someone has a problem installing, upgrading or removing some piece of software, but I wonder, what does it mean, and more importantly, how can I solve it? ...
1
vote
2answers
438 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
276 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 ...
1
vote
1answer
104 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
0answers
477 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
2answers
142 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 ...
0
votes
1answer
74 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
133 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
16 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 ...
4
votes
2answers
4k 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
847 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
44 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 ...
1
vote
0answers
701 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
49 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
107 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 ...
4
votes
1answer
94 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 ...
1
vote
1answer
74 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"); ...
2
votes
1answer
273 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 ...
1
vote
1answer
99 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
388 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
60 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 ...
7
votes
1answer
918 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
76 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
3answers
140 views

To which Debian package does /etc/nsswitch.conf belong?

I tried to find out to which package /etc/nsswitch.conf belongs on my Debian machine, but dpkg --search /etc/nsswitch.conf won't tell me. Does anyone know?
0
votes
1answer
184 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 ...
0
votes
2answers
2k 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: ...
2
votes
2answers
335 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 ...
3
votes
2answers
143 views

How to clone an apt repository to keep all old packages?

This may sound trivial, but I haven't found a solution anywhere yet. Is there a way to backup or clone an apt repository such that I get a clone that (1) contains all current packages and (2) keeps ...
1
vote
1answer
416 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
44 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
55 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 ...