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

learn more… | top users | synonyms (1)

1
vote
0answers
17 views

Ubuntu apt-get errors: “has no installation candidate” or “Unable to correct problems, you have held broken packages”

I've got 2 ubuntu VM's running on windows 8.1, one ubuntu 12.04 Server and one ubuntu 12.10 Desktop. I get errors with both when trying to install openssh-server (and other software): Server: sudo ...
2
votes
1answer
420 views

understanding the output of “apt-cache policy”

I ran apt-cache policy sudo before and after installing sudo: before install: # apt-cache policy sudo sudo: Installed: (none) Candidate: 1.8.5p2-1+nmu1 Version table: 1.8.5p2-1+nmu1 0 ...
0
votes
1answer
21 views

Force the download and reinstallation of all Debian packages

I have a Kali Linux installed recently, but due to its inflexible mirror selection, all deb packages are downloaded from a mirror that I don't trust. Is it possible to tell apt / dselect to ...
2
votes
1answer
335 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
1answer
473 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 ...
3
votes
1answer
84 views

Why “backporting process does not consider upstream releases”?

From http://opensourcehacker.com/2013/03/20/how-to-backport-packages-on-ubuntu-linux/ backportpackage will download the latest version of the package from Ubuntu archives. The latest ...
-2
votes
1answer
27 views

When will we use apt-get to download source? [on hold]

In what situation, will we like to use apt-get to download source? Can's we install from binary installation by apt-get too? If we are to install from source, can't we download source from its ...
2
votes
2answers
2k views

Debian Squeeze apt-get update issue with HWRAID repositories

I'm running an inherited Debian Squeeze server (read: I just got this new job and the server was setup by the last guy), and I'm having an issue on the apt-get. The error at the end that comes up when ...
1
vote
1answer
52 views

apt-get update reports that http://ppa.launchpad.net list is being updated but there isn't an entry in the sources.list

I am trying to update Debian 6.5 and get the following errors. Err http://ppa.launchpad.net wheezy/main Sources 404 Not Found Err http://ppa.launchpad.net wheezy/main amd64 Packages ...
1
vote
2answers
321 views

Debian Wheezy problem with packages and architectures

I recently installed Debian wheezy on my desktop PC. Here is the uname -a command: Linux devnet 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux Once the installation finished, I ...
0
votes
0answers
22 views

Obtaining error message using apt-get: “Unable to fetch some archives…” [on hold]

when i use sudo apt-get upgrade, I'm getting this message: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2
votes
1answer
25 views

apt pinning package versions

Is it possible to pin a version of a debian package? Is it possible to pin only the major version? (like with pip install "pyramid < 1.4.0" will install the latest 1.3.x but will not upgrade the ...
0
votes
0answers
18 views

How to cleanup apt-get update 404 errors in linux mint

I have looked at all questions about this matter and no one really answered it clearly. Is there a way to remove all the repositories that return a 404 error in apt-get? I tried fix404 ...
0
votes
1answer
31 views

How to minimize apt source.list

I think these lines can trim to few lines. So I need some advice. How can I improve these sources.list? apt/sources.list, Latest Debian release: deb http://security.debian.org/ wheezy/updates main ...
1
vote
1answer
29 views

Apt-get failing in bash script?

I have several machines (running Ubuntu LTS 12.4 64-bit) which need to be configured in the same way, so I created a shell script which will run automatically the first time the machine boots. It ...
1
vote
1answer
26 views

The pool cannot be imported, because is formatted using an incompatible version

I can't access my zfs pool on Debian as it's saying that my version is too old: root@Microknoppix:~# zpool import pool: WD_4TB id: 12726205736285302822 state: UNAVAIL status: The pool is ...
0
votes
1answer
26 views

cannot find php5-sqlrelay package

why i cannot find php5-sqlrelay package is there any issue with my update aptitude update Hit http://security.debian.org wheezy/updates Release.gpg Hit ...
1
vote
1answer
31 views

Can a .deb package remove other packages?

I'm trying to make a lightweight VM based on Xubuntu. I want to start with a stock Xubuntu installation and then remove any packages that I don't need. My concept is to build a .deb package that ...
4
votes
2answers
45 views

How to install a specific debian package

I want to install a particular version which is not available from apt-get utility but is available from https://packages.debian.org (like https://packages.debian.org/wheezy-backports/exfat-fuse for ...
1
vote
1answer
17 views

How can the integrity of Debian's debian-keyring package be verified?

I encountered a Debian machine that, when trying to update packages, threw the widely discussed "GPG error: http://security.debian.org wheezy/updates Release: The following signatures couldn't be ...
7
votes
2answers
3k views

How to make apt-get accept new config files in an unattended install of debian from Repo

I am writing a script for a unattended install of a package that is in our repo, it is a software package with one of Debian's marked config files. Is there any option that I can pass to ...
2
votes
4answers
153 views

How to recreate /var/lib/dpkg/status?

I have deleted some files around /var/lib/dpkg/, namely: /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/* I understand Debian uses these files to keep some information about ...
0
votes
1answer
52 views

E: Sub-process /usr/bin/dpkg returned an error code (2)

I wanted to install bluefish editor but I got this error. This is not the first error I got involving packages. I installed Linux Mint 17 two days ago and every time after a reboot there is some kind ...
1
vote
2answers
1k views

apt-get : no installation candidate for libxul-dev

When I'm installing libxul-dev I end with this error message: $ sudo apt-get install libxul-dev Reading package lists... Done Building dependency tree Reading state information... Done Package ...
0
votes
1answer
303 views

How to install non-outdated nvidia drivers using apt-get?

I tried using apt-get install nvidia-current after installation I got 280.13 version, which is not the latest version(290.10). so how can i force apt-get to download the latest driver? Edit: I'm ...
1
vote
2answers
31 views

Cannot install Firefox in Semplice Linux

I am using Semplice Linux in VMware on Windows 7. It works fine but I cannot install Firefox. Semplice Linux is based on Debian Sid (unstable branch) with an Openbox desktop. This is what I get ...
2
votes
1answer
34 views

How to change automatically installed package to intentionally intalled?

I'm using Debian Jessie. I'm installing some software Z from source. Installation instructions inform that it depends on Debian package X. I checked in aptitude and I have this package installed, but ...
2
votes
2answers
349 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
2answers
71 views

change location of the “lists” and “archives” folders

apt is using two locations to store downloaded packages and other files: /var/lib/apt/lists /var/cache/apt/archives These folders can get quite big, even when using apt-get clean regularly. My ...
1
vote
1answer
93 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 ...
55
votes
8answers
25k 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 ...
0
votes
1answer
54 views

dpkg cannot find ldconfig/start-stop-daemon in the PATH variable

I was trying to install bsd-mailx utility the package got installed however I am wondering about the error. This is the error I get: Preconfiguring packages ... dpkg: warning: 'ldconfig' not found ...
2
votes
2answers
1k 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: ...
2
votes
1answer
3k 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
1answer
2k views

shellshock solution for nexenta/solaris

I'm trying to solve the shellshock issue on my system: SunOS localhost 5.11 NexentaOS_134f i86pc i386 i86pc Solaris # bash --version GNU bash, version 3.2.48(1)-release (i386-pc-solaris2.11) ...
3
votes
1answer
443 views

How can I reverse the effect of apt-get build-dep <package>?

When I run: apt-get build-dep <package> privileged it installs the build dependencies for <package>. Now, I know that I can use apt-cache depends <package> to see binary ...
0
votes
2answers
1k 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
1answer
1k views

Debian 7: Add repository for gcc-4.8 and g++-4.8

I want to be able to sudo apt-add-repository with a ppa for gcc-4.8 and g++-4.8. I was able to do this on Ubuntu using (after adding the ppa) sudo apt-get install g++-4.8. So far I have been able to ...
2
votes
1answer
178 views

Gdm uninstallation fails (“pre-removal script returned error”)

I installed gdm on my vps and now I want to remove it but get this error: root@server2:/etc/init.d# apt-get remove gdm3 Reading package lists... Done Building dependency tree Reading state ...
2
votes
1answer
408 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 ...
2
votes
3answers
169 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?
0
votes
0answers
162 views

Sample /etc/apt/sources.list for Linux Mint 17

It seems my /etc/apt/sources.list file only has deb cdrom:[Linux Mint 17 Qiana - Release amd64 20140624]/ trusty contrib main non-free It might have got corrupted when I was trying to download ...
0
votes
2answers
28 views

checkinstall package conflicts with python

I'm trying to do a distribution upgrade from Debian 6 to 7 and am having some issues with some packages I created and installed with checkinstall. When doing the upgrade I get the following message: ...
2
votes
2answers
54 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 ...
1
vote
1answer
53 views

How to configure the MySQL APT repo on Ubuntu, on a non-interactive shell?

I want to install MySQL 5.7 on Travis CI, which runs Ubuntu 12 virtual machines. I'm willing to use the official MySQL APT repo: wget ...
0
votes
1answer
68 views

Unable to add PPA repository from terminal

I am trying to install ap-hotspot on Ubuntu-14.04 When I enter the command: sudo add-apt-repository ppa:nilarimogard/webupd8 It gives me this message "Cannot add PPA: ...
4
votes
4answers
3k views

How can I upgrade MySQL in Debian using apt-get?

I'm using the Turnkey Linux virtual machine. The version of Debian in there is apparently on the "Wheezy" upgrade path (if that's what you call it). I'm not completely comfortable with Linux, as you ...
0
votes
0answers
24 views

apt-get can't support https

On Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 I'm using Ansible (software to manage and configure machines) to install Passenger and copy the sources.list from another machine. To ...
5
votes
1answer
691 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 ...
0
votes
1answer
71 views

Unable to install package via APT

While attempting to install the package sw-nginx I encountered the following error messages: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/327 kB of archives. After ...